org.ini4j
Class Config
Object
org.ini4j.Config
- All Implemented Interfaces:
- Serializable, Cloneable
public class Config
- extends Object
- implements Cloneable, Serializable
- See Also:
- Serialized Form
Methods inherited from class Object |
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
KEY_PREFIX
public static final String KEY_PREFIX
- See Also:
- Constant Field Values
PROP_EMPTY_OPTION
public static final String PROP_EMPTY_OPTION
- See Also:
- Constant Field Values
PROP_EMPTY_SECTION
public static final String PROP_EMPTY_SECTION
- See Also:
- Constant Field Values
PROP_GLOBAL_SECTION
public static final String PROP_GLOBAL_SECTION
- See Also:
- Constant Field Values
PROP_GLOBAL_SECTION_NAME
public static final String PROP_GLOBAL_SECTION_NAME
- See Also:
- Constant Field Values
PROP_INCLUDE
public static final String PROP_INCLUDE
- See Also:
- Constant Field Values
PROP_LOWER_CASE_OPTION
public static final String PROP_LOWER_CASE_OPTION
- See Also:
- Constant Field Values
PROP_LOWER_CASE_SECTION
public static final String PROP_LOWER_CASE_SECTION
- See Also:
- Constant Field Values
PROP_MULTI_OPTION
public static final String PROP_MULTI_OPTION
- See Also:
- Constant Field Values
PROP_MULTI_SECTION
public static final String PROP_MULTI_SECTION
- See Also:
- Constant Field Values
PROP_STRICT_OPERATOR
public static final String PROP_STRICT_OPERATOR
- See Also:
- Constant Field Values
PROP_UNNAMED_SECTION
public static final String PROP_UNNAMED_SECTION
- See Also:
- Constant Field Values
PROP_ESCAPE
public static final String PROP_ESCAPE
- See Also:
- Constant Field Values
PROP_ESCAPE_NEWLINE
public static final String PROP_ESCAPE_NEWLINE
- See Also:
- Constant Field Values
PROP_PATH_SEPARATOR
public static final String PROP_PATH_SEPARATOR
- See Also:
- Constant Field Values
PROP_TREE
public static final String PROP_TREE
- See Also:
- Constant Field Values
PROP_PROPERTY_FIRST_UPPER
public static final String PROP_PROPERTY_FIRST_UPPER
- See Also:
- Constant Field Values
PROP_FILE_ENCODING
public static final String PROP_FILE_ENCODING
- See Also:
- Constant Field Values
PROP_LINE_SEPARATOR
public static final String PROP_LINE_SEPARATOR
- See Also:
- Constant Field Values
PROP_COMMENT
public static final String PROP_COMMENT
- See Also:
- Constant Field Values
PROP_HEADER_COMMENT
public static final String PROP_HEADER_COMMENT
- See Also:
- Constant Field Values
DEFAULT_EMPTY_OPTION
public static final boolean DEFAULT_EMPTY_OPTION
- See Also:
- Constant Field Values
DEFAULT_EMPTY_SECTION
public static final boolean DEFAULT_EMPTY_SECTION
- See Also:
- Constant Field Values
DEFAULT_GLOBAL_SECTION
public static final boolean DEFAULT_GLOBAL_SECTION
- See Also:
- Constant Field Values
DEFAULT_GLOBAL_SECTION_NAME
public static final String DEFAULT_GLOBAL_SECTION_NAME
- See Also:
- Constant Field Values
DEFAULT_INCLUDE
public static final boolean DEFAULT_INCLUDE
- See Also:
- Constant Field Values
DEFAULT_LOWER_CASE_OPTION
public static final boolean DEFAULT_LOWER_CASE_OPTION
- See Also:
- Constant Field Values
DEFAULT_LOWER_CASE_SECTION
public static final boolean DEFAULT_LOWER_CASE_SECTION
- See Also:
- Constant Field Values
DEFAULT_MULTI_OPTION
public static final boolean DEFAULT_MULTI_OPTION
- See Also:
- Constant Field Values
DEFAULT_MULTI_SECTION
public static final boolean DEFAULT_MULTI_SECTION
- See Also:
- Constant Field Values
DEFAULT_STRICT_OPERATOR
public static final boolean DEFAULT_STRICT_OPERATOR
- See Also:
- Constant Field Values
DEFAULT_UNNAMED_SECTION
public static final boolean DEFAULT_UNNAMED_SECTION
- See Also:
- Constant Field Values
DEFAULT_ESCAPE
public static final boolean DEFAULT_ESCAPE
- See Also:
- Constant Field Values
DEFAULT_ESCAPE_NEWLINE
public static final boolean DEFAULT_ESCAPE_NEWLINE
- See Also:
- Constant Field Values
DEFAULT_TREE
public static final boolean DEFAULT_TREE
- See Also:
- Constant Field Values
DEFAULT_PROPERTY_FIRST_UPPER
public static final boolean DEFAULT_PROPERTY_FIRST_UPPER
- See Also:
- Constant Field Values
DEFAULT_COMMENT
public static final boolean DEFAULT_COMMENT
- See Also:
- Constant Field Values
DEFAULT_HEADER_COMMENT
public static final boolean DEFAULT_HEADER_COMMENT
- See Also:
- Constant Field Values
DEFAULT_PATH_SEPARATOR
public static final char DEFAULT_PATH_SEPARATOR
- See Also:
- Constant Field Values
DEFAULT_LINE_SEPARATOR
public static final String DEFAULT_LINE_SEPARATOR
DEFAULT_FILE_ENCODING
public static final Charset DEFAULT_FILE_ENCODING
Config
public Config()
getEnvironment
public static String getEnvironment(String name)
getEnvironment
public static String getEnvironment(String name,
String defaultValue)
getGlobal
public static Config getGlobal()
getSystemProperty
public static String getSystemProperty(String name)
getSystemProperty
public static String getSystemProperty(String name,
String defaultValue)
setComment
public void setComment(boolean value)
isEscape
public boolean isEscape()
isEscapeNewline
public boolean isEscapeNewline()
isInclude
public boolean isInclude()
isTree
public boolean isTree()
setEmptyOption
public void setEmptyOption(boolean value)
setEmptySection
public void setEmptySection(boolean value)
setEscape
public void setEscape(boolean value)
setEscapeNewline
public void setEscapeNewline(boolean value)
getFileEncoding
public Charset getFileEncoding()
setFileEncoding
public void setFileEncoding(Charset value)
setGlobalSection
public void setGlobalSection(boolean value)
getGlobalSectionName
public String getGlobalSectionName()
setGlobalSectionName
public void setGlobalSectionName(String value)
setHeaderComment
public void setHeaderComment(boolean value)
setInclude
public void setInclude(boolean value)
getLineSeparator
public String getLineSeparator()
setLineSeparator
public void setLineSeparator(String value)
setLowerCaseOption
public void setLowerCaseOption(boolean value)
setLowerCaseSection
public void setLowerCaseSection(boolean value)
setMultiOption
public void setMultiOption(boolean value)
setMultiSection
public void setMultiSection(boolean value)
isEmptyOption
public boolean isEmptyOption()
isEmptySection
public boolean isEmptySection()
isGlobalSection
public boolean isGlobalSection()
isLowerCaseOption
public boolean isLowerCaseOption()
isLowerCaseSection
public boolean isLowerCaseSection()
isMultiOption
public boolean isMultiOption()
isMultiSection
public boolean isMultiSection()
isUnnamedSection
public boolean isUnnamedSection()
getPathSeparator
public char getPathSeparator()
setPathSeparator
public void setPathSeparator(char value)
setPropertyFirstUpper
public void setPropertyFirstUpper(boolean value)
isPropertyFirstUpper
public boolean isPropertyFirstUpper()
isStrictOperator
public boolean isStrictOperator()
setStrictOperator
public void setStrictOperator(boolean value)
isComment
public boolean isComment()
isHeaderComment
public boolean isHeaderComment()
setTree
public void setTree(boolean value)
setUnnamedSection
public void setUnnamedSection(boolean value)
clone
public Config clone()
- Overrides:
clone
in class Object
reset
public final void reset()
Copyright © 2011. All Rights Reserved.