org.jclouds.json.config
Class GsonModule.HexByteListAdapter
java.lang.Object
com.google.gson.TypeAdapter<List<Byte>>
org.jclouds.json.config.GsonModule.ByteListAdapter
org.jclouds.json.config.GsonModule.HexByteListAdapter
- Enclosing class:
- GsonModule
@Singleton
public static class GsonModule.HexByteListAdapter
- extends GsonModule.ByteListAdapter
Method Summary |
List<Byte> |
read(com.google.gson.stream.JsonReader reader)
|
void |
write(com.google.gson.stream.JsonWriter writer,
List<Byte> value)
|
Methods inherited from class com.google.gson.TypeAdapter |
nullSafe |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
GsonModule.HexByteListAdapter
public GsonModule.HexByteListAdapter()
write
public void write(com.google.gson.stream.JsonWriter writer,
List<Byte> value)
throws IOException
- Specified by:
write
in class com.google.gson.TypeAdapter<List<Byte>>
- Throws:
IOException
read
public List<Byte> read(com.google.gson.stream.JsonReader reader)
throws IOException
- Specified by:
read
in class com.google.gson.TypeAdapter<List<Byte>>
- Throws:
IOException
Copyright © 2009-2012 jclouds. All Rights Reserved.