org.objectweb.util.monolog.file.monolog
Class MonologPropertiesIO
java.lang.Object
org.objectweb.util.monolog.file.monolog.MonologPropertiesIO
- public class MonologPropertiesIO
- extends java.lang.Object
Permit to read or write a java.util.Properties from an inputStream.
The interest of this implementation with regards to the
properties.load(InputStream) method is to sort the properties and to take
in account particularity of logging properties.
- Author:
- S.Chassande-Barrioz
Method Summary |
static java.util.Properties |
readProperties(java.io.InputStream is)
|
static void |
writeProperties(java.util.Properties props,
java.io.OutputStream os)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PROP_VAL_SEPS
public static final char[] PROP_VAL_SEPS
keywords
public static final java.lang.String[] keywords
MonologPropertiesIO
public MonologPropertiesIO()
writeProperties
public static void writeProperties(java.util.Properties props,
java.io.OutputStream os)
throws java.io.IOException
- Throws:
java.io.IOException
readProperties
public static java.util.Properties readProperties(java.io.InputStream is)
throws java.io.IOException
- Throws:
java.io.IOException