Class PropertyManager


  • public class PropertyManager
    extends Object
    Classes to manage the configuration orpoerties of the Dr. Inventor Text Mining Framework.
    • Constructor Detail

      • PropertyManager

        public PropertyManager()
    • Method Detail

      • loadProperties

        public static boolean loadProperties()
                                      throws InternalProcessingException
        Load the library property file. The path of the library property file is specified as a local absolute (without trailing slash, for instance /home/mydir/DRIresources/DRIconfig.properties)
        Returns:
        Throws:
        InternalProcessingException
      • setPropertyFilePath

        public static boolean setPropertyFilePath​(String filePath)
        Set the property file path
        Parameters:
        filePath -
        Returns:
      • getProperty

        public static String getProperty​(String propertyName)
        Retrieve a property from the library property file. The path of the library property file is specified as a local absolute (without trailing slash, for instance /home/mydir/DRIresources/DRIconfig.properties)
        Parameters:
        propertyName -
        Returns:
        Throws:
        InternalProcessingException