Class VirtualLocalFileDescriptor

    • Constructor Detail

      • VirtualLocalFileDescriptor

        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)
      • VirtualLocalFileDescriptor

        public VirtualLocalFileDescriptor​(java.lang.String path,
                                          AccessPermissions accessPermissions,
                                          boolean secured,
                                          boolean denied,
                                          boolean indexable,
                                          java.lang.String realPath,
                                          boolean createIfNotExists)
      • VirtualLocalFileDescriptor

        public VirtualLocalFileDescriptor​(java.lang.String path,
                                          AccessPermissions permissions,
                                          java.lang.String realPath,
                                          boolean createIfNotExists,
                                          PgpEncryption pgpEncryption)
        Creates a new descriptor instance.
        Parameters:
        path - the virtual path
        permissions - the file access permissions
        realPath - the real file path in local system
        createIfNotExists - create path if not exists
        pgpEncryption - PGP encryption
      • VirtualLocalFileDescriptor

        public VirtualLocalFileDescriptor​(java.lang.String path,
                                          AccessPermissions permissions,
                                          java.lang.String realPath,
                                          boolean createIfNotExists)
        Creates a new descriptor instance.
        Parameters:
        path - the virtual path
        permissions - the file access permissions
        realPath - the real file path in local system
        createIfNotExists - create path if not exists
      • VirtualLocalFileDescriptor

        public VirtualLocalFileDescriptor()
        Creates a new descriptor instance.
      • VirtualLocalFileDescriptor

        public VirtualLocalFileDescriptor​(VirtualLocalFileDescriptor that)
        Copy constructor.
        Parameters:
        that - the instance to copy
    • Method Detail

      • getRealPath

        public java.lang.String getRealPath()
        Returns real file path in local system.
        Returns:
        real file path
      • setRealPath

        public void setRealPath​(java.lang.String realPath)
        Sets real file path.
        Parameters:
        realPath - the real file path
      • getCreateIfNotExists

        public boolean getCreateIfNotExists()
        Gets whether directory should be created upon access if it does not exist.
        Returns:
        true to create directory, false otherwise
      • setCreateIfNotExists

        public void setCreateIfNotExists​(boolean value)
        Sets whether directory should be created upon access if it does not exist.
        Parameters:
        value - true to create directory, false otherwise
      • getPgpEncryption

        public PgpEncryption getPgpEncryption()
        Returns current PGP encryption state.
        Returns:
        current PGP encryption state
      • setPgpEncryption

        public void setPgpEncryption​(PgpEncryption pgpEncryption)
        Sets current PGP encryption state.
        Parameters:
        pgpEncryption - current PGP encryption state
      • getDataLossPrevention

        public com.jscape.inet.vfs.DataLossPrevention getDataLossPrevention()
        Returns data loss prevention.
        Returns:
        data loss prevention
      • setDataLossPrevention

        public void setDataLossPrevention​(com.jscape.inet.vfs.DataLossPrevention value)
        Sets data loss prevention.
        Parameters:
        value - data loss prevention
      • equals

        public boolean equals​(java.lang.Object o)
        Overrides:
        equals in class java.lang.Object
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object