|
Groovy Documentation | |||||||
| FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
java.lang.Objectgriffon.plugins.preferences.persistors.JsonPreferencesPersistor
public class JsonPreferencesPersistor extends Object
| Field Summary | |
|---|---|
private static String |
KEY_PREFERENCES_PERSISTOR_LOCATION
|
private static org.slf4j.Logger |
LOG
|
private GriffonApplication |
app
|
| Constructor Summary | |
JsonPreferencesPersistor(GriffonApplication app)
|
|
| Method Summary | |
|---|---|
GriffonApplication
|
getApp()
|
private InputStream
|
inputStream()
|
private OutputStream
|
outputStream()
|
Preferences
|
read(PreferencesManager preferencesManager)
|
private void
|
readInto(Map map, PreferencesNode node)
|
private String
|
resolvePreferencesFileName()
|
void
|
write(PreferencesManager preferencesManager)
|
private void
|
writeTo(PreferencesNode node, Map map)
|
| Methods inherited from class Object | |
|---|---|
| wait, wait, wait, equals, toString, hashCode, getClass, notify, notifyAll |
| Field Detail |
|---|
private static final String KEY_PREFERENCES_PERSISTOR_LOCATION
private static final org.slf4j.Logger LOG
private final GriffonApplication app
| Constructor Detail |
|---|
public JsonPreferencesPersistor(GriffonApplication app)
| Method Detail |
|---|
public GriffonApplication getApp()
private InputStream inputStream()
private OutputStream outputStream()
@SuppressWarnings("unchecked")
public Preferences read(PreferencesManager preferencesManager)
private void readInto(Mapmap, PreferencesNode node) { private void readInto(Map map, PreferencesNode node)
private String resolvePreferencesFileName()
public void write(PreferencesManager preferencesManager)
private void writeTo(PreferencesNode node, Map map)
Groovy Documentation