Package loci.common
Class IniWriter
java.lang.Object
loci.common.IniWriter
A simple writer for INI configuration files.
- Author:
- Melissa Linkert melissa at glencoesoftware.com
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidSaves the given IniList to the given file.voidSaves the given IniList to the given file.voidSaves the given IniList to the given file.
-
Constructor Details
-
IniWriter
public IniWriter()
-
-
Method Details
-
saveINI
Saves the given IniList to the given file. If the given file already exists, then the IniList will be appended.- Parameters:
ini- theIniListto be writtenpath- the path to a writable file on disk- Throws:
IOException- if there is an error during writing
-
saveINI
Saves the given IniList to the given file.- Parameters:
ini- theIniListto 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 writing- Throws:
IOException- if there is an error during writing
-
saveINI
Saves the given IniList to the given file.- Parameters:
ini- theIniListto 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 exists- Throws:
IOException- if there is an error during writing
-