[ini4j]

org.ini4j.addon
Class StrictPreferences

Object
  extended by Preferences
      extended by PreferencesWrapper
          extended by StrictPreferences

public class StrictPreferences
extends PreferencesWrapper


Field Summary
 
Fields inherited from class PreferencesWrapper
peer
 
Fields inherited from class Preferences
MAX_KEY_LENGTH, MAX_NAME_LENGTH, MAX_VALUE_LENGTH
 
Constructor Summary
StrictPreferences(Preferences peer)
           
 
Method Summary
 String get(String key)
           
 boolean getBoolean(String key)
           
 byte[] getByteArray(String key)
           
 double getDouble(String key)
           
 float getFloat(String key)
           
 int getInt(String key)
           
 long getLong(String key)
           
 
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
 

Constructor Detail

StrictPreferences

public StrictPreferences(Preferences peer)
Method Detail

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

[ini4j]