org.ini4j
Class IniFile

java.lang.Object
  extended by java.util.prefs.Preferences
      extended by java.util.prefs.AbstractPreferences
          extended by org.ini4j.IniPreferences
              extended by org.ini4j.IniFile

public class IniFile
extends IniPreferences


Nested Class Summary
static class IniFile.Mode
           
 
Nested classes/interfaces inherited from class org.ini4j.IniPreferences
IniPreferences.SectionPreferences
 
Field Summary
private  java.io.File _file
           
private  IniFile.Mode _mode
           
 
Fields inherited from class java.util.prefs.AbstractPreferences
lock, newNode
 
Fields inherited from class java.util.prefs.Preferences
MAX_KEY_LENGTH, MAX_NAME_LENGTH, MAX_VALUE_LENGTH
 
Constructor Summary
IniFile(java.io.File file)
           
IniFile(java.io.File file, IniFile.Mode mode)
           
 
Method Summary
 void flush()
           
 java.io.File getFile()
           
 IniFile.Mode getMode()
           
 void sync()
           
 
Methods inherited from class org.ini4j.IniPreferences
childrenNamesSpi, childSpi, flushSpi, getIni, getSpi, keysSpi, putSpi, removeNodeSpi, removeSpi, syncSpi
 
Methods inherited from class java.util.prefs.AbstractPreferences
absolutePath, addNodeChangeListener, addPreferenceChangeListener, cachedChildren, childrenNames, clear, exportNode, exportSubtree, get, getBoolean, getByteArray, getChild, getDouble, getFloat, getInt, getLong, isRemoved, isUserNode, keys, name, node, nodeExists, parent, put, putBoolean, putByteArray, putDouble, putFloat, putInt, putLong, remove, removeNode, removeNodeChangeListener, removePreferenceChangeListener, 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
 

Field Detail

_mode

private IniFile.Mode _mode

_file

private java.io.File _file
Constructor Detail

IniFile

public IniFile(java.io.File file,
               IniFile.Mode mode)
        throws java.util.prefs.BackingStoreException
Throws:
java.util.prefs.BackingStoreException

IniFile

public IniFile(java.io.File file)
        throws java.util.prefs.BackingStoreException
Throws:
java.util.prefs.BackingStoreException
Method Detail

getMode

public IniFile.Mode getMode()

getFile

public java.io.File getFile()

sync

public void sync()
          throws java.util.prefs.BackingStoreException
Overrides:
sync in class java.util.prefs.AbstractPreferences
Throws:
java.util.prefs.BackingStoreException

flush

public void flush()
           throws java.util.prefs.BackingStoreException
Overrides:
flush in class java.util.prefs.AbstractPreferences
Throws:
java.util.prefs.BackingStoreException