|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface FileMetaDataAccessor
Interface which is able to set and read part of / all the filesystem's metadata.
Method Summary | |
---|---|
boolean |
ACLSupported()
Is the accessor able to handle ACL ? |
FileMetaData |
buildEmptyMetaData()
Return an empty instance of meta data |
boolean |
extendedAttributesSupported()
Is the accessor able to handle extended attributes ? |
java.lang.String |
getDescription()
Return a description of the accessor |
FileMetaData |
getMetaData(java.io.File file,
boolean onlyBasicData)
Return the meta data for the requested file |
FileMetaDataSerializer |
getMetaDataSerializer()
Return a FileMetaDataSerializer which is compatible with the metadata produced by this accessor. |
boolean |
isNonStandardFile(java.io.File file)
Is the file a non standard file (pipes, socket, block special files, ...) ? |
boolean |
isSymLink(java.io.File file)
Is the file a symbolic link ? |
boolean |
nonStandardFilesSupported()
Is the accessor able to distinguish between standard files / directories and non standard files (pipes, socket, block special files, ...) ? |
void |
setMetaData(java.io.File file,
FileMetaData mdt)
Set the file's meta data |
boolean |
symLinksSupported()
Is the accessor able to distinguish between standard files / directories and symbolic links ? |
boolean |
test()
Test whether the accessor is compatible with the current system or not. |
Method Detail |
---|
java.lang.String getDescription()
FileMetaDataSerializer getMetaDataSerializer()
FileMetaData getMetaData(java.io.File file, boolean onlyBasicData) throws java.io.IOException
java.io.IOException
FileMetaData buildEmptyMetaData()
void setMetaData(java.io.File file, FileMetaData mdt) throws java.io.IOException
java.io.IOException
boolean test()
boolean ACLSupported()
boolean extendedAttributesSupported()
boolean symLinksSupported()
boolean isSymLink(java.io.File file) throws java.io.IOException
java.io.IOException
boolean nonStandardFilesSupported()
boolean isNonStandardFile(java.io.File file) throws java.io.IOException
java.io.IOException
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |