|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.infoglue.deliver.util.Support
public class Support
A support class for nice static methods whoch could be used every where.
| Constructor Summary | |
|---|---|
Support()
|
|
| Method Summary | |
|---|---|
static java.util.Map |
convertTextToMap(java.lang.String text)
Converts a property like string to a map. |
static java.util.Map |
convertTextToMap(java.lang.String text,
java.lang.String propertyValueDelim,
java.lang.String rowDelim)
Converts a property like string to a map. |
static java.util.Map |
convertTextToProperties(java.lang.String text)
Converts (rather loads) an text String to a Properties object and returns it. |
static void |
main(java.lang.String[] args)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Support()
| Method Detail |
|---|
public static java.util.Map convertTextToMap(java.lang.String text)
text - the text to parse/convert
public static java.util.Map convertTextToMap(java.lang.String text,
java.lang.String propertyValueDelim,
java.lang.String rowDelim)
text - the text to parse/convertpropertyValueDelim - the delimiter between the property and value,
ie "="rowDelim - the row delimiter, normaly \n.
public static java.util.Map convertTextToProperties(java.lang.String text)
text - the text to convert into a Properties / Map object
public static void main(java.lang.String[] args)
args -
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||