Uses of Class
com.fasterxml.jackson.dataformat.javaprop.JavaPropsSchema
-
Packages that use JavaPropsSchema Package Description com.fasterxml.jackson.dataformat.javaprop Basic API types to use with this module:JavaPropsFactory
is theJsonFactory
implementation used to create Java Properties parsers and generatorsJavaPropsGenerator
is the matchingJsonGenerator
implementation to useJavaPropsParser
is the matchingJsonParser
implementation to useJavaPropsMapper
is a convenience sub-class ofObjectMapper
that is both configured to useJavaPropsFactory
, and adds additional methods for using alternate content sources and targets for improved interoperability withProperties
, System Properties, and env propertiesJavaPropsSchema
is theFormatSchema
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. -
-
Uses of JavaPropsSchema in com.fasterxml.jackson.dataformat.javaprop
Fields in com.fasterxml.jackson.dataformat.javaprop declared as JavaPropsSchema Modifier and Type Field Description protected 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 JavaPropsSchema
JavaPropsParser. DEFAULT_SCHEMA
protected static JavaPropsSchema
JavaPropsSchema. EMPTY
private static JavaPropsSchema
JavaPropsGenerator. EMPTY_SCHEMA
Methods in com.fasterxml.jackson.dataformat.javaprop that return JavaPropsSchema Modifier and Type Method Description static JavaPropsSchema
JavaPropsSchema. emptySchema()
JavaPropsSchema
JavaPropsParser. getSchema()
JavaPropsSchema
JavaPropsSchema. withFirstArrayOffset(int v)
JavaPropsSchema
JavaPropsSchema. withHeader(java.lang.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
JavaPropsSchema. withIndexMarker(Markers v)
JavaPropsSchema
JavaPropsSchema. withKeyValueSeparator(java.lang.String v)
JavaPropsSchema
JavaPropsSchema. withLineEnding(java.lang.String v)
JavaPropsSchema
JavaPropsSchema. withLineIndentation(java.lang.String v)
JavaPropsSchema
JavaPropsSchema. withoutHeader()
Convenience method, functionally equivalent to:JavaPropsSchema
JavaPropsSchema. withoutIndexMarker()
JavaPropsSchema
JavaPropsSchema. withoutLineIndentation()
JavaPropsSchema
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
JavaPropsSchema. withParseSimpleIndexes(boolean v)
JavaPropsSchema
JavaPropsSchema. withPathSeparator(java.lang.String v)
Mutant factory method for constructing a new instance with specified path separator; default being comma (".").JavaPropsSchema
JavaPropsSchema. withPathSeparatorEscapeChar(char v)
Mutant factory method for constructing a new instance with a different escape character to use for single character path separators , enabling the pathSeparator to be included in a segment.JavaPropsSchema
JavaPropsSchema. withPrefix(java.lang.String v)
Mutant factory for constructing schema instance where specified prefix is prepended before logical path when generator writes output and removed by parser before binding back as properties.JavaPropsSchema
JavaPropsSchema. withWriteIndexUsingMarkers(boolean v)
Methods in com.fasterxml.jackson.dataformat.javaprop with parameters of type JavaPropsSchema Modifier and Type Method Description JavaPropsGenerator
JavaPropsFactory. createGenerator(java.util.Map<?,?> target, JavaPropsSchema schema)
Convenience method to allow using a pre-constructedMap
instance as output target, so that serialized property values are added.<T> T
JavaPropsMapper. readEnvVariablesAs(JavaPropsSchema schema, com.fasterxml.jackson.databind.JavaType valueType)
Convenience method, functionally equivalent to:<T> T
JavaPropsMapper. readEnvVariablesAs(JavaPropsSchema schema, java.lang.Class<T> valueType)
Convenience method, functionally equivalent to:<T> T
JavaPropsMapper. readMapAs(java.util.Map<java.lang.String,java.lang.String> map, 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. readMapAs(java.util.Map<java.lang.String,java.lang.String> map, JavaPropsSchema schema, java.lang.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. readPropertiesAs(java.util.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(java.util.Properties props, JavaPropsSchema schema, java.lang.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, java.lang.Class<T> valueType)
Convenience method, functionally equivalent to:void
JavaPropsMapper. writeValue(java.util.Map<?,?> target, java.lang.Object value, JavaPropsSchema schema)
Convenience method that "writes" given `value` as properties in givenMap
object.void
JavaPropsMapper. writeValue(java.util.Properties targetProps, java.lang.Object value, JavaPropsSchema schema)
Deprecated.java.util.Map<java.lang.String,java.lang.String>
JavaPropsMapper. writeValueAsMap(java.lang.Object value, JavaPropsSchema schema)
Convenience method that serializes given value but so that results are stored in givenProperties
instance.java.util.Properties
JavaPropsMapper. writeValueAsProperties(java.lang.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 Constructor Description JavaPropsSchema(JavaPropsSchema base)
-
Uses of JavaPropsSchema in com.fasterxml.jackson.dataformat.javaprop.util
Methods in com.fasterxml.jackson.dataformat.javaprop.util with parameters of type JavaPropsSchema Modifier and Type Method Description static JPropNode
JPropNodeBuilder. build(JavaPropsSchema schema, java.util.Properties props)
Deprecated.Since 2.10static JPropNode
JPropNodeBuilder. build(java.util.Map<?,?> content, JavaPropsSchema schema)
static JPropPathSplitter
JPropPathSplitter. create(JavaPropsSchema schema)
private static JPropPathSplitter
JPropPathSplitter. pathOnlySplitter(JavaPropsSchema schema)
-