Package model

Class Country.Adapter

  • Enclosing class:
    Country

    public static class Country.Adapter
    extends com.google.gson.TypeAdapter<Country>
    • Constructor Detail

      • Adapter

        public Adapter()
    • Method Detail

      • write

        public void write​(com.google.gson.stream.JsonWriter jsonWriter,
                          Country enumeration)
                   throws IOException
        Specified by:
        write in class com.google.gson.TypeAdapter<Country>
        Throws:
        IOException
      • read

        public Country read​(com.google.gson.stream.JsonReader jsonReader)
                     throws IOException
        Specified by:
        read in class com.google.gson.TypeAdapter<Country>
        Throws:
        IOException