Package digilib.meta

Class MetaFactory


  • public class MetaFactory
    extends Object
    Static factory for FileMeta and DirMeta implementations.
    Author:
    casties
    • Field Detail

      • logger

        protected static final org.slf4j.Logger logger
        Log4J logger
      • dirMetaClass

        protected static Class<? extends DirMeta> dirMetaClass
        DirMeta implementation class
      • fileMetaClass

        protected static Class<? extends FileMeta> fileMetaClass
        FileMeta implementation class
    • Constructor Detail

      • MetaFactory

        public MetaFactory()
    • Method Detail

      • getFileMetaInstance

        public static FileMeta getFileMetaInstance()
      • getDirMetaInstance

        public static DirMeta getDirMetaInstance()
      • setDirMetaClass

        public static void setDirMetaClass​(Class<? extends DirMeta> dirMetaClass)
        Parameters:
        dirMetaClass - the dirMetaClass to set
      • setFileMetaClass

        public static void setFileMetaClass​(Class<? extends FileMeta> fileMetaClass)
        Parameters:
        fileMetaClass - the fileMetaClass to set