Package | Description |
---|---|
com.fasterxml.jackson.dataformat.javaprop |
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)
|
com.fasterxml.jackson.dataformat.javaprop.util |
Helper classes for dealing with property key to structured path conversion.
|
Modifier and Type | Field and Description |
---|---|
protected JPropPathSplitter |
JavaPropsSchema._splitter
Since splitter instances are slightly costly to build in some cases,
we will lazily instantiate and cache them.
|
Modifier and Type | Method and Description |
---|---|
JPropPathSplitter |
JavaPropsSchema.pathSplitter()
Accessor for getting a
JPropPathSplitter instance that does
splitting according to the settings of this instance. |
Modifier and Type | Class and Description |
---|---|
static class |
JPropPathSplitter.CharPathOnlySplitter
Simple variant where we only have path separator, and optional "segment
is index iff value is integer number"
|
static class |
JPropPathSplitter.FullSplitter
Instance that supports both path separator and index markers
(and possibly also "simple" indexes)
|
static class |
JPropPathSplitter.IndexOnlySplitter
Special variant that does not use path separator, but does allow
index indicator, at the end of path.
|
static class |
JPropPathSplitter.NonSplitting
"No-op" implementation that does no splitting and simply adds entries
as is.
|
static class |
JPropPathSplitter.StringPathOnlySplitter
Simple variant where we only have path separator, and optional "segment
is index iff value is integer number"
|
Modifier and Type | Field and Description |
---|---|
protected JPropPathSplitter |
JPropPathSplitter.FullSplitter._simpleSplitter |
Modifier and Type | Method and Description |
---|---|
static JPropPathSplitter |
JPropPathSplitter.create(JavaPropsSchema schema) |
Constructor and Description |
---|
JPropPathSplitter.FullSplitter(String pathSeparator,
boolean useSimpleIndex,
Markers indexMarker,
JPropPathSplitter fallbackSplitter) |
Copyright © 2017 FasterXML. All rights reserved.