org.jclouds.json.config
Class GsonModule.HexByteListAdapter

java.lang.Object
  extended by com.google.gson.TypeAdapter<List<Byte>>
      extended by org.jclouds.json.config.GsonModule.ByteListAdapter
          extended by org.jclouds.json.config.GsonModule.HexByteListAdapter
Enclosing class:
GsonModule

@Singleton
public static class GsonModule.HexByteListAdapter
extends GsonModule.ByteListAdapter


Constructor Summary
GsonModule.HexByteListAdapter()
           
 
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
 

Constructor Detail

GsonModule.HexByteListAdapter

public GsonModule.HexByteListAdapter()
Method Detail

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.