public class AudioBoxObjectParser
extends com.google.api.client.json.JsonObjectParser
The use of this class will allow custom collection Model to behave according
to the specified CustomizeJsonParser object passed as constructor argument.
| Constructor and Description |
|---|
AudioBoxObjectParser(AudioBoxClient audioBoxClient,
com.google.api.client.json.CustomizeJsonParser customParser)
Instantiates a new Audio box object parser.
|
| Modifier and Type | Method and Description |
|---|---|
<T> T |
parseAndClose(java.io.InputStream in,
java.nio.charset.Charset charset,
java.lang.Class<T> dataClass) |
java.lang.Object |
parseAndClose(java.io.InputStream in,
java.nio.charset.Charset charset,
java.lang.reflect.Type dataType) |
<T> T |
parseAndClose(java.io.Reader reader,
java.lang.Class<T> dataClass) |
java.lang.Object |
parseAndClose(java.io.Reader reader,
java.lang.reflect.Type dataType) |
public AudioBoxObjectParser(AudioBoxClient audioBoxClient, com.google.api.client.json.CustomizeJsonParser customParser)
audioBoxClient - the clientcustomParser - the custom parserpublic <T> T parseAndClose(java.io.InputStream in,
java.nio.charset.Charset charset,
java.lang.Class<T> dataClass)
throws java.io.IOException
parseAndClose in interface com.google.api.client.util.ObjectParserparseAndClose in class com.google.api.client.json.JsonObjectParserjava.io.IOExceptionpublic java.lang.Object parseAndClose(java.io.InputStream in,
java.nio.charset.Charset charset,
java.lang.reflect.Type dataType)
throws java.io.IOException
parseAndClose in interface com.google.api.client.util.ObjectParserparseAndClose in class com.google.api.client.json.JsonObjectParserjava.io.IOExceptionpublic <T> T parseAndClose(java.io.Reader reader,
java.lang.Class<T> dataClass)
throws java.io.IOException
parseAndClose in interface com.google.api.client.util.ObjectParserparseAndClose in class com.google.api.client.json.JsonObjectParserjava.io.IOExceptionpublic java.lang.Object parseAndClose(java.io.Reader reader,
java.lang.reflect.Type dataType)
throws java.io.IOException
parseAndClose in interface com.google.api.client.util.ObjectParserparseAndClose in class com.google.api.client.json.JsonObjectParserjava.io.IOException