|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.codehaus.cargo.container.internal.util.PropertyUtils
A class to convert properties to strings and back.
Method Summary | |
static java.util.Properties |
getDataSourceProperties(java.lang.String datasource)
Construct a Properties object from a single string, converting '|' symbols to end of line characters for parsing. |
static java.lang.String |
getDataSourceString(java.util.Properties properties)
Convert properties to a string representation. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
public static java.util.Properties getDataSourceProperties(java.lang.String datasource)
Example: "abc=def|car=bmw" gets converted to "abc" -> "def", and "car" -> "bmw"
datasource
- The string value to convert to properties, pipe separated
public static java.lang.String getDataSourceString(java.util.Properties properties)
properties
- A list of properties to convert
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |