Class GsonUtility.StreamTypeAdapterFactory

  • All Implemented Interfaces:
    com.google.gson.TypeAdapterFactory
    Enclosing class:
    GsonUtility

    public static class GsonUtility.StreamTypeAdapterFactory
    extends java.lang.Object
    implements com.google.gson.TypeAdapterFactory
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      <T> com.google.gson.TypeAdapter<T> create​(com.google.gson.Gson gson, com.google.gson.reflect.TypeToken<T> typeToken)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • StreamTypeAdapterFactory

        public StreamTypeAdapterFactory()
    • Method Detail

      • create

        public <T> com.google.gson.TypeAdapter<T> create​(com.google.gson.Gson gson,
                                                         com.google.gson.reflect.TypeToken<T> typeToken)
        Specified by:
        create in interface com.google.gson.TypeAdapterFactory