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 Constructor Description PropertiesAdapter(javax.inject.Provider<com.google.gson.Gson> gson)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Properties
read(com.google.gson.stream.JsonReader in)
void
write(com.google.gson.stream.JsonWriter out, Properties value)
-
-
-
Method Detail
-
write
public void write(com.google.gson.stream.JsonWriter out, Properties value) throws IOException
- Specified by:
write
in classcom.google.gson.TypeAdapter<Properties>
- Throws:
IOException
-
read
public Properties read(com.google.gson.stream.JsonReader in) throws IOException
- Specified by:
read
in classcom.google.gson.TypeAdapter<Properties>
- Throws:
IOException
-
-