protected Props |
Props.clone() |
Clones props by creating new instance and copying current configuration.
|
static Props |
Props.create() |
Statis ctor.
|
Props |
Props.load(java.io.File file) |
Loads props from the file.
|
Props |
Props.load(java.io.File file,
java.lang.String encoding) |
Loads properties from the file in provided encoding.
|
Props |
Props.load(java.io.InputStream in) |
Loads properties from input stream.
|
Props |
Props.load(java.io.InputStream in,
java.lang.String encoding) |
Loads properties from input stream and provided encoding.
|
Props |
Props.load(java.lang.String data) |
Loads props from the string.
|
Props |
Props.load(java.util.Map<?,?> p) |
Loads base properties from the provided java properties.
|
Props |
Props.load(java.util.Map<?,?> map,
java.lang.String prefix) |
Loads base properties from java Map using provided prefix.
|
Props |
Props.loadEnvironment(java.lang.String prefix) |
Loads environment properties with given prefix.
|
Props |
Props.loadSystemProperties(java.lang.String prefix) |
Loads system properties with given prefix.
|
Props |
Props.setActiveProfiles(java.lang.String... activeProfiles) |
Sets new active profiles and overrides existing ones.
|
Props |
Props.setAppendDuplicateProps(boolean appendDuplicateProps) |
Appends duplicate props.
|
Props |
Props.setEscapeNewLineValue(java.lang.String escapeNewLineValue) |
Specifies the new line string when EOL is escaped.
|
Props |
Props.setIgnoreMissingMacros(boolean ignoreMissingMacros) |
Ignore missing macros by replacing them with an empty string.
|
Props |
Props.setIgnorePrefixWhitespacesOnNewLine(boolean ignorePrefixWhitespacesOnNewLine) |
Defines if the prefix whitespaces should be ignored when value is split into the lines.
|
Props |
Props.setMultilineValues(boolean multilineValues) |
Enables multiline values.
|
Props |
Props.setSkipEmptyProps(boolean skipEmptyProps) |
Skips empty properties as they don't exist.
|
Props |
Props.setValueTrimLeft(boolean valueTrimLeft) |
Specifies should the values be trimmed from the left.
|
Props |
Props.setValueTrimRight(boolean valueTrimRight) |
Specifies should the values be trimmed from the right.
|