Class UnitEnum.Adapter

  • Enclosing class:
    UnitEnum

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

      • Adapter

        public Adapter()
    • Method Detail

      • write

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