public class UTF8Properties
extends java.util.Properties
This class can (and probably should) be used anywhere a Properties class is used.
| Constructor and Description |
|---|
UTF8Properties() |
UTF8Properties(java.util.Properties p) |
| Modifier and Type | Method and Description |
|---|---|
void |
load(java.io.File file,
Reporter reporter) |
void |
load(java.io.InputStream in) |
void |
load(java.io.InputStream in,
java.io.File file,
Reporter reporter) |
void |
load(java.io.Reader r) |
void |
load(java.lang.String source,
java.io.File file,
Reporter reporter) |
UTF8Properties |
replaceAll(java.lang.String pattern,
java.lang.String replacement)
Replace a string in all the values.
|
void |
store(java.io.OutputStream out) |
void |
store(java.io.OutputStream out,
java.lang.String msg) |
void |
store(java.io.Writer out,
java.lang.String msg) |
getProperty, getProperty, list, list, loadFromXML, propertyNames, save, setProperty, storeToXML, storeToXML, stringPropertyNamespublic UTF8Properties(java.util.Properties p)
public UTF8Properties()
public void load(java.io.InputStream in,
java.io.File file,
Reporter reporter)
throws java.io.IOException
java.io.IOExceptionpublic void load(java.lang.String source,
java.io.File file,
Reporter reporter)
throws java.io.IOException
java.io.IOExceptionpublic void load(java.io.File file,
Reporter reporter)
throws java.lang.Exception
java.lang.Exceptionpublic void load(java.io.InputStream in)
throws java.io.IOException
load in class java.util.Propertiesjava.io.IOExceptionpublic void load(java.io.Reader r)
throws java.io.IOException
load in class java.util.Propertiesjava.io.IOExceptionpublic void store(java.io.OutputStream out,
java.lang.String msg)
throws java.io.IOException
store in class java.util.Propertiesjava.io.IOExceptionpublic void store(java.io.Writer out,
java.lang.String msg)
throws java.io.IOException
store in class java.util.Propertiesjava.io.IOExceptionpublic void store(java.io.OutputStream out)
throws java.io.IOException
java.io.IOExceptionpublic UTF8Properties replaceAll(java.lang.String pattern, java.lang.String replacement)
Copyright (c) aQute SARL (2000, 2017) and others. All Rights Reserved.