public class VirtualLocalFileDescriptor extends VirtualFileDescriptor<VirtualLocalFileDescriptor.Handler>
| Modifier and Type | Class and Description |
|---|---|
static interface |
VirtualLocalFileDescriptor.Handler |
VirtualFileDescriptor.HandlerBase| Constructor and Description |
|---|
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.
|
| Modifier and Type | Method and Description |
|---|---|
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() |
getAccessPermissions, getPath, isDenied, isIndexable, isSecured, setAccessPermissions, setDenied, setIndexable, setPath, setSecuredpublic 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 copypublic void accept(VirtualLocalFileDescriptor.Handler handler) throws java.lang.Exception
accept in class VirtualFileDescriptor<VirtualLocalFileDescriptor.Handler>java.lang.Exceptionpublic VirtualLocalFileDescriptor copy()
copy in class VirtualFileDescriptor<VirtualLocalFileDescriptor.Handler>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.Objectpublic int hashCode()
hashCode in class java.lang.Objectpublic java.lang.String toString()
toString in class VirtualFileDescriptor<VirtualLocalFileDescriptor.Handler>Copyright © 2009-2023. Redwood Software Inc. All rights reserved.