Package digilib.conf

Class DigilibConfiguration

    • Field Detail

      • logger

        protected static final org.slf4j.Logger logger
        SLF4J compatible logger
      • isLoggingConfigured

        protected static boolean isLoggingConfigured
      • propertiesFileName

        public static String propertiesFileName
        name of digilib properties file
    • Constructor Detail

      • DigilibConfiguration

        public DigilibConfiguration()
        Default constructor defines all parameters and their default values.
    • Method Detail

      • getClassVersion

        public static String getClassVersion()
        digilib version
        Returns:
        the version
      • getVersion

        public String getVersion()
      • readConfig

        public void readConfig()
        read parameters from properties file digilib.properties in class path.
      • setSpecialValueFromString

        protected boolean setSpecialValueFromString​(Parameter param,
                                                    String value)
        Set non-standard value in Parameter param. Returns true if successful.
        Parameters:
        param - the Parameter
        value - the value
        Returns:
        true if successful
      • configure

        public void configure()
        Configure digilib. Sets up Factories and Singletons using the configuration.
      • setupLogging

        protected void setupLogging()
        Initialize the logging implementation.
        Parameters:
        context -