Package 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>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionread(com.google.gson.stream.JsonReader in) voidwrite(com.google.gson.stream.JsonWriter out, Properties value) Methods inherited from class com.google.gson.TypeAdapter
fromJson, fromJson, fromJsonTree, nullSafe, toJson, toJson, toJsonTree
-
Constructor Details
-
PropertiesAdapter
@Inject public PropertiesAdapter(javax.inject.Provider<com.google.gson.Gson> gson)
-
-
Method Details
-
write
- Specified by:
writein classcom.google.gson.TypeAdapter<Properties>- Throws:
IOException
-
read
- Specified by:
readin classcom.google.gson.TypeAdapter<Properties>- Throws:
IOException
-