Class PathTypeAdapter
- java.lang.Object
-
- org.javers.core.json.BasicStringSuperTypeAdapter<java.nio.file.Path>
-
- org.javers.core.json.typeadapter.util.PathTypeAdapter
-
- All Implemented Interfaces:
AbstractJsonTypeAdapter,JsonAdvancedTypeAdapter<java.nio.file.Path>
public class PathTypeAdapter extends BasicStringSuperTypeAdapter<java.nio.file.Path>
-
-
Constructor Summary
Constructors Constructor Description PathTypeAdapter()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.nio.file.Pathdeserialize(java.lang.String serializedValue)java.lang.Class<java.nio.file.Path>getTypeSuperclass()java.lang.Stringserialize(java.nio.file.Path sourceValue)-
Methods inherited from class org.javers.core.json.BasicStringSuperTypeAdapter
fromJson, toJson
-
-
-
-
Method Detail
-
serialize
public java.lang.String serialize(java.nio.file.Path sourceValue)
- Specified by:
serializein classBasicStringSuperTypeAdapter<java.nio.file.Path>
-
deserialize
public java.nio.file.Path deserialize(java.lang.String serializedValue)
- Specified by:
deserializein classBasicStringSuperTypeAdapter<java.nio.file.Path>
-
getTypeSuperclass
public java.lang.Class<java.nio.file.Path> getTypeSuperclass()
-
-