java.lang.Object
org.odpi.openmetadata.frameworks.governanceaction.fileclassifier.FileClassification

public class FileClassification extends Object
FileClassification holds the classification information for a specific file
  • Constructor Details

    • FileClassification

      public FileClassification(String fileName, String pathName, String fileExtension, boolean canRead, boolean canWrite, boolean canExecute, boolean isHidden, boolean isSymLink, String fileType, String deployedImplementationType, String encoding, String assetTypeName)
  • Method Details

    • getFileName

      public String getFileName()
      Return the short file name of the file.
      Returns:
      string name
    • getPathName

      public String getPathName()
      Return the full pathname of the file.
      Returns:
      string name
    • getFileExtension

      public String getFileExtension()
      Return the file extension of the file.
      Returns:
      letters after the "dot"
    • getFileType

      public String getFileType()
      return the logical file type.
      Returns:
      string name
    • getDeployedImplementationType

      public String getDeployedImplementationType()
      Return the deployed implementation type.
      Returns:
      string name
    • getAssetTypeName

      public String getAssetTypeName()
      Return the asset type name.
      Returns:
      string name
    • getEncoding

      public String getEncoding()
      Return the encoding of the file - may be null
      Returns:
      encoding standard
    • isCanRead

      public boolean isCanRead()
      Is the file readable?
      Returns:
      boolean
    • isCanWrite

      public boolean isCanWrite()
      Is the file writable?
      Returns:
      boolean
    • isCanExecute

      public boolean isCanExecute()
      Is the file executable?
      Returns:
      boolean
    • isHidden

      public boolean isHidden()
      Return whether this is a hidden file.
      Returns:
      boolean
    • isSymLink

      public boolean isSymLink()
      Return whether is file/directory is a symbolic link.
      Returns:
      boolean