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, stringPropertyNames
clear, 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, values
public UTF8Properties(Properties p)
public UTF8Properties()
public void load(InputStream in, File file, Reporter reporter) throws IOException
IOException
public void load(String source, File file, Reporter reporter) throws IOException
IOException
public void load(InputStream in) throws IOException
load
in class Properties
IOException
public void load(Reader r) throws IOException
load
in class Properties
IOException
public void store(OutputStream out, String msg) throws IOException
store
in class Properties
IOException
public void store(Writer out, String msg) throws IOException
store
in class Properties
IOException
public void store(OutputStream out) throws IOException
IOException
public UTF8Properties replaceAll(String pattern, String replacement)
Copyright © 2021 aQute SARL. All rights reserved.