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
 
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(File file)
           
IniFile(File file, IniFile.Mode mode)
           
 
Method Summary
 void flush()
           
 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
 

Constructor Detail

IniFile

public IniFile(File file)
        throws BackingStoreException
Throws:
BackingStoreException

IniFile

public IniFile(File file,
               IniFile.Mode mode)
        throws BackingStoreException
Throws:
BackingStoreException
Method Detail

getFile

public File getFile()

getMode

public IniFile.Mode getMode()

flush

public void flush()
           throws BackingStoreException
Overrides:
flush in class AbstractPreferences
Throws:
BackingStoreException

sync

public void sync()
          throws BackingStoreException
Overrides:
sync in class AbstractPreferences
Throws:
BackingStoreException


Copyright © 2011. All Rights Reserved.