|
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 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 accessPermissions,
boolean secured,
boolean denied,
boolean indexable,
java.lang.String realPath,
boolean createIfNotExists,
PgpEncryption pgpEncryption,
com.jscape.inet.vfs.DataLossPrevention dataLossPrevention)
|
|
VirtualLocalFileDescriptor(java.lang.String path,
AccessPermissions permissions,
java.lang.String realPath,
boolean createIfNotExists)
Creates a new descriptor instance. |
|
VirtualLocalFileDescriptor(java.lang.String path,
AccessPermissions permissions,
java.lang.String realPath,
boolean createIfNotExists,
PgpEncryption pgpEncryption)
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. |
com.jscape.inet.vfs.DataLossPrevention |
getDataLossPrevention()
Returns data loss prevention. |
PgpEncryption |
getPgpEncryption()
Returns current PGP encryption state. |
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 |
setDataLossPrevention(com.jscape.inet.vfs.DataLossPrevention value)
Sets data loss prevention. |
void |
setPgpEncryption(PgpEncryption pgpEncryption)
Sets current PGP encryption state. |
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, PgpEncryption pgpEncryption, com.jscape.inet.vfs.DataLossPrevention dataLossPrevention)
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, PgpEncryption pgpEncryption)
path
- the virtual pathpermissions
- the file access permissionsrealPath
- the real file path in local systemcreateIfNotExists
- create path if not existspgpEncryption
- PGP encryptionpublic 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 boolean getCreateIfNotExists()
public void setCreateIfNotExists(boolean value)
value
- true to create directory, false otherwisepublic PgpEncryption getPgpEncryption()
public void setPgpEncryption(PgpEncryption pgpEncryption)
pgpEncryption
- current PGP encryption statepublic com.jscape.inet.vfs.DataLossPrevention getDataLossPrevention()
public void setDataLossPrevention(com.jscape.inet.vfs.DataLossPrevention value)
value
- data loss preventionpublic 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 |