Package com.sun.enterprise.universal
Class PropertiesDecoder
java.lang.Object
com.sun.enterprise.universal.PropertiesDecoder
- Author:
- Byron Nevins
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
PropertiesDecoder
public PropertiesDecoder()
-
-
Method Details
-
unflatten
There are several CLI commands that take properties arguments. The properties are "flattened". This class will unflatten them back into a Map for you.Example Input: foo=goo:xyz:hoo=ioo
Output would be 3 pairs:
- foo, goo
- xyz, null
- hoo, ioo
- Parameters:
props- The flattened string properties- Returns:
- A Map of the String keys and values. It will return an
-