|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.jscape.inet.vfs.VirtualFileDescriptor
com.jscape.inet.vfs.VirtualLocalFileDescriptor
public final class VirtualLocalFileDescriptor
Contains information about local file.
Constructor Summary | |
---|---|
VirtualLocalFileDescriptor()
Creates a new descriptor instance. |
|
VirtualLocalFileDescriptor(java.lang.String path,
AccessPermissions permissions,
java.lang.String realPath,
boolean createIfNotExists)
Creates a new descriptor instance. |
|
VirtualLocalFileDescriptor(VirtualLocalFileDescriptor that)
Copy constructor. |
Method Summary | |
---|---|
boolean |
equals(java.lang.Object o)
|
boolean |
getCreateIfNotExists()
Gets whether directory should be created upon access if it does not exist. |
java.lang.String |
getName()
Returns resource name. |
java.lang.String |
getRealPath()
Returns real file path in local system. |
int |
hashCode()
|
void |
setCreateIfNotExists(boolean value)
Sets whether directory should be created upon access if it does not exist. |
void |
setRealPath(java.lang.String realPath)
Sets real file path. |
Methods inherited from class com.jscape.inet.vfs.VirtualFileDescriptor |
---|
getAccessPermissions, getPath, isDenied, isSecured, setAccessPermissions, setDenied, setPath, setSecured |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public VirtualLocalFileDescriptor()
public VirtualLocalFileDescriptor(VirtualLocalFileDescriptor that)
that
- the instance to copypublic VirtualLocalFileDescriptor(java.lang.String path, AccessPermissions permissions, java.lang.String realPath, boolean createIfNotExists)
path
- the virtual pathpermissions
- the file access permissionsrealPath
- the real file path in local systemcreateIfNotExists
- create path if not existsMethod Detail |
---|
public java.lang.String getRealPath()
public void setRealPath(java.lang.String realPath)
realPath
- the real file pathpublic java.lang.String getName()
public boolean getCreateIfNotExists()
public void setCreateIfNotExists(boolean value)
value
- true to create directory, false otherwisepublic boolean equals(java.lang.Object o)
equals
in class VirtualFileDescriptor
public int hashCode()
hashCode
in class VirtualFileDescriptor
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |