Uses of Class
com.fasterxml.jackson.dataformat.javaprop.JavaPropsSchema
Packages that use JavaPropsSchema
Package
Description
Basic API types to use with this module:
JavaPropsFactory
is the JsonFactory
implementation used to
create Java Properties parsers and generators
JavaPropsGenerator
is the matching JsonGenerator
implementation to use
JavaPropsParser
is the matching JsonParser
implementation to use
JavaPropsMapper
is a convenience
sub-class of ObjectMapper
that is both configured
to use JavaPropsFactory
, and
adds additional methods for using alternate content sources and targets for improved
interoperability with Properties
, System Properties, and env properties
JavaPropsSchema
is the
FormatSchema
implementation to use with Java Properties
and defines details of how flat Java Properties keys are mapped to structured names
of logical properties, POJOs, as well as other variations within possible Properties
file notation (like indentation, key/value separator, linefeed to use)
Helper classes for dealing with property key to structured path conversion.
-
Uses of JavaPropsSchema in com.fasterxml.jackson.dataformat.javaprop
Fields in com.fasterxml.jackson.dataformat.javaprop declared as JavaPropsSchemaModifier and TypeFieldDescriptionprotected JavaPropsSchema
JavaPropsGenerator._schema
Definition of columns being written, if available.protected JavaPropsSchema
JavaPropsParser._schema
Schema we use for parsing Properties into structure of some kind.protected static final JavaPropsSchema
JavaPropsParser.DEFAULT_SCHEMA
protected static final JavaPropsSchema
JavaPropsSchema.EMPTY
private static final JavaPropsSchema
JavaPropsGenerator.EMPTY_SCHEMA
Methods in com.fasterxml.jackson.dataformat.javaprop that return JavaPropsSchemaModifier and TypeMethodDescriptionstatic JavaPropsSchema
JavaPropsSchema.emptySchema()
JavaPropsParser.getSchema()
JavaPropsSchema.withFirstArrayOffset
(int v) JavaPropsSchema.withHeader
(String v) Mutant factory for constructing schema instance where specified header section (piece of text written out right before actual properties entries) will be used.JavaPropsSchema.withIndexMarker
(Markers v) JavaPropsSchema.withKeyValueSeparator
(String v) JavaPropsSchema.withLineEnding
(String v) JavaPropsSchema.withLineIndentation
(String v) JavaPropsSchema.withoutHeader()
Convenience method, functionally equivalent to:JavaPropsSchema.withoutIndexMarker()
JavaPropsSchema.withoutLineIndentation()
JavaPropsSchema.withoutPathSeparator()
Mutant factory method for constructing a new instance that specifies that no "path splitting" is to be done: this is similar to default behavior ofProperties
in which keys are full Strings and there is no nesting of values.JavaPropsSchema.withParseSimpleIndexes
(boolean v) JavaPropsSchema.withPathSeparator
(String v) Mutant factory method for constructing a new instance with specified path separator; default being comma (".").JavaPropsSchema.withWriteIndexUsingMarkers
(boolean v) Methods in com.fasterxml.jackson.dataformat.javaprop with parameters of type JavaPropsSchemaModifier and TypeMethodDescription<T> T
JavaPropsMapper.readEnvVariablesAs
(JavaPropsSchema schema, com.fasterxml.jackson.databind.JavaType valueType) Convenience method, functionally equivalent to:<T> T
JavaPropsMapper.readEnvVariablesAs
(JavaPropsSchema schema, Class<T> valueType) Convenience method, functionally equivalent to:<T> T
JavaPropsMapper.readPropertiesAs
(Properties props, JavaPropsSchema schema, com.fasterxml.jackson.databind.JavaType valueType) Convenience method which uses given `Properties` as the source as if they had been read from an external source, processes them (splits paths etc), and then binds as given result value.<T> T
JavaPropsMapper.readPropertiesAs
(Properties props, JavaPropsSchema schema, Class<T> valueType) Convenience method which uses given `Properties` as the source as if they had been read from an external source, processes them (splits paths etc), and then binds as given result value.<T> T
JavaPropsMapper.readSystemPropertiesAs
(JavaPropsSchema schema, com.fasterxml.jackson.databind.JavaType valueType) Convenience method, functionally equivalent to:<T> T
JavaPropsMapper.readSystemPropertiesAs
(JavaPropsSchema schema, Class<T> valueType) Convenience method, functionally equivalent to:void
JavaPropsMapper.writeValue
(Properties targetProps, Object value, JavaPropsSchema schema) Convenience method that "writes" given `value` as properties in givenProperties
object.JavaPropsMapper.writeValueAsProperties
(Object value, JavaPropsSchema schema) Convenience method that serializes given value but so that results are stored in givenProperties
instance.Constructors in com.fasterxml.jackson.dataformat.javaprop with parameters of type JavaPropsSchema -
Uses of JavaPropsSchema in com.fasterxml.jackson.dataformat.javaprop.util
Methods in com.fasterxml.jackson.dataformat.javaprop.util with parameters of type JavaPropsSchemaModifier and TypeMethodDescriptionstatic JPropNode
JPropNodeBuilder.build
(JavaPropsSchema schema, Properties props) static JPropPathSplitter
JPropPathSplitter.create
(JavaPropsSchema schema) private static JPropPathSplitter
JPropPathSplitter.pathOnlySplitter
(JavaPropsSchema schema)