public class Config
extends java.lang.Object
implements java.lang.Cloneable
Properties
object.Modifier and Type | Field and Description |
---|---|
static java.lang.String |
CONF_INI_RULE_AFFECTATION_SYMBOL
Strings used to separate keys from values.
|
static java.lang.String |
CONF_INI_RULE_AFFECTATION_SYMBOLS_SEPARATOR
Strings list separator for the
CONF_INI_RULE_AFFECTATION_SYMBOL property. |
static java.lang.String |
CONF_INI_RULE_COMMENTS_START_SYMBOL
Strings that signal the start of a comment line.
|
static java.lang.String |
CONF_INI_RULE_COMMENTS_START_SYMBOLS_SEPARATOR
Strings list separator for the
CONF_INI_RULE_COMMENTS_START_SYMBOL property. |
static java.lang.String |
CONF_INI_RULE_KEY_GETVALUE_CONVERT_UNICODE
Activate conversion of Unicode escapes when reading key values, except line concatenation.
|
static java.lang.String |
CONF_INI_RULE_KEY_GETVALUE_DEFAULTVALUE
String used to represent default value when getting a key value.
|
static java.lang.String |
CONF_INI_RULE_KEY_GETVALUE_ENVVAR_SHRTCT
Activate recognition of JVM environment variable shortcuts when getting a key value.
|
static java.lang.String |
CONF_INI_RULE_KEY_GETVALUE_SECKEYREF_SHRTCT
Activate recognition of section/key shortcuts when getting a key value.
|
static java.lang.String |
CONF_INI_RULE_KEY_GETVALUE_SYSPROP_SHRTCT
Activate recognition of system property shortcuts when getting a key value.
|
static java.lang.String |
CONF_INI_RULE_KEY_PARSE_CONVERT_LNINECONCAT
Activate conversion of backslash at end of line to line concatenation when parsing the Ini content.
|
static java.lang.String |
CONF_INI_RULE_KEY_PATTERN_SHRTCUT_ANY
The regular expression used to recognize any type of shortcut (section/key reference, system property, and environment variable).
|
static java.lang.String |
CONF_INI_RULE_KEY_PATTERN_SHRTCUT_ENVVAR
The regular expression used to recognize environment variable shortcuts.
|
static java.lang.String |
CONF_INI_RULE_KEY_PATTERN_SHRTCUT_ENVVAR_LEFT
The character(s) just before the environment variable name.
|
static java.lang.String |
CONF_INI_RULE_KEY_PATTERN_SHRTCUT_ENVVAR_RIGHT
The character(s) just after the environment variable name.
|
static java.lang.String |
CONF_INI_RULE_KEY_PATTERN_SHRTCUT_SECKEYREF
The regular expression used to recognize section/key shortcuts.
|
static java.lang.String |
CONF_INI_RULE_KEY_PATTERN_SHRTCUT_SECKEYREF_LEFT
The character(s) just before the section/key name.
|
static java.lang.String |
CONF_INI_RULE_KEY_PATTERN_SHRTCUT_SECKEYREF_MIDDLE
The character(s) between the section and key names.
|
static java.lang.String |
CONF_INI_RULE_KEY_PATTERN_SHRTCUT_SECKEYREF_RIGHT
The character(s) just after the section/key name.
|
static java.lang.String |
CONF_INI_RULE_KEY_PATTERN_SHRTCUT_SYSPROP
The regular expression used to recognize system property shortcuts.
|
static java.lang.String |
CONF_INI_RULE_KEY_PATTERN_SHRTCUT_SYSPROP_LEFT
The character(s) just before the system property name.
|
static java.lang.String |
CONF_INI_RULE_KEY_PATTERN_SHRTCUT_SYSPROP_RIGHT
The character(s) just after the system property name.
|
static java.lang.String |
CONF_INI_RULE_LINE_CONCAT_SYMBOL
String used to signal a line concatenation when parsing the INI content.
|
static java.lang.String |
CONF_INI_RULE_MAX_KEYREF_PURSUIT
Maximum number of shortcuts pursuit, to prevent infinitive loops.
|
static java.lang.String |
CONF_INI_RULE_SECTION_END_SYMBOL
Strings that signal the start of a comment line.
|
static java.lang.String |
CONF_INI_RULE_SECTION_END_SYMBOLS_SEPARATOR
Strings list separator for the
CONF_INI_RULE_COMMENTS_START_SYMBOL property. |
static java.lang.String |
CONF_INI_RULE_SECTION_START_SYMBOL
Strings that signal the start of a comment line.
|
static java.lang.String |
CONF_INI_RULE_SECTION_START_SYMBOLS_SEPARATOR
Strings list separator for the
CONF_INI_RULE_COMMENTS_START_SYMBOL property. |
static java.lang.String |
CONF_INI_STAT_NB_COMMENTS_PERFILE
Average number of comment lines per file (for performance purpose).
|
static java.lang.String |
CONF_INI_STAT_NB_KEYS_PERSECTION_PERFILE
Average number of keys per section (for performance purpose).
|
static java.lang.String |
CONF_INI_STAT_NB_KEYS_PERSECTION_PERFILE_MAPLOADFACTOR
Keys
Map (one keys Map per section) load factor (for performance purpose). |
static java.lang.String |
CONF_INI_STAT_NB_SECTIONS_PERFILE
Average number of sections per file (for performance purpose).
|
static java.lang.String |
CONF_INI_STAT_NB_SECTIONS_PERFILE_MAPLOADFACTOR
Sections
Map load factor (for performance purpose). |
static java.lang.String |
CONF_INI_STAT_NB_SHRTCT_PERLINE
Average number of shortcuts per line (for performance purpose).
|
protected java.util.Map<java.lang.String,java.lang.Boolean> |
propsBoolean
The map to store properties values as booleans.
|
protected java.util.Map<java.lang.String,java.lang.Float> |
propsFloat
The map to store properties values as floats.
|
protected java.util.Map<java.lang.String,java.lang.Integer> |
propsInteger
The map to store properties values as integers.
|
protected java.util.Map<java.lang.String,java.util.regex.Pattern> |
propsPattern
The map to store properties values as compiled patterns.
|
protected java.util.Map<java.lang.String,java.lang.String> |
propsString
The map to store properties values as strings.
|
protected java.util.Map<java.lang.String,java.lang.String[]> |
propsStringTable
The map to store properties values as tables of strings.
|
Constructor and Description |
---|
Config()
Create a new instance of
Config with default INI configuration properties. |
Config(Config config)
Create a new instance of
Config by copy. |
Config(java.util.Properties props)
Create a new instance of
Config with the specified configuration properties. |
Modifier and Type | Method and Description |
---|---|
Config |
clone()
Creates and returns a copy of this
Config object. |
Config |
enableParseLineConcat(boolean enable)
Enable conversion of backslash at end of line to line concatenation when parsing the INI content.
|
Config |
enableReadEnvShortcuts(boolean enable)
Enable recognition and following of environment variable shortcuts when getting a key value.
|
Config |
enableReadSeckeyShortcuts(boolean enable)
Enable recognition and following of section/key shortcuts when getting a key value.
|
Config |
enableReadSysShortcuts(boolean enable)
Enable recognition and following of system property shortcuts when getting a key value.
|
Config |
enableReadUnicodeEscConv(boolean enable)
Enable conversion of Unicode escapes to UTF8 when getting a key value.
|
boolean |
equals(java.lang.Object obj)
Compares the specified object with this
Config for equality. |
java.lang.String |
getDefAffectation(int index)
Get one of the INI strings used to separate keys from values.
|
java.lang.String[] |
getDefAffectations()
Get a copy of the INI strings used to separate keys from values.
|
static java.util.Properties |
getDefaultConfigProperties()
Get a copy of the default configuration
Properties object loaded from /fr.tikione.ini.properties , or an
other Properties object if the initialize(java.util.Properties) method has been called before. |
java.lang.String |
getDefCommentStart(int index)
Get one of the INI strings that signal the start of a comment line.
|
java.lang.String[] |
getDefCommentStarts()
Get a copy of the INI strings that signal the start of a comment line.
|
java.lang.String |
getDefDefaultKeyValue()
Get the INI string used to represent default value when getting a key value.
|
java.lang.String |
getDefLineConcat()
Get the INI string used to signal a line concatenation when parsing the INI content.
|
int |
getDefMaxShortcutsPursuit()
Get the maximum number of shortcuts pursuit (environment variable shortcuts, system property shortcuts, section/key reference
shortcuts).
|
int |
getDefNbComments()
Get the usual number of comment lines of one INI file.
|
int |
getDefNbSec()
Get the usual number of sections in one INI file.
|
int |
getDefNbSecKeys()
Get the usual number of keys in a section of one INI file.
|
int |
getDefNbShortcuts()
Get the usual number of shortcuts (environment variable shortcuts, system property shortcuts, section/key shortcuts) in
a line.
|
float |
getDefSecKeysLoadfactor()
Get the keys
Map (one keys Map per section) load factor. |
float |
getDefSecLoadfactor()
Get the sections
Map load factor. |
java.lang.String |
getDefSectionEnd(int index)
Get one of the INI strings used to represent a section ending.
|
java.lang.String[] |
getDefSectionEnds()
Get a copy of the INI strings used to represent a section ending.
|
java.lang.String |
getDefSectionStart(int index)
Get one of the INI strings used to represent a section starting.
|
java.lang.String[] |
getDefSectionStarts()
Get a copy of the INI strings used to represent a section starting.
|
java.util.regex.Pattern |
getPaEnvShortcut()
Get the regular expression used to recognize environment variable shortcuts.
|
java.lang.String |
getPaEnvShortcutLeft()
Get the character(s) just before the environment variable name.
|
java.lang.String |
getPaEnvShortcutRight()
Set the character(s) just after the environment variable name.
|
java.util.regex.Pattern |
getPaPropShortcut()
Get the regular expression used to recognize system property shortcuts.
|
java.lang.String |
getPaPropShortcutLeft()
Get the character(s) just before the system property name.
|
java.lang.String |
getPaPropShortcutRight()
Get the character(s) just after the system property name.
|
java.util.regex.Pattern |
getPaSeckeyShortcut()
Get the regular expression used to recognize section/key shortcuts.
|
java.lang.String |
getPaSeckeyShortcutLeft()
Get the character(s) just before the section/key name.
|
java.lang.String |
getPaSeckeyShortcutMiddle()
Get the character(s) between the section and key names.
|
java.lang.String |
getPaSeckeyShortcutRight()
Get the character(s) just after the section/key name.
|
java.util.regex.Pattern |
getPaShortcut()
Get the regular expression used to recognize any type of shortcut (section/key reference, system
property, and environment variable).
|
int |
hashCode()
Returns the hash code value for this
Config . |
static void |
initialize(boolean reinitialization)
(Re)Initialize the default INI configuration
Properties object from /fr.tikione.ini.properties . |
static void |
initialize(java.util.Properties tikioneProperties)
(Re)Initialize the default INI configuration with a provided
Properties object. |
boolean |
isParseLineConcatEnabled()
Indicate if conversion of backslash at end of line to line concatenation when parsing the INI content is enabled.
|
boolean |
isReadEnvShortcutsEnabled()
Indicate if recognition and following of environment variable shortcuts when getting a key value is enabled.
|
boolean |
isReadSeckeyShortcutsEnabled()
Indicate if recognition and following of section/key shortcuts when getting a key value is enabled.
|
boolean |
isReadSysShortcutsEnabled()
Indicate if recognition and following of system property shortcuts when getting a key value is enabled.
|
boolean |
isReadUnicodeEscConvEnabled()
Indicate if conversion of Unicode escapes to UTF8 when getting a key value is enabled.
|
void |
loadConfig(java.util.Properties props)
(Re)configure the configuration with the specified properties.
|
void |
setDefAffectations(java.lang.String[] defAffectations)
Set the INI strings used to separate keys from values.
|
void |
setDefCommentStarts(java.lang.String[] defCommentStarts)
Set the INI strings that signal the start of a comment line.
|
void |
setDefDefaultKeyValue(java.lang.String defDefaultValue)
Set the INI string used to represent default value when getting a key value.
|
void |
setDefLineConcat(java.lang.String defLineConcat)
Set the INI string used to signal a line concatenation when parsing the INI content.
|
void |
setDefMaxShortcutsPursuit(int defMaxShortcutsPursuit)
Set the maximum number of shortcuts pursuit (environment variable shortcuts, system property shortcuts, section/key reference
shortcuts).
|
void |
setDefNbComments(int defNbComments)
Set the usual number of comment lines of one INI file.
|
void |
setDefNbSec(int defNbSec)
Set the usual number of sections in one INI file.
|
void |
setDefNbSecKeys(int defNbSecKeys)
Set the usual number of keys in a section of one INI file.
|
void |
setDefNbShortcuts(int defNbShortcuts)
Set the usual number of shortcuts (environment variable shortcuts, system property shortcuts, section/key shortcuts) in
a line.
|
void |
setDefSecKeysLoadfactor(float defSecKeysLoadfactor)
Set the keys
Map (one keys Map per section) load factor. |
void |
setDefSecLoadfactor(float defSecLoadfactor)
Set the sections
Map load factor. |
void |
setDefSectionEnds(java.lang.String[] defSectionEnds)
Set the INI strings used to represent a section ending.
|
void |
setDefSectionStarts(java.lang.String[] defSectionStarts)
Set the INI strings used to represent a section starting.
|
void |
setPaEnvShortcut(java.lang.String paEnvShortcut)
Set the regular expression used to recognize environment variable shortcuts.
|
void |
setPaEnvShortcutLeft(java.lang.String paEnvShortcutLeft)
Set the characters just before the environment variable name.
|
void |
setPaEnvShortcutRight(java.lang.String paEnvShortcutRight)
Set the character(s) just after the environment variable name.
|
void |
setPaPropShortcut(java.lang.String paPropShortcut)
Set the regular expression used to recognize system property shortcuts.
|
void |
setPaPropShortcutLeft(java.lang.String paPropShortcutLeft)
Set the character(s) just before the system property name.
|
void |
setPaPropShortcutRight(java.lang.String paPropShortcutRight)
Set the character(s) just after the system property name.
|
void |
setPaSeckeyShortcut(java.lang.String paSeckeyShortcut)
Set the regular expression used to recognize section/key shortcuts.
|
void |
setPaSeckeyShortcutLeft(java.lang.String paSeckeyShortcutLeft)
set the character(s) just before the section/key name.
|
void |
setPaSeckeyShortcutMiddle(java.lang.String paSeckeyShortcutMiddle)
Set the character(s) between the section and key names.
|
void |
setPaSeckeyShortcutRight(java.lang.String paSeckeyShortcutRight)
Set the character(s) just after the section/key name.
|
void |
setPaShortcut(java.lang.String paShortcut)
Set the regular expression used to recognize any type of shortcut (section/key reference, system property, and environment
variable).
|
public static final java.lang.String CONF_INI_STAT_NB_SECTIONS_PERFILE
public static final java.lang.String CONF_INI_STAT_NB_SECTIONS_PERFILE_MAPLOADFACTOR
Map
load factor (for performance purpose).public static final java.lang.String CONF_INI_STAT_NB_KEYS_PERSECTION_PERFILE
public static final java.lang.String CONF_INI_STAT_NB_KEYS_PERSECTION_PERFILE_MAPLOADFACTOR
Map
(one keys Map
per section) load factor (for performance purpose).public static final java.lang.String CONF_INI_STAT_NB_SHRTCT_PERLINE
public static final java.lang.String CONF_INI_STAT_NB_COMMENTS_PERFILE
public static final java.lang.String CONF_INI_RULE_KEY_GETVALUE_DEFAULTVALUE
public static final java.lang.String CONF_INI_RULE_SECTION_START_SYMBOL
public static final java.lang.String CONF_INI_RULE_SECTION_END_SYMBOL
public static final java.lang.String CONF_INI_RULE_COMMENTS_START_SYMBOL
public static final java.lang.String CONF_INI_RULE_AFFECTATION_SYMBOL
public static final java.lang.String CONF_INI_RULE_SECTION_START_SYMBOLS_SEPARATOR
CONF_INI_RULE_COMMENTS_START_SYMBOL
property.public static final java.lang.String CONF_INI_RULE_SECTION_END_SYMBOLS_SEPARATOR
CONF_INI_RULE_COMMENTS_START_SYMBOL
property.public static final java.lang.String CONF_INI_RULE_COMMENTS_START_SYMBOLS_SEPARATOR
CONF_INI_RULE_COMMENTS_START_SYMBOL
property.public static final java.lang.String CONF_INI_RULE_AFFECTATION_SYMBOLS_SEPARATOR
CONF_INI_RULE_AFFECTATION_SYMBOL
property.public static final java.lang.String CONF_INI_RULE_LINE_CONCAT_SYMBOL
public static final java.lang.String CONF_INI_RULE_MAX_KEYREF_PURSUIT
public static final java.lang.String CONF_INI_RULE_KEY_GETVALUE_ENVVAR_SHRTCT
public static final java.lang.String CONF_INI_RULE_KEY_GETVALUE_SECKEYREF_SHRTCT
public static final java.lang.String CONF_INI_RULE_KEY_GETVALUE_SYSPROP_SHRTCT
public static final java.lang.String CONF_INI_RULE_KEY_GETVALUE_CONVERT_UNICODE
public static final java.lang.String CONF_INI_RULE_KEY_PARSE_CONVERT_LNINECONCAT
public static final java.lang.String CONF_INI_RULE_KEY_PATTERN_SHRTCUT_ANY
public static final java.lang.String CONF_INI_RULE_KEY_PATTERN_SHRTCUT_ENVVAR
public static final java.lang.String CONF_INI_RULE_KEY_PATTERN_SHRTCUT_ENVVAR_LEFT
public static final java.lang.String CONF_INI_RULE_KEY_PATTERN_SHRTCUT_ENVVAR_RIGHT
public static final java.lang.String CONF_INI_RULE_KEY_PATTERN_SHRTCUT_SYSPROP
public static final java.lang.String CONF_INI_RULE_KEY_PATTERN_SHRTCUT_SYSPROP_LEFT
public static final java.lang.String CONF_INI_RULE_KEY_PATTERN_SHRTCUT_SYSPROP_RIGHT
public static final java.lang.String CONF_INI_RULE_KEY_PATTERN_SHRTCUT_SECKEYREF
public static final java.lang.String CONF_INI_RULE_KEY_PATTERN_SHRTCUT_SECKEYREF_LEFT
public static final java.lang.String CONF_INI_RULE_KEY_PATTERN_SHRTCUT_SECKEYREF_MIDDLE
public static final java.lang.String CONF_INI_RULE_KEY_PATTERN_SHRTCUT_SECKEYREF_RIGHT
protected final java.util.Map<java.lang.String,java.lang.String> propsString
protected final java.util.Map<java.lang.String,java.lang.String[]> propsStringTable
protected final java.util.Map<java.lang.String,java.lang.Boolean> propsBoolean
protected final java.util.Map<java.lang.String,java.lang.Float> propsFloat
protected final java.util.Map<java.lang.String,java.lang.Integer> propsInteger
protected final java.util.Map<java.lang.String,java.util.regex.Pattern> propsPattern
public Config() throws java.io.IOException, java.util.regex.PatternSyntaxException
Config
with default INI configuration properties.java.io.IOException
- if an I/O error occurs while retrieving the internal properties file.java.util.regex.PatternSyntaxException
- if a regular expression (stored in the configuration properties) cannot compile.public Config(Config config)
Config
by copy.config
- the Config
to copy all properties.public Config(java.util.Properties props) throws java.util.regex.PatternSyntaxException
Config
with the specified configuration properties.props
- the configuration properties to load.java.util.regex.PatternSyntaxException
- if a regular expression (stored in the configuration properties) cannot compile.public Config clone()
Config
object.clone
in class java.lang.Object
public boolean equals(java.lang.Object obj)
Config
for equality. Returns true
if the given object
is also an Config
and the two Config
represent the same dataequals
in class java.lang.Object
obj
- the object to be compared for equality with this Config
.true
if the specified object is equal to this Config
, otherwise false
.public int hashCode()
Config
.
The properties stored in a Config
object are stored in various maps. The hash code of an Config
is
defined to be the hash code of the concatenation of the hash code of each map, separated by a Line Feed character.
Because of the number of properties stored in a Config
, this implementation may be time-consuming, and you
should not put Config
objects in maps as keys (it will work, but it may slow down your application).
hashCode
in class java.lang.Object
Config
.public static void initialize(boolean reinitialization) throws java.io.IOException
Properties
object from /fr.tikione.ini.properties
.
Initialization is synchronized on a global Properties
object, so you can invoke this method in a thread while you are
building some INI objects or invoking getDefaultConfigProperties()
in other threads.reinitialization
- if true
then force a re-read the internal properties file.java.io.IOException
- if an I/O error occurs while retrieving the internal properties file.public static void initialize(java.util.Properties tikioneProperties)
Properties
object.
Initialization is synchronized on a global Properties
object, so you can invoke this method in a thread while you are
building some INI objects or invoking getDefaultConfigProperties()
in other threads.tikioneProperties
- the provided Properties
object.public static java.util.Properties getDefaultConfigProperties() throws java.io.IOException
Properties
object loaded from /fr.tikione.ini.properties
, or an
other Properties
object if the initialize(java.util.Properties)
method has been called before.
Because of initialization synchronization, you can safely invoke this method in a thread while you are invoking
the initialize(java.util.Properties)
or initialize(boolean)
methods.Properties
object.java.io.IOException
- if an I/O error occurs while retrieving the internal properties file.public void loadConfig(java.util.Properties props) throws java.util.regex.PatternSyntaxException
props
- the configuration properties to load.java.util.regex.PatternSyntaxException
- if a regular expression (stored in the configuration properties) cannot compile.public Config enableReadEnvShortcuts(boolean enable)
enable
- true
to enable, false
to disable.Config
.public Config enableReadSeckeyShortcuts(boolean enable)
enable
- true
to enable, false
to disable.Config
.public Config enableReadSysShortcuts(boolean enable)
enable
- true
to enable, false
to disable.Config
.public Config enableReadUnicodeEscConv(boolean enable)
enable
- true
to enable, false
to disable.Config
.public Config enableParseLineConcat(boolean enable)
enable
- true
to enable, false
to disable.Config
.public boolean isReadEnvShortcutsEnabled()
true
if enabled, false
if disabled.public boolean isReadSeckeyShortcutsEnabled()
true
if enabled, false
if disabled.public boolean isReadSysShortcutsEnabled()
true
if enabled, false
if disabled.public boolean isReadUnicodeEscConvEnabled()
true
if enabled, false
if disabled.public boolean isParseLineConcatEnabled()
true
if enabled, false
if disabled.public java.lang.String[] getDefAffectations()
public java.lang.String getDefAffectation(int index)
index
- the number (index) of the string to get.public java.lang.String[] getDefCommentStarts()
public java.lang.String getDefDefaultKeyValue()
public java.lang.String getDefCommentStart(int index)
index
- the number (index) of the string to get.public int getDefMaxShortcutsPursuit()
public java.lang.String[] getDefSectionEnds()
public java.lang.String getDefSectionEnd(int index)
index
- the number (index) of the string to get.public java.lang.String getDefLineConcat()
public java.lang.String[] getDefSectionStarts()
public java.lang.String getDefSectionStart(int index)
index
- the number (index) of the string to get.public int getDefNbComments()
public int getDefNbShortcuts()
public int getDefNbSec()
public float getDefSecLoadfactor()
Map
load factor.public int getDefNbSecKeys()
public float getDefSecKeysLoadfactor()
Map
(one keys Map
per section) load factor.public void setDefAffectations(java.lang.String[] defAffectations)
defAffectations
- the INI strings used to separate keys from values.public void setDefCommentStarts(java.lang.String[] defCommentStarts)
defCommentStarts
- the INI strings that signal the start of a comment line.public void setDefDefaultKeyValue(java.lang.String defDefaultValue)
defDefaultValue
- the default value when getting a key value.public void setDefMaxShortcutsPursuit(int defMaxShortcutsPursuit)
defMaxShortcutsPursuit
- the maximum number of shortcuts pursuit.public void setDefSectionEnds(java.lang.String[] defSectionEnds)
defSectionEnds
- the INI strings used to represent a section ending.public void setDefLineConcat(java.lang.String defLineConcat)
defLineConcat
- the INI string used to signal a line concatenation when parsing the INI content.public void setDefSectionStarts(java.lang.String[] defSectionStarts)
defSectionStarts
- the INI strings used to represent a section starting.public void setDefNbComments(int defNbComments)
defNbComments
- the usual number of comment lines of one INI file.public void setDefNbShortcuts(int defNbShortcuts)
defNbShortcuts
- the usual number of shortcuts in a line.public void setDefNbSec(int defNbSec)
defNbSec
- the usual number of sections in one INI file.public void setDefSecLoadfactor(float defSecLoadfactor)
Map
load factor.defSecLoadfactor
- the load factor.public void setDefNbSecKeys(int defNbSecKeys)
defNbSecKeys
- the usual number of keys in a section of one INI file.public void setDefSecKeysLoadfactor(float defSecKeysLoadfactor)
Map
(one keys Map
per section) load factor.defSecKeysLoadfactor
- the load factor.public java.util.regex.Pattern getPaEnvShortcut()
public java.lang.String getPaEnvShortcutLeft()
public java.lang.String getPaEnvShortcutRight()
public java.util.regex.Pattern getPaPropShortcut()
public java.lang.String getPaPropShortcutLeft()
public java.lang.String getPaPropShortcutRight()
public java.util.regex.Pattern getPaSeckeyShortcut()
public java.lang.String getPaSeckeyShortcutLeft()
public java.lang.String getPaSeckeyShortcutMiddle()
public java.lang.String getPaSeckeyShortcutRight()
public java.util.regex.Pattern getPaShortcut()
public void setPaEnvShortcut(java.lang.String paEnvShortcut) throws java.util.regex.PatternSyntaxException
paEnvShortcut
- the regular expression.java.util.regex.PatternSyntaxException
- if the regular expression cannot compile.public void setPaEnvShortcutLeft(java.lang.String paEnvShortcutLeft)
paEnvShortcutLeft
- the characters just before the environment variable name.public void setPaEnvShortcutRight(java.lang.String paEnvShortcutRight)
paEnvShortcutRight
- the character(s) just after the environment variable name.public void setPaPropShortcut(java.lang.String paPropShortcut) throws java.util.regex.PatternSyntaxException
paPropShortcut
- the regular expression.java.util.regex.PatternSyntaxException
- if the regular expression cannot compile.public void setPaPropShortcutLeft(java.lang.String paPropShortcutLeft)
paPropShortcutLeft
- the character(s) just before the system property name.public void setPaPropShortcutRight(java.lang.String paPropShortcutRight)
paPropShortcutRight
- the character(s) just after the system property name.public void setPaSeckeyShortcut(java.lang.String paSeckeyShortcut) throws java.util.regex.PatternSyntaxException
paSeckeyShortcut
- the regular expression.java.util.regex.PatternSyntaxException
- if the regular expression cannot compile.public void setPaSeckeyShortcutLeft(java.lang.String paSeckeyShortcutLeft)
paSeckeyShortcutLeft
- the character(s) just before the section/key name.public void setPaSeckeyShortcutMiddle(java.lang.String paSeckeyShortcutMiddle)
paSeckeyShortcutMiddle
- the character(s) between the section and key names.public void setPaSeckeyShortcutRight(java.lang.String paSeckeyShortcutRight)
paSeckeyShortcutRight
- the character(s) just after the section/key name.public void setPaShortcut(java.lang.String paShortcut) throws java.util.regex.PatternSyntaxException
paShortcut
- the regular expression.java.util.regex.PatternSyntaxException
- if the regular expression cannot compile.