Class PathAdapter


  • public final class PathAdapter
    extends com.google.gson.TypeAdapter<Path>
    • Constructor Detail

      • PathAdapter

        public PathAdapter()
    • Method Detail

      • write

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

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