Overview
Package
Class
Tree
Deprecated
Index
Help
PREV NEXT
FRAMES
NO FRAMES
All Classes
A
B
C
D
E
G
I
J
L
M
P
R
S
T
V
A
activeProfiles
- Variable in class jodd.props.
Props
activeProfilesProp
- Variable in class jodd.props.
Props
add(String, String, StringBuilder, boolean)
- Method in class jodd.props.
PropsParser
Adds accumulated value to key and current section.
add(String, String)
- Method in class jodd.props.
PropsParser
Adds key-value to properties and profiles.
appendDuplicateProps
- Variable in class jodd.props.
PropsData
If set, duplicate props will be appended to the end, separated by comma.
B
baseProperties
- Variable in class jodd.props.
PropsData
C
clone()
- Method in class jodd.props.
Props
Clones props by creating new instance and copying current configuration.
clone()
- Method in class jodd.props.
PropsData
clone()
- Method in class jodd.props.
PropsParser
convert(Writer, Properties)
- Static method in class jodd.props.
PropsUtil
Convert Java Properties to Jodd Props format
convert(Writer, Properties, Map<String, Properties>)
- Static method in class jodd.props.
PropsUtil
Convert Java Properties to Jodd Props format
countBaseProperties()
- Method in class jodd.props.
PropsData
Counts base properties.
countProfileProperties()
- Method in class jodd.props.
PropsData
Counts profile properties.
countTotalProperties()
- Method in class jodd.props.
Props
Counts the total number of properties, including all profiles.
createFromClasspath(String...)
- Static method in class jodd.props.
PropsUtil
Creates new props and
loads from classpath
.
D
data
- Variable in class jodd.props.
Props
E
escapeNewLineValue
- Variable in class jodd.props.
PropsParser
Value that will be inserted when escaping the new line.
extract(Map, String[], String[])
- Method in class jodd.props.
PropsData
Extract props to target map.
extractBaseProps(Map)
- Method in class jodd.props.
Props
Extract base props (no profiles).
extractBaseSubProps(Map, String...)
- Method in class jodd.props.
Props
extractMap(Map, Map<String, PropsValue>, String[])
- Method in class jodd.props.
PropsData
extractProps(Map)
- Method in class jodd.props.
Props
Extracts props belonging to active profiles.
extractProps(Map, String...)
- Method in class jodd.props.
Props
Extract props of given profiles.
extractSubProps(Map, String...)
- Method in class jodd.props.
Props
extractSubProps(Map, String[], String[])
- Method in class jodd.props.
Props
G
getActiveProfiles()
- Method in class jodd.props.
Props
Returns active profiles or
null
if none defined.
getBaseProperty(String)
- Method in class jodd.props.
PropsData
Returns base property or
null
if it doesn't exist.
getBaseValue(String)
- Method in class jodd.props.
Props
Returns
string
value of base property.
getProfileProperty(String, String)
- Method in class jodd.props.
PropsData
Returns profile property.
getPropsData()
- Method in class jodd.props.
PropsParser
getValue(String)
- Method in class jodd.props.
Props
Returns value of property, using active profiles.
getValue(String, String...)
- Method in class jodd.props.
Props
Returns
string
value of given profiles.
getValue()
- Method in class jodd.props.
PropsValue
Returns either resolved or real value.
I
ignorePrefixWhitespacesOnNewLine
- Variable in class jodd.props.
PropsParser
Defines if starting whitespaces when value is split in the new line should be ignored or not.
initialize()
- Method in class jodd.props.
Props
Initializes props by replacing macros in values with the lookup values.
initialized
- Variable in class jodd.props.
Props
J
jodd
- package jodd
jodd.props
- package jodd.props
Super properties.
JoddProps
- Class in
jodd
Jodd PROPS module.
JoddProps()
- Constructor for class jodd.
JoddProps
L
load(String)
- Method in class jodd.props.
Props
Loads props from the string.
load(File)
- Method in class jodd.props.
Props
Loads props from the file.
load(File, String)
- Method in class jodd.props.
Props
Loads properties from the file in provided encoding.
load(InputStream)
- Method in class jodd.props.
Props
Loads properties from input stream.
load(InputStream, String)
- Method in class jodd.props.
Props
Loads properties from input stream and provided encoding.
load(Map<?, ?>)
- Method in class jodd.props.
Props
Loads base properties from the provided java properties.
load(Map<?, ?>, String)
- Method in class jodd.props.
Props
Loads base properties from java Map using provided prefix.
loadEnvironment(String)
- Method in class jodd.props.
Props
Loads environment properties with given prefix.
loadFromClasspath(Props, String...)
- Static method in class jodd.props.
PropsUtil
Loads props from classpath.
loadSystemProperties(String)
- Method in class jodd.props.
Props
Loads system properties with given prefix.
lookupValue(String, String...)
- Method in class jodd.props.
PropsData
Lookup props value through profiles and base properties.
M
multilineValues
- Variable in class jodd.props.
PropsParser
Defines if multi-line values may be written using triple-quotes as in python.
P
parse(String)
- Method in class jodd.props.
Props
Parses input string and loads provided properties map.
parse(String)
- Method in class jodd.props.
PropsParser
Loads properties.
parser
- Variable in class jodd.props.
Props
PROFILE_LEFT
- Static variable in class jodd.props.
PropsParser
PROFILE_RIGHT
- Static variable in class jodd.props.
PropsParser
profileProperties
- Variable in class jodd.props.
PropsData
Props
- Class in
jodd.props
Super properties: fast, configurable, supports (ini) sections, profiles.
Props()
- Constructor for class jodd.props.
Props
Creates new props.
Props(PropsParser)
- Constructor for class jodd.props.
Props
PropsData
- Class in
jodd.props
Props data storage for base and profile properties.
PropsData()
- Constructor for class jodd.props.
PropsData
PropsData(HashMap<String, PropsValue>, HashMap<String, Map<String, PropsValue>>)
- Constructor for class jodd.props.
PropsData
propsData
- Variable in class jodd.props.
PropsParser
PropsParser
- Class in
jodd.props
Props
parser.
PropsParser()
- Constructor for class jodd.props.
PropsParser
PropsParser(PropsData)
- Constructor for class jodd.props.
PropsParser
PropsParser.ParseState
- Enum in
jodd.props
Parsing states.
PropsUtil
- Class in
jodd.props
Some
Props
utilities.
PropsUtil()
- Constructor for class jodd.props.
PropsUtil
PropsValue
- Class in
jodd.props
Holds original props value and generated one.
PropsValue(String)
- Constructor for class jodd.props.
PropsValue
put(Map<String, PropsValue>, String, String)
- Method in class jodd.props.
PropsData
Puts key-value pair into the map, with respect of appending duplicate properties
putBaseProperty(String, String)
- Method in class jodd.props.
PropsData
Adds base property.
putProfileProperty(String, String, String)
- Method in class jodd.props.
PropsData
Adds profile property.
R
resolveActiveProfiles()
- Method in class jodd.props.
Props
Resolves active profiles from property.
resolved
- Variable in class jodd.props.
PropsValue
Value with all macros resolved.
resolveMacros()
- Method in class jodd.props.
PropsData
Resolves all macros in this props set.
resolveMacros(Map<String, PropsValue>, String)
- Method in class jodd.props.
PropsData
S
setActiveProfiles(String...)
- Method in class jodd.props.
Props
Overrides active profiles.
setAppendDuplicateProps(boolean)
- Method in class jodd.props.
Props
Appends duplicate props.
setEscapeNewLineValue(String)
- Method in class jodd.props.
Props
Specifies the new line string when EOL is escaped.
setIgnorePrefixWhitespacesOnNewLine(boolean)
- Method in class jodd.props.
Props
Defines if the prefix whitespaces should be ignored when value is split into the lines.
setMultilineValues(boolean)
- Method in class jodd.props.
Props
Enables multiline values.
setSkipEmptyProps(boolean)
- Method in class jodd.props.
Props
Skips empty properties.
setValue(String, String)
- Method in class jodd.props.
Props
Sets default value.
setValue(String, String, String)
- Method in class jodd.props.
Props
Sets value on some profile.
setValueTrimLeft(boolean)
- Method in class jodd.props.
Props
Specifies should the values be trimmed from the left.
setValueTrimRight(boolean)
- Method in class jodd.props.
Props
Specifies should the values be trimmed from the right.
skipEmptyProps
- Variable in class jodd.props.
PropsParser
Don't include empty properties.
stringTemplateParser
- Variable in class jodd.props.
PropsData
T
toString()
- Method in class jodd.props.
PropsValue
V
value
- Variable in class jodd.props.
PropsValue
Original value.
valueOf(String)
- Static method in enum jodd.props.
PropsParser.ParseState
Returns the enum constant of this type with the specified name.
values()
- Static method in enum jodd.props.
PropsParser.ParseState
Returns an array containing the constants of this enum type, in the order they are declared.
valueTrimLeft
- Variable in class jodd.props.
PropsParser
Trims left the value.
valueTrimRight
- Variable in class jodd.props.
PropsParser
Trims right the value.
A
B
C
D
E
G
I
J
L
M
P
R
S
T
V
Overview
Package
Class
Tree
Deprecated
Index
Help
PREV NEXT
FRAMES
NO FRAMES
All Classes
Copyright © 2003-2013
Jodd Team