public class IniWriter extends Object
Constructor and Description |
---|
IniWriter() |
Modifier and Type | Method and Description |
---|---|
void |
saveINI(IniList ini,
String path)
Saves the given IniList to the given file.
|
void |
saveINI(IniList ini,
String path,
boolean append)
Saves the given IniList to the given file.
|
void |
saveINI(IniList ini,
String path,
boolean append,
boolean sorted)
Saves the given IniList to the given file.
|
public void saveINI(IniList ini, String path) throws IOException
ini
- the IniList
to be writtenpath
- the path to a writable file on diskIOException
- if there is an error during writingpublic void saveINI(IniList ini, String path, boolean append, boolean sorted) throws IOException
ini
- the IniList
to be writtenpath
- the path to a writable file on diskappend
- true if the INI data should be appended to
the end of the file if it already existssorted
- true if the INI keys should be sorted before writingIOException
- if there is an error during writingpublic void saveINI(IniList ini, String path, boolean append) throws IOException
ini
- the IniList
to be writtenpath
- the path to a writable file on diskappend
- true if the INI data should be appended to
the end of the file if it already existsIOException
- if there is an error during writingCopyright © 2005–2018 Open Microscopy Environment. All rights reserved.