- <init>
Constructs a PropertiesUtil using a given Properties object as its source of
defined properties.
- getProperties
Returns the PropertiesUtil used by Log4j.
- getCharsetProperty
Gets the named property as a Charset value. If we cannot find the named Charset,
see if it is mapped
- getStringProperty
Gets the named property as a String.
- getBooleanProperty
Gets the named property as a boolean value.
- getIntegerProperty
Gets the named property as an integer.
- extractSubset
Extracts properties that start with or are equals to the specific prefix and
returns them in a new P
- loadClose
Loads and closes the given property input stream. If an error occurs, log to the
status logger.
- partitionOnCommonPrefixes
Partitions a properties map based on common key prefixes up to the first period.
- getLongProperty
Gets the named property as a long.
- getSystemProperties
Return the system properties or an empty Properties object if an error occurs.
- isOsWindows
Returns true if system properties tell us we are running on Windows.