| Modifier and Type | Field and Description |
|---|---|
| private final FileHandle | |
| private final Properties |
| Access | Constructor and Description |
|---|---|
| public | |
| public |
| Modifier and Type | Method and Description |
|---|---|
| public void | |
| public boolean | |
| public void | |
| public Map | get()
Implements com. Returns a read only Map<string, object> with all the key, objects of the preferences. |
| public boolean | |
| public boolean | |
| public float | |
| public float | |
| public int | |
| public int | |
| public long | |
| public long | |
| public String | |
| public String | |
| public Preferences | |
| public Preferences | |
| public Preferences | |
| public Preferences | |
| public Preferences | |
| public Preferences | |
| public void |
| file | back to summary |
|---|---|
| private final FileHandle file | |
| properties | back to summary |
|---|---|
| private final Properties properties | |
| HeadlessPreferences | back to summary |
|---|---|
| public HeadlessPreferences(String name, String directory) | |
| HeadlessPreferences | back to summary |
|---|---|
| public HeadlessPreferences(FileHandle file) | |
| clear | back to summary |
|---|---|
| public void clear() Implements com.
| |
| contains | back to summary |
|---|---|
| public boolean contains(String key) Implements com.
| |
| flush | back to summary |
|---|---|
| public void flush() Implements com. Doc from com. Makes sure the preferences are persisted.
| |
| get | back to summary |
|---|---|
| public Map Implements com. Doc from com. Returns a read only Map | |
| getBoolean | back to summary |
|---|---|
| public boolean getBoolean(String key) Implements com.
| |
| getBoolean | back to summary |
|---|---|
| public boolean getBoolean(String key, boolean defValue) Implements com.
| |
| getFloat | back to summary |
|---|---|
| public float getFloat(String key) Implements com.
| |
| getFloat | back to summary |
|---|---|
| public float getFloat(String key, float defValue) Implements com.
| |
| getInteger | back to summary |
|---|---|
| public int getInteger(String key) Implements com.
| |
| getInteger | back to summary |
|---|---|
| public int getInteger(String key, int defValue) Implements com.
| |
| getLong | back to summary |
|---|---|
| public long getLong(String key) Implements com.
| |
| getLong | back to summary |
|---|---|
| public long getLong(String key, long defValue) Implements com.
| |
| getString | back to summary |
|---|---|
| public String getString(String key) Implements com.
| |
| getString | back to summary |
|---|---|
| public String getString(String key, String defValue) Implements com.
| |
| put | back to summary |
|---|---|
| public Preferences put(Map<String, ?> vals) Implements com.
| |
| putBoolean | back to summary |
|---|---|
| public Preferences putBoolean(String key, boolean val) Implements com.
| |
| putFloat | back to summary |
|---|---|
| public Preferences putFloat(String key, float val) Implements com.
| |
| putInteger | back to summary |
|---|---|
| public Preferences putInteger(String key, int val) Implements com.
| |
| putLong | back to summary |
|---|---|
| public Preferences putLong(String key, long val) Implements com.
| |
| putString | back to summary |
|---|---|
| public Preferences putString(String key, String val) Implements com.
| |
| remove | back to summary |
|---|---|
| public void remove(String key) Implements com.
| |