com.dropbox.client2.jsonextract
Class JsonThing.OptionalExtractor<T>

java.lang.Object
  extended by com.dropbox.client2.jsonextract.JsonExtractor<T>
      extended by com.dropbox.client2.jsonextract.JsonThing.OptionalExtractor<T>
Enclosing class:
JsonThing

public static final class JsonThing.OptionalExtractor<T>
extends JsonExtractor<T>


Field Summary
 JsonExtractor<T> elementExtractor
           
 
Constructor Summary
JsonThing.OptionalExtractor(JsonExtractor<T> elementExtractor)
           
 
Method Summary
 T extract(JsonThing jt)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

elementExtractor

public final JsonExtractor<T> elementExtractor
Constructor Detail

JsonThing.OptionalExtractor

public JsonThing.OptionalExtractor(JsonExtractor<T> elementExtractor)
Method Detail

extract

public T extract(JsonThing jt)
          throws JsonExtractionException
Specified by:
extract in class JsonExtractor<T>
Throws:
JsonExtractionException