@Singleton public static class GsonModule.PropertiesAdapter extends com.google.gson.TypeAdapter<Properties>
Constructor and Description |
---|
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 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–2021 The Apache Software Foundation. All rights reserved.