Package digilib.meta

Class SimpleDirMeta

  • All Implemented Interfaces:
    DirMeta
    Direct Known Subclasses:
    CdstarArchiveMeta

    public class SimpleDirMeta
    extends Object
    implements DirMeta
    Minimal DirMeta implementation just holding a MetadataMap.
    Author:
    casties
    • Constructor Detail

      • SimpleDirMeta

        public SimpleDirMeta()
      • SimpleDirMeta

        public SimpleDirMeta​(MetadataMap meta)
    • Method Detail

      • readMeta

        public void readMeta​(DocuDirectory dir)
        Description copied from interface: DirMeta
        read and store metadata for this directory.
        Specified by:
        readMeta in interface DirMeta
        Parameters:
        dir - the DocuDirectory
      • checkMeta

        public void checkMeta​(DocuDirectory dir)
        Description copied from interface: DirMeta
        check and process metadata for this directory.
        Specified by:
        checkMeta in interface DirMeta
        Parameters:
        dir - the DocuDirectory
      • getDirMeta

        public MetadataMap getDirMeta()
        Description copied from interface: DirMeta
        returns metadata for this directory
        Specified by:
        getDirMeta in interface DirMeta
        Returns:
        the MetadataMap
      • setDirMeta

        public void setDirMeta​(MetadataMap dirMeta)
        Description copied from interface: DirMeta
        sets the metadata for this directory.
        Specified by:
        setDirMeta in interface DirMeta
        Parameters:
        dirMeta - the MetadataMap