|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object java.util.prefs.Preferences java.util.prefs.AbstractPreferences org.ini4j.IniPreferences org.ini4j.IniFile
public class IniFile
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 |
---|
private IniFile.Mode _mode
private java.io.File _file
Constructor Detail |
---|
public IniFile(java.io.File file, IniFile.Mode mode) throws java.util.prefs.BackingStoreException
java.util.prefs.BackingStoreException
public IniFile(java.io.File file) throws java.util.prefs.BackingStoreException
java.util.prefs.BackingStoreException
Method Detail |
---|
public IniFile.Mode getMode()
public java.io.File getFile()
public void sync() throws java.util.prefs.BackingStoreException
sync
in class java.util.prefs.AbstractPreferences
java.util.prefs.BackingStoreException
public void flush() throws java.util.prefs.BackingStoreException
flush
in class java.util.prefs.AbstractPreferences
java.util.prefs.BackingStoreException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |