public class UTF8Properties extends Properties
This class can (and probably should) be used anywhere a Properties class is used.
defaults| Constructor and Description |
|---|
UTF8Properties() |
UTF8Properties(Properties p) |
| Modifier and Type | Method and Description |
|---|---|
void |
load(File file,
Reporter reporter) |
void |
load(InputStream in) |
void |
load(InputStream in,
File file,
Reporter reporter) |
void |
load(Reader r) |
void |
load(String source,
File file,
Reporter reporter) |
UTF8Properties |
replaceAll(String pattern,
String replacement)
Replace a string in all the values.
|
void |
store(OutputStream out) |
void |
store(OutputStream out,
String msg) |
void |
store(Writer out,
String msg) |
getProperty, getProperty, list, list, loadFromXML, propertyNames, save, setProperty, storeToXML, storeToXML, stringPropertyNamesclear, clone, compute, computeIfAbsent, computeIfPresent, contains, containsKey, containsValue, elements, entrySet, equals, forEach, get, getOrDefault, hashCode, isEmpty, keys, keySet, merge, put, putAll, putIfAbsent, rehash, remove, remove, replace, replace, replaceAll, size, toString, valuespublic UTF8Properties(Properties p)
public UTF8Properties()
public void load(InputStream in, File file, Reporter reporter) throws IOException
IOExceptionpublic void load(String source, File file, Reporter reporter) throws IOException
IOExceptionpublic void load(InputStream in) throws IOException
load in class PropertiesIOExceptionpublic void load(Reader r) throws IOException
load in class PropertiesIOExceptionpublic void store(OutputStream out, String msg) throws IOException
store in class PropertiesIOExceptionpublic void store(Writer out, String msg) throws IOException
store in class PropertiesIOExceptionpublic void store(OutputStream out) throws IOException
IOExceptionpublic UTF8Properties replaceAll(String pattern, String replacement)
Copyright © 2019 aQute SARL. All rights reserved.