Class FileSerializer
java.lang.Object
net.thucydides.core.reports.json.gson.FileSerializer
- All Implemented Interfaces:
com.google.gson.JsonSerializer<java.io.File>
public class FileSerializer
extends java.lang.Object
implements com.google.gson.JsonSerializer<java.io.File>
Created by john on 11/02/15.
-
Constructor Summary
Constructors Constructor Description FileSerializer() -
Method Summary
Modifier and Type Method Description com.google.gson.JsonElementserialize(java.io.File src, java.lang.reflect.Type typeOfSrc, com.google.gson.JsonSerializationContext context)Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Constructor Details
-
FileSerializer
public FileSerializer()
-
-
Method Details
-
serialize
public com.google.gson.JsonElement serialize(java.io.File src, java.lang.reflect.Type typeOfSrc, com.google.gson.JsonSerializationContext context)- Specified by:
serializein interfacecom.google.gson.JsonSerializer<java.io.File>
-