@Singleton public static class GsonModule.PropertiesAdapter extends com.google.gson.TypeAdapter<Properties>
Constructor and Description |
---|
GsonModule.PropertiesAdapter(javax.inject.Provider<com.google.gson.Gson> gson) |
Modifier and Type | Method and Description |
---|---|
Properties |
read(com.google.gson.stream.JsonReader in) |
void |
write(com.google.gson.stream.JsonWriter out,
Properties value) |
@Inject public GsonModule.PropertiesAdapter(javax.inject.Provider<com.google.gson.Gson> gson)
public void write(com.google.gson.stream.JsonWriter out, Properties value) throws IOException
write
in class com.google.gson.TypeAdapter<Properties>
IOException
public Properties read(com.google.gson.stream.JsonReader in) throws IOException
read
in class com.google.gson.TypeAdapter<Properties>
IOException
Copyright © 2009-2013 jclouds. All Rights Reserved.