Package com.sun.corba.ee.spi.orb
Class PropertyParser
- java.lang.Object
-
- com.sun.corba.ee.spi.orb.PropertyParser
-
public class PropertyParser extends java.lang.Object
-
-
Field Summary
Fields Modifier and Type Field Description private java.util.List<ParserAction>
actions
-
Constructor Summary
Constructors Constructor Description PropertyParser()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description PropertyParser
add(java.lang.String propName, Operation action, java.lang.String fieldName)
PropertyParser
addPrefix(java.lang.String propName, Operation action, java.lang.String fieldName, java.lang.Class<?> componentType)
java.util.Iterator<ParserAction>
iterator()
java.util.Map<java.lang.String,java.lang.Object>
parse(java.util.Properties props)
Return a map from field name to value.
-
-
-
Field Detail
-
actions
private java.util.List<ParserAction> actions
-
-
Method Detail
-
add
public PropertyParser add(java.lang.String propName, Operation action, java.lang.String fieldName)
-
addPrefix
public PropertyParser addPrefix(java.lang.String propName, Operation action, java.lang.String fieldName, java.lang.Class<?> componentType)
-
parse
public java.util.Map<java.lang.String,java.lang.Object> parse(java.util.Properties props)
Return a map from field name to value.- Parameters:
props
- properties to convert- Returns:
- unsynchonized Map
-
iterator
public java.util.Iterator<ParserAction> iterator()
-
-