Uses of Class
com.google.gson.reflect.TypeToken

Packages that use TypeToken
com.google.gson This package provides the Gson class to convert Json to Java and vice-versa. 
com.google.gson.internal Do NOT use any class in this package as they are meant for internal use in Gson. 
com.google.gson.internal.bind   
com.google.gson.reflect This package provides utility classes for finding type information for generic types. 
 

Uses of TypeToken in com.google.gson
 

Methods in com.google.gson with parameters of type TypeToken
<T> TypeAdapter<T>
TypeAdapterFactory.create(Gson gson, TypeToken<T> type)
          Returns a type adapter for type, or null if this factory doesn't support type.
<T> TypeAdapter<T>
Gson.getAdapter(TypeToken<T> type)
          Returns the type adapter for type.
<T> TypeAdapter<T>
Gson.getDelegateAdapter(TypeAdapterFactory skipPast, TypeToken<T> type)
          This method is used to get an alternate type adapter for the specified type.
 

Uses of TypeToken in com.google.gson.internal
 

Methods in com.google.gson.internal with parameters of type TypeToken
<T> TypeAdapter<T>
Excluder.create(Gson gson, TypeToken<T> type)
           
<T> ObjectConstructor<T>
ConstructorConstructor.get(TypeToken<T> typeToken)
           
 

Uses of TypeToken in com.google.gson.internal.bind
 

Methods in com.google.gson.internal.bind with parameters of type TypeToken
<T> TypeAdapter<T>
ReflectiveTypeAdapterFactory.create(Gson gson, TypeToken<T> type)
           
<T> TypeAdapter<T>
MapTypeAdapterFactory.create(Gson gson, TypeToken<T> typeToken)
           
<T> TypeAdapter<T>
CollectionTypeAdapterFactory.create(Gson gson, TypeToken<T> typeToken)
           
static
<TT> TypeAdapterFactory
TypeAdapters.newFactory(TypeToken<TT> type, TypeAdapter<TT> typeAdapter)
           
 

Uses of TypeToken in com.google.gson.reflect
 

Methods in com.google.gson.reflect that return TypeToken
static
<T> TypeToken<T>
TypeToken.get(Class<T> type)
          Gets type literal for the given Class instance.
static TypeToken<?> TypeToken.get(Type type)
          Gets type literal for the given Type instance.
 

Methods in com.google.gson.reflect with parameters of type TypeToken
 boolean TypeToken.isAssignableFrom(TypeToken<?> token)
          Deprecated. this implementation may be inconsistent with javac for types with wildcards.
 



Copyright © 2012. All Rights Reserved.