|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.wiki.htmltowiki.PropertiesUtils
public final class PropertiesUtils

some usefull methods for properties
| Method Summary | |
|---|---|
static String |
saveConvert(String string,
boolean encodeWhiteSpace)
Encodes a property file string from a supplied key/value line. |
static String |
toLine(String key,
String value)
Generates a property file line from a supplied key and value. |
static String |
toSortedString(Properties properties)
like Properties.store, but stores the properties in sorted order |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static String toSortedString(Properties properties)
like Properties.store, but stores the properties in sorted order
properties - the properties object
public static String toLine(String key,
String value)
key - the property's keyvalue - the property's value
public static String saveConvert(String string,
boolean encodeWhiteSpace)
string - the string to encodeencodeWhiteSpace - true if whitespace should be encoded also
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||