Class PluginPropertiesLoader


  • public class PluginPropertiesLoader
    extends java.lang.Object
    Plugin Messages Helper for Logbooks
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static java.lang.String getString​(java.lang.String message)  
      static void loadProperties​(java.lang.String handlerID, java.lang.String propertyFilename)
      loadProperties from handler Id and properties file
      static void loadProperties​(java.lang.String handlerID, java.lang.String propertyFilename, java.lang.ClassLoader urlClassLoader)
      loadProperties from handler Id and properties file using a given classLoader
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • loadProperties

        public static void loadProperties​(java.lang.String handlerID,
                                          java.lang.String propertyFilename)
        loadProperties from handler Id and properties file
        Parameters:
        handlerID - the handler id to load
        propertyFilename - the property file name
      • loadProperties

        public static void loadProperties​(java.lang.String handlerID,
                                          java.lang.String propertyFilename,
                                          java.lang.ClassLoader urlClassLoader)
        loadProperties from handler Id and properties file using a given classLoader
        Parameters:
        handlerID -
        propertyFilename -
        urlClassLoader -
      • getString

        public static final java.lang.String getString​(java.lang.String message)
        Parameters:
        message - the message id to get from resource map
        Returns:
        message detail