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 JavaPropsSchemaJavaPropsGenerator._schemaDefinition of columns being written, if available.protected JavaPropsSchemaJavaPropsParser._schemaSchema we use for parsing Properties into structure of some kind.protected static final JavaPropsSchemaJavaPropsParser.DEFAULT_SCHEMAprotected static final JavaPropsSchemaJavaPropsSchema.EMPTYprivate static final JavaPropsSchemaJavaPropsGenerator.EMPTY_SCHEMAMethods in com.fasterxml.jackson.dataformat.javaprop that return JavaPropsSchemaModifier and TypeMethodDescriptionstatic JavaPropsSchemaJavaPropsSchema.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 ofPropertiesin 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.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.withPrefix(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.withWriteIndexUsingMarkers(boolean v) Methods in com.fasterxml.jackson.dataformat.javaprop with parameters of type JavaPropsSchemaModifier and TypeMethodDescriptionJavaPropsFactory.createGenerator(Map<?, ?> target, JavaPropsSchema schema) Convenience method to allow using a pre-constructedMapinstance as output target, so that serialized property values are added.<T> TJavaPropsMapper.readEnvVariablesAs(JavaPropsSchema schema, com.fasterxml.jackson.databind.JavaType valueType) Convenience method, functionally equivalent to:<T> TJavaPropsMapper.readEnvVariablesAs(JavaPropsSchema schema, Class<T> valueType) Convenience method, functionally equivalent to:<T> TJavaPropsMapper.readMapAs(Map<String, 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> TConvenience 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> TJavaPropsMapper.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> TJavaPropsMapper.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> TJavaPropsMapper.readSystemPropertiesAs(JavaPropsSchema schema, com.fasterxml.jackson.databind.JavaType valueType) Convenience method, functionally equivalent to:<T> TJavaPropsMapper.readSystemPropertiesAs(JavaPropsSchema schema, Class<T> valueType) Convenience method, functionally equivalent to:voidJavaPropsMapper.writeValue(Map<?, ?> target, Object value, JavaPropsSchema schema) Convenience method that "writes" given `value` as properties in givenMapobject.voidJavaPropsMapper.writeValue(Properties targetProps, Object value, JavaPropsSchema schema) Deprecated.JavaPropsMapper.writeValueAsMap(Object value, JavaPropsSchema schema) Convenience method that serializes given value but so that results are stored in givenPropertiesinstance.JavaPropsMapper.writeValueAsProperties(Object value, JavaPropsSchema schema) Convenience method that serializes given value but so that results are stored in givenPropertiesinstance.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 JPropNodeJPropNodeBuilder.build(JavaPropsSchema schema, Properties props) Deprecated.Since 2.10static JPropNodeJPropNodeBuilder.build(Map<?, ?> content, JavaPropsSchema schema) static JPropPathSplitterJPropPathSplitter.create(JavaPropsSchema schema) private static JPropPathSplitterJPropPathSplitter.pathOnlySplitter(JavaPropsSchema schema)