Package digilib.meta
Interface FileMeta
-
- All Known Implementing Classes:
CdstarFileMeta
,IndexMetaFileMeta
,SimpleFileMeta
public interface FileMeta
Interface for file-based metadata.- Author:
- casties
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
checkMeta(DocuDirent file)
check and process metadata for this file.MetadataMap
getFileMeta()
returns a MetadataMap with metadata for this File.void
readMeta(DocuDirent file)
read and store metadata for this file.void
setFileMeta(MetadataMap fileMeta)
set metadata for this file.
-
-
-
Method Detail
-
readMeta
void readMeta(DocuDirent file)
read and store metadata for this file.- Parameters:
file
- the DocuDirent
-
checkMeta
void checkMeta(DocuDirent file)
check and process metadata for this file.- Parameters:
file
- the DocuDirent
-
getFileMeta
MetadataMap getFileMeta()
returns a MetadataMap with metadata for this File.- Returns:
- the MetadataMap
-
setFileMeta
void setFileMeta(MetadataMap fileMeta)
set metadata for this file.- Parameters:
fileMeta
- the MetadataMap
-
-