org.jclouds.json.config
Class GsonModule.PropertiesAdapter
java.lang.Object
com.google.gson.TypeAdapter<Properties>
org.jclouds.json.config.GsonModule.PropertiesAdapter
- Enclosing class:
- GsonModule
@Singleton
public static class GsonModule.PropertiesAdapter
- extends com.google.gson.TypeAdapter<Properties>
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.PropertiesAdapter
@Inject
public GsonModule.PropertiesAdapter(javax.inject.Provider<com.google.gson.Gson> gson)
write
public void write(com.google.gson.stream.JsonWriter out,
Properties value)
throws IOException
- Specified by:
write
in class com.google.gson.TypeAdapter<Properties>
- Throws:
IOException
read
public Properties read(com.google.gson.stream.JsonReader in)
throws IOException
- Specified by:
read
in class com.google.gson.TypeAdapter<Properties>
- Throws:
IOException
Copyright © 2009-2012 jclouds. All Rights Reserved.