org.ini4j.addon
Class StrictPreferences
Object
Preferences
PreferencesWrapper
StrictPreferences
public class StrictPreferences
- extends PreferencesWrapper
Fields inherited from class Preferences |
MAX_KEY_LENGTH, MAX_NAME_LENGTH, MAX_VALUE_LENGTH |
Methods inherited from class 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 Preferences |
importPreferences, systemNodeForPackage, systemRoot, userNodeForPackage, userRoot |
Methods inherited from class Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
StrictPreferences
public StrictPreferences(Preferences peer)
getBoolean
public boolean getBoolean(String key)
throws NoSuchElementException
- Throws:
NoSuchElementException
getByteArray
public byte[] getByteArray(String key)
throws NoSuchElementException
- Throws:
NoSuchElementException
getDouble
public double getDouble(String key)
throws NoSuchElementException
- Throws:
NoSuchElementException
getFloat
public float getFloat(String key)
throws NoSuchElementException
- Throws:
NoSuchElementException
getInt
public int getInt(String key)
throws NoSuchElementException
- Throws:
NoSuchElementException
getLong
public long getLong(String key)
throws NoSuchElementException
- Throws:
NoSuchElementException
get
public String get(String key)
throws NoSuchElementException
- Throws:
NoSuchElementException