Package | Description |
---|---|
fr.pcreations.labs.RESTDroid.core |
Modifier and Type | Method and Description |
---|---|
protected <R extends Resource> |
Processor.parseToInputStream(R resource)
Shortcut to parse an instance of
ResourceRepresentation to InputStream from Processor via retrieving the Parser thanks to ParserFactory |
java.io.InputStream |
Parser.parseToInputStream(T resource)
Use this method to return InputStream parsed from
ResourceRepresentation |
T |
Parser.parseToObject(java.io.InputStream content)
Use this method to return parsed
ResourceRepresentation from InputStream |
protected <R extends Resource> |
Processor.parseToObject(java.io.InputStream content,
java.lang.Class<R> clazz)
Shortcut to parse an InputStream to object from Processor via retrieving the
Parser thanks to ParserFactory |