org.ini4j.addon
Class FancyIniParser

java.lang.Object
  extended by org.ini4j.IniParser
      extended by org.ini4j.addon.FancyIniParser

public class FancyIniParser
extends IniParser


Nested Class Summary
protected static class FancyIniParser.IniSource
           
 
Field Summary
private  boolean _allowEmptyOption
           
private  boolean _allowInclude
           
private  boolean _allowMissingSection
           
private  boolean _allowOptionCaseConversion
           
private  boolean _allowSectionCaseConversion
           
private  boolean _allowUnnamedSection
           
private  java.lang.String _missingSectionName
           
static char INCLUDE_BEGIN
           
static char INCLUDE_END
           
 
Fields inherited from class org.ini4j.IniParser
COMMENTS, DEFAULT_SERVICE, OPERATOR, SECTION_BEGIN, SECTION_END, SERVICE_ID
 
Constructor Summary
FancyIniParser()
           
 
Method Summary
 java.lang.String getMissingSectionName()
           
 boolean isAllowEmptyOption()
           
 boolean isAllowInclude()
           
 boolean isAllowMissingSection()
           
 boolean isAllowOptionCaseConversion()
           
 boolean isAllowSectionCaseConversion()
           
 boolean isAllowUnnamedSection()
           
protected  void parse(FancyIniParser.IniSource source, IniHandler handler)
           
 void parse(java.io.Reader input, IniHandler handler)
           
 void parse(java.net.URL input, IniHandler handler)
           
 void setAllowEmptyOption(boolean flag)
           
 void setAllowInclude(boolean flag)
           
 void setAllowMissingSection(boolean flag)
           
 void setAllowOptionCaseConversion(boolean flag)
           
 void setAllowSectionCaseConversion(boolean flag)
           
 void setAllowUnnamedSection(boolean flag)
           
 void setMissingSectionName(java.lang.String name)
           
 
Methods inherited from class org.ini4j.IniParser
newInstance, parse, parseError, parseXML, parseXML, parseXML, unescape
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

INCLUDE_BEGIN

public static final char INCLUDE_BEGIN
See Also:
Constant Field Values

INCLUDE_END

public static final char INCLUDE_END
See Also:
Constant Field Values

_allowEmptyOption

private boolean _allowEmptyOption

_allowUnnamedSection

private boolean _allowUnnamedSection

_allowMissingSection

private boolean _allowMissingSection

_missingSectionName

private java.lang.String _missingSectionName

_allowSectionCaseConversion

private boolean _allowSectionCaseConversion

_allowOptionCaseConversion

private boolean _allowOptionCaseConversion

_allowInclude

private boolean _allowInclude
Constructor Detail

FancyIniParser

public FancyIniParser()
Method Detail

setAllowEmptyOption

public void setAllowEmptyOption(boolean flag)

isAllowEmptyOption

public boolean isAllowEmptyOption()

setAllowUnnamedSection

public void setAllowUnnamedSection(boolean flag)

isAllowUnnamedSection

public boolean isAllowUnnamedSection()

setAllowMissingSection

public void setAllowMissingSection(boolean flag)

isAllowMissingSection

public boolean isAllowMissingSection()

setMissingSectionName

public void setMissingSectionName(java.lang.String name)

getMissingSectionName

public java.lang.String getMissingSectionName()

setAllowSectionCaseConversion

public void setAllowSectionCaseConversion(boolean flag)

isAllowSectionCaseConversion

public boolean isAllowSectionCaseConversion()

setAllowOptionCaseConversion

public void setAllowOptionCaseConversion(boolean flag)

isAllowOptionCaseConversion

public boolean isAllowOptionCaseConversion()

isAllowInclude

public boolean isAllowInclude()

setAllowInclude

public void setAllowInclude(boolean flag)

parse

public void parse(java.io.Reader input,
                  IniHandler handler)
           throws java.io.IOException,
                  InvalidIniFormatException
Overrides:
parse in class IniParser
Throws:
java.io.IOException
InvalidIniFormatException

parse

public void parse(java.net.URL input,
                  IniHandler handler)
           throws java.io.IOException,
                  InvalidIniFormatException
Overrides:
parse in class IniParser
Throws:
java.io.IOException
InvalidIniFormatException

parse

protected void parse(FancyIniParser.IniSource source,
                     IniHandler handler)
              throws java.io.IOException,
                     InvalidIniFormatException
Throws:
java.io.IOException
InvalidIniFormatException