public class

AudioBoxObjectParser

extends JsonObjectParser
java.lang.Object
   ↳ com.google.api.client.json.JsonObjectParser
     ↳ fm.audiobox.core.parsers.AudioBoxObjectParser

Class Overview

A customizable JSON object parser.

The use of this class will allow custom collection Model to behave according to the specified com.google.api.client.json.CustomizeJsonParser object passed as constructor argument.

Summary

Public Constructors
AudioBoxObjectParser(AudioBoxClient audioBoxClient, CustomizeJsonParser customParser)
Instantiates a new Audio box object parser.
Public Methods
<T> T parseAndClose(InputStream in, Charset charset, Class<T> dataClass)
<T> T parseAndClose(Reader reader, Class<T> dataClass)
Object parseAndClose(Reader reader, Type dataType)
Object parseAndClose(InputStream in, Charset charset, Type dataType)
[Expand]
Inherited Methods
From class com.google.api.client.json.JsonObjectParser
From class java.lang.Object
From interface com.google.api.client.util.ObjectParser

Public Constructors

public AudioBoxObjectParser (AudioBoxClient audioBoxClient, CustomizeJsonParser customParser)

Instantiates a new Audio box object parser.

Parameters
audioBoxClient the client
customParser the custom parser

Public Methods

public T parseAndClose (InputStream in, Charset charset, Class<T> dataClass)

Throws
IOException

public T parseAndClose (Reader reader, Class<T> dataClass)

Throws
IOException

public Object parseAndClose (Reader reader, Type dataType)

Throws
IOException

public Object parseAndClose (InputStream in, Charset charset, Type dataType)

Throws
IOException