org.richfaces.util

## Class PropertiesUtil

- java.lang.Object
- - org.richfaces.util.PropertiesUtil

-     public final class PropertiesUtil
      extends Object

  Author:
    Nick Belaevski

- - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `static boolean` | `loadProperties(Properties properties, String location)` Loads properties into provided properties object from all resources on given classpath location.
    `static Map<String,String>` | `loadProperties(String location)` Returns map with properties (key/value pairs) loaded from all resources on given classpath location.

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Method Detail

    - #### loadProperties

          public static boolean loadProperties(Properties properties,
                               String location)

      Loads properties into provided properties object from all resources on given classpath location.
      See Also:
        `loadProperties(String)`

    - #### loadProperties

          public static Map<String,String> loadProperties(String location)

      Returns map with properties (key/value pairs) loaded from all resources on given classpath location.
      See Also:
        `loadProperties(Properties, String)`

Copyright © 2015 JBoss by Red Hat. All Rights Reserved.