org.ini4j.addon
Class StrictPreferences
java.lang.Object
java.util.prefs.Preferences
org.ini4j.addon.PreferencesWrapper
org.ini4j.addon.StrictPreferences
-
public class StrictPreferences
- extends PreferencesWrapper
Fields inherited from class java.util.prefs.Preferences |
MAX_KEY_LENGTH, MAX_NAME_LENGTH, MAX_VALUE_LENGTH |
Method Summary |
java.lang.String |
get(java.lang.String key)
|
boolean |
getBoolean(java.lang.String key)
|
byte[] |
getByteArray(java.lang.String key)
|
double |
getDouble(java.lang.String key)
|
float |
getFloat(java.lang.String key)
|
int |
getInt(java.lang.String key)
|
long |
getLong(java.lang.String key)
|
Methods inherited from class org.ini4j.addon.PreferencesWrapper |
absolutePath, addNodeChangeListener,
addPreferenceChangeListener,
childrenNames, clear, exportNode, exportSubtree,
flush, get, getBoolean, getByteArray,
getDouble, getFloat, getInt, getLong, isUserNode, keys, name, node, nodeExists, parent, put, putBoolean, putByteArray,
putDouble, putFloat, putInt, putLong, remove, removeNode, removeNodeChangeListener,
removePreferenceChangeListener,
sync, toString |
Methods inherited from class java.util.prefs.Preferences |
importPreferences, systemNodeForPackage, systemRoot, userNodeForPackage, userRoot |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
StrictPreferences
public StrictPreferences(java.util.prefs.Preferences peer)
get
public java.lang.String get(java.lang.String key)
throws java.util.NoSuchElementException
-
- Throws:
java.util.NoSuchElementException
getInt
public int getInt(java.lang.String key)
throws java.util.NoSuchElementException
-
- Throws:
java.util.NoSuchElementException
getLong
public long getLong(java.lang.String key)
throws java.util.NoSuchElementException
-
- Throws:
java.util.NoSuchElementException
getBoolean
public boolean getBoolean(java.lang.String key)
throws java.util.NoSuchElementException
-
- Throws:
java.util.NoSuchElementException
getFloat
public float getFloat(java.lang.String key)
throws java.util.NoSuchElementException
-
- Throws:
java.util.NoSuchElementException
getDouble
public double getDouble(java.lang.String key)
throws java.util.NoSuchElementException
-
- Throws:
java.util.NoSuchElementException
getByteArray
public byte[] getByteArray(java.lang.String key)
throws java.util.NoSuchElementException
-
- Throws:
java.util.NoSuchElementException