Class FileClassification
java.lang.Object
org.odpi.openmetadata.frameworks.governanceaction.fileclassifier.FileClassification
FileClassification holds the classification information for a specific file
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionReturn the asset type name.Return the deployed implementation type.Return the encoding of the file - may be nullReturn the file extension of the file.Return the short file name of the file.return the logical file type.Return the full pathname of the file.boolean
Is the file executable?boolean
Is the file readable?boolean
Is the file writable?boolean
isHidden()
Return whether this is a hidden file.boolean
Return whether is file/directory is a symbolic link.
-
Constructor Details
-
FileClassification
-
-
Method Details
-
getFileName
Return the short file name of the file.- Returns:
- string name
-
getPathName
Return the full pathname of the file.- Returns:
- string name
-
getFileExtension
Return the file extension of the file.- Returns:
- letters after the "dot"
-
getFileType
return the logical file type.- Returns:
- string name
-
getDeployedImplementationType
Return the deployed implementation type.- Returns:
- string name
-
getAssetTypeName
Return the asset type name.- Returns:
- string name
-
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
-