|
JSCAPE MFT Server | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.jscape.inet.vfs.VirtualFileDescriptor<VirtualLocalFileDescriptor.Handler>
com.jscape.inet.vfs.VirtualLocalFileDescriptor
public final class VirtualLocalFileDescriptor
Contains information about local file.
Nested Class Summary | |
---|---|
static interface |
VirtualLocalFileDescriptor.Handler
|
Nested classes/interfaces inherited from class com.jscape.inet.vfs.VirtualFileDescriptor |
---|
VirtualFileDescriptor.HandlerBase |
Constructor Summary | |
---|---|
VirtualLocalFileDescriptor()
Creates a new descriptor instance. |
|
VirtualLocalFileDescriptor(java.lang.String path,
AccessPermissions accessPermissions,
boolean secured,
boolean denied,
boolean indexable,
java.lang.String realPath,
boolean createIfNotExists)
|
|
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 | |
---|---|
void |
accept(VirtualLocalFileDescriptor.Handler handler)
|
VirtualLocalFileDescriptor |
copy()
|
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. |
java.lang.String |
toString()
|
Methods inherited from class com.jscape.inet.vfs.VirtualFileDescriptor |
---|
getAccessPermissions, getPath, isDenied, isIndexable, isSecured, setAccessPermissions, setDenied, setIndexable, setPath, setSecured |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public VirtualLocalFileDescriptor(java.lang.String path, AccessPermissions accessPermissions, boolean secured, boolean denied, boolean indexable, java.lang.String realPath, boolean createIfNotExists)
public 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 existspublic VirtualLocalFileDescriptor()
public VirtualLocalFileDescriptor(VirtualLocalFileDescriptor that)
that
- the instance to copyMethod Detail |
---|
public void accept(VirtualLocalFileDescriptor.Handler handler) throws java.lang.Exception
accept
in class VirtualFileDescriptor<VirtualLocalFileDescriptor.Handler>
java.lang.Exception
public VirtualLocalFileDescriptor copy()
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 java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public java.lang.String toString()
toString
in class VirtualFileDescriptor<VirtualLocalFileDescriptor.Handler>
|
JSCAPE MFT Server | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |