|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.joda.beans.ser.map.JodaBeanSimpleMapReader
public class JodaBeanSimpleMapReader
Provides the ability for a Joda-Bean to read from a JSON-like in memory Map.
The format is defined by JodaBeanSimpleMapWriter.
This class contains mutable state and cannot be used from multiple threads. A new instance must be created for each message.
| Constructor Summary | |
|---|---|
JodaBeanSimpleMapReader(JodaBeanSer settings)
Creates an instance. |
|
| Method Summary | ||
|---|---|---|
|
read(Map<String,Object> input,
Class<T> rootType)
Reads and parses to a bean. |
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public JodaBeanSimpleMapReader(JodaBeanSer settings)
settings - the settings, not null| Method Detail |
|---|
public <T> T read(Map<String,Object> input,
Class<T> rootType)
T - the root typeinput - the input string, not nullrootType - the root type, not null
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||