Package digilib.meta
Interface FileMeta
- All Known Implementing Classes:
CdstarFileMeta
,IndexMetaFileMeta
,SimpleFileMeta
public interface FileMeta
Interface for file-based metadata.
- Author:
- casties
-
Method Summary
Modifier and TypeMethodDescriptionvoid
checkMeta
(DocuDirent file) check and process metadata for this file.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 Details
-
readMeta
read and store metadata for this file.- Parameters:
file
- the DocuDirent
-
checkMeta
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
set metadata for this file.- Parameters:
fileMeta
- the MetadataMap
-