Skip navigation links
A B C D E F G H I J K L M N P R S T V 

A

activeProfiles - Variable in class jodd.props.Props
 
activeProfiles() - Method in class jodd.props.PropsEntries
Enables active profiles to iterate over.
activeProfilesProp - Variable in class jodd.props.Props
 
add(String, String, StringBuilder, boolean, PropsParser.Operator) - Method in class jodd.props.PropsParser
Adds accumulated value to key and current section.
addInnerMap(String, Map<?, ?>) - Method in class jodd.props.Props
Adds child map to the props on given prefix.
addInnerMap(String, Map<?, ?>, String) - Method in class jodd.props.Props
Adds child map to the props on given prefix.
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.PropsConverter
Convert Java Properties to Jodd Props format.
convert(Writer, Properties, Map<String, Properties>) - Static method in class jodd.props.PropsConverter
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.
create() - Static method in class jodd.props.Props
Statis ctor.

D

data - Variable in class jodd.props.Props
 

E

entries() - Method in class jodd.props.Props
Returns builder for entries itertor.
escapeNewLineValue - Variable in class jodd.props.PropsParser
Value that will be inserted when escaping the new line.
extract(Map, String[], String[], String) - Method in class jodd.props.PropsData
Extracts props to target map.
extractMap(Map, Map<String, PropsEntry>, String[], String[], String) - Method in class jodd.props.PropsData
 
extractProfilesAndAdd(String, String, PropsParser.Operator) - Method in class jodd.props.PropsParser
Extracts profiles from the key name and adds key-value to them.
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
Extracts subset of properties that matches given wildcards.
extractSubProps(Map, String[], String[]) - Method in class jodd.props.Props
Extracts subset of properties that matches given wildcards.

F

first - Variable in class jodd.props.PropsData
 
forEach(Consumer<PropsEntry>) - Method in class jodd.props.PropsEntries
Consumer all properties.

G

getActiveProfiles() - Method in class jodd.props.Props
Returns active profiles or null if none defined.
getAllProfiles() - Method in class jodd.props.Props
Returns all profiles names.
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.
getBooleanValue(String) - Method in class jodd.props.Props
Returns boolean value of given property or null if property not found.
getBooleanValue(String, Boolean) - Method in class jodd.props.Props
Returns boolean value or default one if property not defined.
getBooleanValue(String, String...) - Method in class jodd.props.Props
 
getBooleanValue(String, Boolean, String...) - Method in class jodd.props.Props
 
getDoubleValue(String) - Method in class jodd.props.Props
Returns double value of given property or null if property not found.
getDoubleValue(String, Double) - Method in class jodd.props.Props
Returns double value or default one if property not defined.
getDoubleValue(String, String...) - Method in class jodd.props.Props
 
getDoubleValue(String, Double, String...) - Method in class jodd.props.Props
 
getIntegerValue(String) - Method in class jodd.props.Props
Returns integer value of given property or null if property not found.
getIntegerValue(String, Integer) - Method in class jodd.props.Props
Returns integer value or default one if property not defined.
getIntegerValue(String, String...) - Method in class jodd.props.Props
 
getIntegerValue(String, Integer, String...) - Method in class jodd.props.Props
 
getKey() - Method in class jodd.props.PropsEntry
Returns property key.
getLongValue(String) - Method in class jodd.props.Props
Returns long value of given property or null if property not found.
getLongValue(String, Long) - Method in class jodd.props.Props
Returns long value or default one if property not defined.
getLongValue(String, String...) - Method in class jodd.props.Props
 
getLongValue(String, Long, String...) - Method in class jodd.props.Props
 
getProfile() - Method in class jodd.props.PropsEntry
Returns property profile or null if this is a base property.
getProfileProperty(String, String) - Method in class jodd.props.PropsData
Returns profile property.
getProfilesFor(String) - Method in class jodd.props.Props
Returns all the profiles that define certain prop's key name.
getPropsData() - Method in class jodd.props.PropsParser
 
getValue(String) - Method in class jodd.props.Props
Returns value of property, using active profiles, or null if property not found.
getValue(String, String...) - Method in class jodd.props.Props
Returns string value of given profiles.
getValue() - Method in class jodd.props.PropsEntry
Returns the raw value.
getValue(String...) - Method in class jodd.props.PropsEntry
Returns the property value, with replaced macros.
getValueOrDefault(String, String) - Method in class jodd.props.Props
Returns value of property, using active profiles or default value if not found.

H

hasMacro - Variable in class jodd.props.PropsEntry
 
hasMacro() - Method in class jodd.props.PropsEntry
Returns true if value has a macro to resolve.

I

ignoreMissingMacros - Variable in class jodd.props.PropsData
When set, missing macros will be replaces with an empty string.
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.
initialized - Variable in class jodd.props.Props
 
innerMap(String) - Method in class jodd.props.Props
Returns inner map from the props with given prefix.
iterator() - Method in class jodd.props.Props
Returns iterator for active profiles.
iterator() - Method in class jodd.props.PropsEntries
Returns populated iterator.

J

jodd.props - package jodd.props
Super properties.
justAdd(String, String, ArrayList<String>, PropsParser.Operator) - Method in class jodd.props.PropsParser
Core key-value addition.

K

key - Variable in class jodd.props.PropsEntry
 

L

last - Variable in class jodd.props.PropsData
 
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(String...) - Method in class jodd.props.Props
Loads props and properties from the 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.

N

next - Variable in class jodd.props.PropsEntry
 

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(String) - Method in class jodd.props.PropsEntries
Enables profile to iterate.
profile(String...) - Method in class jodd.props.PropsEntries
Enables profiles to iterate.
profile - Variable in class jodd.props.PropsEntry
 
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
 
PropsConverter - Class in jodd.props
Converter of Java Properties to Jodd Props format.
PropsConverter() - Constructor for class jodd.props.PropsConverter
 
PropsData - Class in jodd.props
Props data storage for base and profile properties.
PropsData() - Constructor for class jodd.props.PropsData
 
PropsData(HashMap<String, PropsEntry>, HashMap<String, Map<String, PropsEntry>>) - Constructor for class jodd.props.PropsData
 
propsData - Variable in class jodd.props.PropsEntry
 
propsData - Variable in class jodd.props.PropsParser
 
PropsEntries - Class in jodd.props
Props iterator builder.
PropsEntries(Props) - Constructor for class jodd.props.PropsEntries
 
PropsEntry - Class in jodd.props
Holds props value.
PropsEntry(String, String, String, PropsData) - Constructor for class jodd.props.PropsEntry
 
PropsParser - Class in jodd.props
Props parser.
PropsParser() - Constructor for class jodd.props.PropsParser
 
PropsParser(PropsData) - Constructor for class jodd.props.PropsParser
 
PropsParser.Operator - Enum in jodd.props
Different assignment operators.
PropsParser.ParseState - Enum in jodd.props
Parsing states.
put(String, Map<String, PropsEntry>, String, String, boolean) - Method in class jodd.props.PropsData
Puts key-value pair into the map, with respect of appending duplicate properties
putBaseProperty(String, String, boolean) - Method in class jodd.props.PropsData
Adds base property.
putProfileProperty(String, String, String, boolean) - Method in class jodd.props.PropsData
Adds profile property.

R

resolveActiveProfiles() - Method in class jodd.props.Props
Resolves active profiles from special property.
resolveMacros(String, String...) - Method in class jodd.props.PropsData
Resolves all macros in this props set.

S

section(String) - Method in class jodd.props.PropsEntries
Enables section to iterate.
section(String...) - Method in class jodd.props.PropsEntries
Enables sections to iterate.
setActiveProfiles(String...) - Method in class jodd.props.Props
Sets new active profiles and overrides existing ones.
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.
setIgnoreMissingMacros(boolean) - Method in class jodd.props.Props
Ignore missing macros by replacing them with an empty string.
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 as they don't exist.
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.
skipDuplicatesByPosition() - Method in class jodd.props.PropsEntries
Skips all keys after first definition, even if value is set later.
skipDuplicatesByValue() - Method in class jodd.props.PropsEntries
Skips duplicate keys (defined in different profiles) which value is not used for setting current key value.
skipEmptyProps - Variable in class jodd.props.PropsData
When set, empty properties will be skipped.
skipEmptyProps - Variable in class jodd.props.PropsParser
Don't include empty properties.

T

toString() - Method in class jodd.props.PropsEntry
 

V

value - Variable in class jodd.props.PropsEntry
Original value.
valueOf(String) - Static method in enum jodd.props.PropsParser.Operator
Returns the enum constant of this type with the specified name.
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.Operator
Returns an array containing the constants of this enum type, in the order they are declared.
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 F G H I J K L M N P R S T V 
Skip navigation links

Copyright © 2003-present Jodd Team