Package jadx.gui.utils
Class RelativePathTypeAdapter
- java.lang.Object
-
- com.google.gson.TypeAdapter<java.nio.file.Path>
-
- jadx.gui.utils.RelativePathTypeAdapter
-
public class RelativePathTypeAdapter extends com.google.gson.TypeAdapter<java.nio.file.Path>
-
-
Constructor Summary
Constructors Constructor Description RelativePathTypeAdapter(java.nio.file.Path basePath)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.nio.file.Pathread(com.google.gson.stream.JsonReader in)voidwrite(com.google.gson.stream.JsonWriter out, java.nio.file.Path value)
-
-
-
Method Detail
-
write
public void write(com.google.gson.stream.JsonWriter out, java.nio.file.Path value) throws java.io.IOException- Specified by:
writein classcom.google.gson.TypeAdapter<java.nio.file.Path>- Throws:
java.io.IOException
-
read
public java.nio.file.Path read(com.google.gson.stream.JsonReader in) throws java.io.IOException- Specified by:
readin classcom.google.gson.TypeAdapter<java.nio.file.Path>- Throws:
java.io.IOException
-
-