Class PropertiesHandler

java.lang.Object
adalid.commons.properties.PropertiesHandler

public class PropertiesHandler extends Object
Author:
Jorge Campins
  • Constructor Details

    • PropertiesHandler

      public PropertiesHandler()
  • Method Details

    • missingBootstrappingProperties

      public static boolean missingBootstrappingProperties()
    • getPrivateProperties

      public static org.apache.commons.collections.ExtendedProperties getPrivateProperties()
    • getResourceAsProperties

      public static Properties getResourceAsProperties(String resource)
    • getResourceAsProperties

      public static Properties getResourceAsProperties(String resource, org.apache.log4j.Level badFileLogLevel)
    • getResourceAsProperties

      public static Properties getResourceAsProperties(String resource, org.apache.log4j.Level badFileLogLevel, org.apache.log4j.Level goodFileLogLevel)
    • getResourceAsExtendedProperties

      public static org.apache.commons.collections.ExtendedProperties getResourceAsExtendedProperties(String resource)
    • getResourceAsExtendedProperties

      public static org.apache.commons.collections.ExtendedProperties getResourceAsExtendedProperties(String resource, org.apache.log4j.Level badFileLogLevel)
    • getResourceAsExtendedProperties

      public static org.apache.commons.collections.ExtendedProperties getResourceAsExtendedProperties(String resource, org.apache.log4j.Level badFileLogLevel, org.apache.log4j.Level goodFileLogLevel)
    • getResourceBundleKeys

      public static Set<String> getResourceBundleKeys(String baseName, Locale locale)
    • getResourceBundleRows

      public static List<String> getResourceBundleRows(String baseName, Locale locale)
    • getBootstrapping

      public static org.apache.commons.collections.ExtendedProperties getBootstrapping()
      Returns:
      the bootstrapping properties
    • getVelocityProperties

      public static Properties getVelocityProperties()
    • getVelocitySupplementaryProperties

      public static Properties getVelocitySupplementaryProperties()
    • loadProperties

      public static Properties loadProperties(String filename)
    • loadProperties

      public static Properties loadProperties(String filename, boolean sortedKeys)
    • loadProperties

      public static Properties loadProperties(String filename, boolean sortedKeys, org.apache.log4j.Level badFileLogLevel)
    • loadProperties

      public static Properties loadProperties(File file)
    • loadProperties

      public static Properties loadProperties(File file, boolean sortedKeys)
    • loadProperties

      public static Properties loadProperties(File file, boolean sortedKeys, org.apache.log4j.Level badFileLogLevel)
    • loadProperties

      public static Properties loadProperties(byte[] buffer)
    • loadProperties

      public static Properties loadProperties(byte[] buffer, boolean sortedKeys)
    • loadProperties

      public static Properties loadProperties(ResourceBundle bundle)
    • loadProperties

      public static Properties loadProperties(ResourceBundle bundle, boolean sortedKeys)
    • storeProperties

      public static void storeProperties(Properties properties, String filename)
    • storeProperties

      public static void storeProperties(Properties properties, String filename, String comments)
    • storeProperties

      public static void storeProperties(Properties properties, String filename, String comments, String lineSeparator)
    • storeProperties

      public static void storeProperties(Properties properties, File file)
    • storeProperties

      public static void storeProperties(Properties properties, File file, String comments)
    • storeProperties

      public static void storeProperties(Properties properties, File file, String comments, String lineSeparator)
    • printProperties

      public static void printProperties(Properties properties)
    • getExtendedProperties

      public static org.apache.commons.collections.ExtendedProperties getExtendedProperties(String filename)
    • getExtendedProperties

      public static org.apache.commons.collections.ExtendedProperties getExtendedProperties(String... filename)
    • getExtendedProperties

      public static org.apache.commons.collections.ExtendedProperties getExtendedProperties(String filename, org.apache.log4j.Level badFileLogLevel)
    • getExtendedProperties

      public static org.apache.commons.collections.ExtendedProperties getExtendedProperties(String filename, org.apache.log4j.Level badFileLogLevel, org.apache.log4j.Level goodFileLogLevel)
    • getExtendedProperties

      public static org.apache.commons.collections.ExtendedProperties getExtendedProperties(File file)
    • getExtendedProperties

      public static org.apache.commons.collections.ExtendedProperties getExtendedProperties(File file, org.apache.log4j.Level badFileLogLevel)
    • getExtendedProperties

      public static org.apache.commons.collections.ExtendedProperties getExtendedProperties(File file, org.apache.log4j.Level badFileLogLevel, org.apache.log4j.Level goodFileLogLevel)
    • getExtendedProperties

      public static org.apache.commons.collections.ExtendedProperties getExtendedProperties(byte[] buffer)
    • printExtendedProperties

      public static void printExtendedProperties(org.apache.commons.collections.ExtendedProperties extendedProperties)
    • getPreferredFileEncoding

      public static Charset getPreferredFileEncoding()
    • getRootFolder

      public static File getRootFolder()
    • getVelocityFolders

      public static File[] getVelocityFolders()
    • getVelocityPropertiesFile

      public static File getVelocityPropertiesFile()
    • getVelocitySupplementaryPropertiesFile

      public static File getVelocitySupplementaryPropertiesFile()
    • getPlatformsFolders

      public static File[] getPlatformsFolders()