📄 networkplace.java
字号:
package com.sslexplorer.vfs;
import com.sslexplorer.policyframework.Resource;
/**
* <p>
* Implementation of {@link com.sslexplorer.policyframework.Resource} for a
* network place on a number of different Mounts. i.e. ftp, local files, network
* resources.
*
* @author James D Robinson <a href="mailto:james@3sp.com"><james@3sp.com></a>
*
*/
public interface NetworkPlace extends Resource {
/**
* Hidden
*/
public final static int TYPE_HIDDEN = 1;
/**
* Normal
*/
public final static int TYPE_NORMAL = 0;
/**
* @return The NetworkPlace's uri.
*/
public String getUri();
/**
* @param uri The NetworkPlace's uri.
*/
public void setUri(String uri);
/**
* @return The Type of file, Hidden or Normal
*/
public int getType();
/**
* @return Weather the resource can have its folders accessable.
*/
public boolean isAllowResursive();
/**
* @param allowResursive Weather the resource can have its folders accessable.
*/
public void setAllowResursive(boolean allowResursive);
/**
* @return Weather the resource does not allow deletion.
*/
public boolean isNoDelete();
/**
* @param noDelete Weather the resource does not allow deletion.
*/
public void setNoDelete(boolean noDelete);
/**
* @return Weather the resource is read only.
*/
public boolean isReadOnly();
/**
* @param readOnly Weather the resource is read only.
*/
public void setReadOnly(boolean readOnly);
/**
* @return Weather the resource shows hidden files.
*/
public boolean isShowHidden();
/**
* @param showHidden Weather the resource shows hidden files.
*/
public void setShowHidden(boolean showHidden);
/**
* Get the scheme to use for the path. This will determine what
* store will be used
*
* @return scheme name
*/
public String getScheme();
/**
* Set the scheme portion to use for the path. This will determine what
* store will be used
*
* @param scheme scheme
*/
public void setScheme(String scheme);
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -