| Constructor and Description |
|---|
JSONSource() |
| Modifier and Type | Method and Description |
|---|---|
String |
getDTOasJSON(DtoBase dto) |
T |
getResult(org.codehaus.jackson.JsonParser jp,
Class clazz) |
T |
getResultFromFile(String filename,
Class clazz) |
T |
getResultFromStream(InputStream in,
Class clazz) |
T |
getResultFromString(String json,
Class clazz) |
public T getResultFromStream(InputStream in, Class clazz) throws IOException
IOExceptionpublic T getResultFromFile(String filename, Class clazz) throws IOException
IOExceptionpublic T getResultFromString(String json, Class clazz) throws IOException
IOExceptionpublic T getResult(org.codehaus.jackson.JsonParser jp, Class clazz) throws IOException
IOExceptionpublic String getDTOasJSON(DtoBase dto) throws IOException
IOExceptionCopyright © 2013. All Rights Reserved.