Class FSBFileNode

  • All Implemented Interfaces:
    java.lang.Cloneable, java.lang.Comparable<GTreeNode>
    Direct Known Subclasses:
    FSBDirNode

    public class FSBFileNode
    extends FSBNode
    GTreeNode that represents a file on a filesystem.
    • Field Detail

      • file NEW

        protected GFile file
      • isEncrypted NEW

        protected boolean isEncrypted
      • hasPassword NEW

        protected boolean hasPassword

Method Detail

  • isEncrypted NEW

    public boolean isEncrypted()
    Local copy of the original GFile's FileAttributeType.IS_ENCRYPTED_ATTR attribute.
    Returns:
    boolean true if file needs a password to be read
  • hasPassword NEW

    public boolean hasPassword()
    Local copy of the original GFile's FileAttributeType.HAS_GOOD_PASSWORD_ATTR attribute.
    Returns:
    boolean true if a password for the file has been found, false if missing the password
  • hasMissingPassword NEW

    public boolean hasMissingPassword()
    Returns true if this file is missing its password
    Returns:
    boolean true if this file is missing its password
  • needsFileAttributesUpdate NEW

    public boolean needsFileAttributesUpdate​(TaskMonitor monitor)
    Returns true if this node's password status has changed, calling for a complete refresh of the status of all files in the file system.
    Parameters:
    monitor - TaskMonitor
    Returns:
    boolean true if this nodes password status has changed