A C D G H I L O R S

A

addBlankLine() - Method in class ch.ubique.inieditor.IniEditor.Section
Adds a blank line to the end of this section.
addBlankLine(String) - Method in class ch.ubique.inieditor.IniEditor
Adds a blank line to the end of a section.
addComment(String) - Method in class ch.ubique.inieditor.IniEditor.Section
Adds a comment line to the end of this section.
addComment(String, char) - Method in class ch.ubique.inieditor.IniEditor.Section
Adds a comment line to the end of this section.
addComment(String, String) - Method in class ch.ubique.inieditor.IniEditor
Adds a comment line to the end of a section.
addSection(String) - Method in class ch.ubique.inieditor.IniEditor
Adds a section if it doesn't exist yet.

C

ch.ubique.inieditor - package ch.ubique.inieditor
 

D

DEFAULT_OPTION_FORMAT - Static variable in class ch.ubique.inieditor.IniEditor.Section
 

G

get(String) - Method in class ch.ubique.inieditor.IniEditor.Section
Returns an option's value.
get(String, String) - Method in class ch.ubique.inieditor.IniEditor
Returns the value of a given option in a given section or null if either the section or the option don't exist.

H

HEADER_END - Static variable in class ch.ubique.inieditor.IniEditor.Section
 
HEADER_START - Static variable in class ch.ubique.inieditor.IniEditor.Section
 
hasOption(String) - Method in class ch.ubique.inieditor.IniEditor.Section
Checks whether a given option exists in this section.
hasOption(String, String) - Method in class ch.ubique.inieditor.IniEditor
Checks whether an option exists in a given section.
hasSection(String) - Method in class ch.ubique.inieditor.IniEditor
Checks whether a section with a particular name exists in this instance.

I

IniEditor - class ch.ubique.inieditor.IniEditor.
Loads, edits and saves INI-style configuration files.
IniEditor() - Constructor for class ch.ubique.inieditor.IniEditor
Constructs new bare IniEditor instance.
IniEditor(boolean) - Constructor for class ch.ubique.inieditor.IniEditor
Constructs new bare IniEditor instance specifying case-sensitivity.
IniEditor(String) - Constructor for class ch.ubique.inieditor.IniEditor
Constructs new IniEditor instance with a common section.
IniEditor(String, boolean) - Constructor for class ch.ubique.inieditor.IniEditor
Constructs new IniEditor instance with a common section.
IniEditor(char[]) - Constructor for class ch.ubique.inieditor.IniEditor
Constructs new IniEditor defining comment delimiters.
IniEditor(char[], boolean) - Constructor for class ch.ubique.inieditor.IniEditor
Constructs new IniEditor defining comment delimiters.
IniEditor(String, char[]) - Constructor for class ch.ubique.inieditor.IniEditor
Constructs new IniEditor instance with a common section, defining comment delimiters.
IniEditor(String, char[], boolean) - Constructor for class ch.ubique.inieditor.IniEditor
Constructs new IniEditor instance with a common section, defining comment delimiters.
IniEditor.NoSuchSectionException - exception ch.ubique.inieditor.IniEditor.NoSuchSectionException.
Thrown when an inexistent section is addressed.
IniEditor.NoSuchSectionException() - Constructor for class ch.ubique.inieditor.IniEditor.NoSuchSectionException
 
IniEditor.NoSuchSectionException(String) - Constructor for class ch.ubique.inieditor.IniEditor.NoSuchSectionException
 
IniEditor.Section - class ch.ubique.inieditor.IniEditor.Section.
Loads, edits and saves a section of an INI-style configuration file.
IniEditor.Section(String) - Constructor for class ch.ubique.inieditor.IniEditor.Section
Constructs a new section.
IniEditor.Section(String, boolean) - Constructor for class ch.ubique.inieditor.IniEditor.Section
Constructs a new section, specifying case-sensitivity.
IniEditor.Section(String, char[]) - Constructor for class ch.ubique.inieditor.IniEditor.Section
Constructs a new section, defining comment delimiters.
IniEditor.Section(String, char[], boolean) - Constructor for class ch.ubique.inieditor.IniEditor.Section
Constructs a new section, defining comment delimiters.

L

load(BufferedReader) - Method in class ch.ubique.inieditor.IniEditor.Section
Loads options from a reader into this instance.
load(String) - Method in class ch.ubique.inieditor.IniEditor
Loads INI formatted input from a file into this instance, using the default character encoding.
load(File) - Method in class ch.ubique.inieditor.IniEditor
Loads INI formatted input from a file into this instance, using the default character encoding.
load(InputStream) - Method in class ch.ubique.inieditor.IniEditor
Loads INI formatted input from a stream into this instance, using the default character encoding.
load(InputStreamReader) - Method in class ch.ubique.inieditor.IniEditor
Loads INI formatted input from a stream reader into this instance.

O

optionNames() - Method in class ch.ubique.inieditor.IniEditor.Section
Returns the names of all options in this section.
optionNames(String) - Method in class ch.ubique.inieditor.IniEditor
Returns all option names of a section, not including options from the common section.

R

remove(String) - Method in class ch.ubique.inieditor.IniEditor.Section
Removes an option if it exists.
remove(String, String) - Method in class ch.ubique.inieditor.IniEditor
Removes an option from a section if it exists.
removeSection(String) - Method in class ch.ubique.inieditor.IniEditor
Removes a section if it exists.

S

save(PrintWriter) - Method in class ch.ubique.inieditor.IniEditor.Section
Prints this section to a print writer.
save(String) - Method in class ch.ubique.inieditor.IniEditor
Writes this instance in INI format to a file.
save(File) - Method in class ch.ubique.inieditor.IniEditor
Writes this instance in INI format to a file.
save(OutputStream) - Method in class ch.ubique.inieditor.IniEditor
Writes this instance in INI format to an output stream.
save(OutputStreamWriter) - Method in class ch.ubique.inieditor.IniEditor
Writes this instance in INI format to an output stream writer.
sectionNames() - Method in class ch.ubique.inieditor.IniEditor
Returns all section names in this instance minus the common section if one was defined.
set(String, String) - Method in class ch.ubique.inieditor.IniEditor.Section
Sets an option's value and creates the option if it doesn't exist.
set(String, String, char) - Method in class ch.ubique.inieditor.IniEditor.Section
Sets an option's value and creates the option if it doesn't exist.
set(String, String, String) - Method in class ch.ubique.inieditor.IniEditor
Sets the value of an option in a section, if the option exist, otherwise adds the option to the section.
setOptionFormat(IniEditor.OptionFormat) - Method in class ch.ubique.inieditor.IniEditor.Section
Sets the option format for this section.
setOptionFormatString(String) - Method in class ch.ubique.inieditor.IniEditor.Section
Sets the option format for this section to the given string.
setOptionFormatString(String) - Method in class ch.ubique.inieditor.IniEditor
Sets the option format for this instance to the given string.

A C D G H I L O R S