public class FormattedProperties extends Object
| Constructor and Description |
|---|
FormattedProperties() |
| Modifier and Type | Method and Description |
|---|---|
String |
getProperty(String key) |
String |
getProperty(String key,
String defaultValue) |
void |
read(InputStream inputStream)
Read in the properties from the given stream.
|
void |
removeProperty(String key) |
void |
save(OutputStream outputStream) |
void |
setProperty(String key,
String value) |
void |
setPropertyAfter(String key,
String value,
String afterProperty) |
public void removeProperty(String key)
public void read(InputStream inputStream) throws IOException
inputStream - the stream to read fromIOException - if there is a problem reading the streampublic void save(OutputStream outputStream)
Copyright © 2006-2013 Codehaus. All Rights Reserved.