Package org.jclouds.json.config
Class GsonModule.HexByteArrayAdapter
- java.lang.Object
-
- com.google.gson.TypeAdapter<byte[]>
-
- org.jclouds.json.config.GsonModule.ByteArrayAdapter
-
- org.jclouds.json.config.GsonModule.HexByteArrayAdapter
-
- Enclosing class:
- GsonModule
@Singleton public static class GsonModule.HexByteArrayAdapter extends GsonModule.ByteArrayAdapter
-
-
Constructor Summary
Constructors Constructor Description HexByteArrayAdapter()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description byte[]
read(com.google.gson.stream.JsonReader reader)
void
write(com.google.gson.stream.JsonWriter writer, byte[] value)
-
-
-
Method Detail
-
write
public void write(com.google.gson.stream.JsonWriter writer, byte[] value) throws IOException
- Specified by:
write
in classcom.google.gson.TypeAdapter<byte[]>
- Throws:
IOException
-
read
public byte[] read(com.google.gson.stream.JsonReader reader) throws IOException
- Specified by:
read
in classcom.google.gson.TypeAdapter<byte[]>
- Throws:
IOException
-
-