Uses of Class
jodd.props.Props
-
Uses of Props in jodd.props
Fields in jodd.props declared as PropsMethods in jodd.props that return PropsModifier and TypeMethodDescriptionprotected PropsProps.clone()Clones props by creating new instance and copying current configuration.static PropsProps.create()Statis ctor.Loads props from the file.Loads properties from the file in provided encoding.Props.load(InputStream in) Loads properties from input stream.Props.load(InputStream in, String encoding) Loads properties from input stream and provided encoding.Loads props from the string.Loads base properties from the provided java properties.Loads base properties from java Map using provided prefix.Props.loadEnvironment(String prefix) Loads environment properties with given prefix.Props.loadSystemProperties(String prefix) Loads system properties with given prefix.Props.setActiveProfiles(String... activeProfiles) Sets new active profiles and overrides existing ones.Props.setAppendDuplicateProps(boolean appendDuplicateProps) Appends duplicate props.Props.setEscapeNewLineValue(String escapeNewLineValue) Specifies the new line string when EOL is escaped.Props.setIgnoreMissingMacros(boolean ignoreMissingMacros) Ignore missing macros by replacing them with an empty string.Props.setIgnorePrefixWhitespacesOnNewLine(boolean ignorePrefixWhitespacesOnNewLine) Defines if the prefix whitespaces should be ignored when value is split into the lines.Props.setMultilineValues(boolean multilineValues) Enables multiline values.Props.setSkipEmptyProps(boolean skipEmptyProps) Skips empty properties as they don't exist.Props.setValueTrimLeft(boolean valueTrimLeft) Specifies should the values be trimmed from the left.Props.setValueTrimRight(boolean valueTrimRight) Specifies should the values be trimmed from the right.Constructors in jodd.props with parameters of type Props