Package com.suse.salt.netapi.parser
Class StartTimeAdapter
- java.lang.Object
 - 
- com.google.gson.TypeAdapter<StartTime>
 - 
- com.suse.salt.netapi.parser.StartTimeAdapter
 
 
 
- 
public class StartTimeAdapter extends com.google.gson.TypeAdapter<StartTime>
Json adapter to handle the Job.StartTime date format given by netapi 
- 
- 
Constructor Summary
Constructors Constructor Description StartTimeAdapter() 
- 
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StartTimeread(com.google.gson.stream.JsonReader jsonReader)voidwrite(com.google.gson.stream.JsonWriter jsonWriter, StartTime date) 
 - 
 
- 
- 
Method Detail
- 
write
public void write(com.google.gson.stream.JsonWriter jsonWriter, StartTime date) throws IOException- Specified by:
 writein classcom.google.gson.TypeAdapter<StartTime>- Throws:
 IOException
 
- 
read
public StartTime read(com.google.gson.stream.JsonReader jsonReader) throws IOException
- Specified by:
 readin classcom.google.gson.TypeAdapter<StartTime>- Throws:
 IOException
 
 - 
 
 -