| Constructor and Description |
|---|
JSONSource() |
| Modifier and Type | Method and Description |
|---|---|
String |
getDTOasJSON(DtoBase dto) |
T |
getResultFromFile(String filename,
Class clazz) |
T |
getResultFromStream(InputStream in,
Class clazz) |
public T getResultFromStream(InputStream in, Class clazz) throws IOException
IOExceptionpublic T getResultFromFile(String filename, Class clazz) throws IOException
IOExceptionpublic String getDTOasJSON(DtoBase dto) throws IOException
IOExceptionCopyright © 2012. All Rights Reserved.