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:JavaPropsFactoryis theJsonFactoryimplementation used to create Java Properties parsers and generatorsJavaPropsGeneratoris the matchingJsonGeneratorimplementation to useJavaPropsParseris the matchingJsonParserimplementation to useJavaPropsMapperis a convenience sub-class ofObjectMapperthat is both configured to useJavaPropsFactory, and adds additional methods for using alternate content sources and targets for improved interoperability withProperties, System Properties, and env propertiesJavaPropsSchemais theFormatSchemaimplementation 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 JavaPropsSchemaJavaPropsGenerator. _schemaDefinition of columns being written, if available.protected JavaPropsSchemaJavaPropsParser. _schemaSchema we use for parsing Properties into structure of some kind.protected static JavaPropsSchemaJavaPropsParser. DEFAULT_SCHEMAprotected static JavaPropsSchemaJavaPropsSchema. EMPTYprivate static JavaPropsSchemaJavaPropsGenerator. EMPTY_SCHEMAMethods in com.fasterxml.jackson.dataformat.javaprop that return JavaPropsSchema Modifier and Type Method Description static JavaPropsSchemaJavaPropsSchema. emptySchema()JavaPropsSchemaJavaPropsParser. getSchema()JavaPropsSchemaJavaPropsSchema. withFirstArrayOffset(int v)JavaPropsSchemaJavaPropsSchema. 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.JavaPropsSchemaJavaPropsSchema. withIndexMarker(Markers v)JavaPropsSchemaJavaPropsSchema. withKeyValueSeparator(java.lang.String v)JavaPropsSchemaJavaPropsSchema. withLineEnding(java.lang.String v)JavaPropsSchemaJavaPropsSchema. withLineIndentation(java.lang.String v)JavaPropsSchemaJavaPropsSchema. withoutHeader()Convenience method, functionally equivalent to:JavaPropsSchemaJavaPropsSchema. withoutIndexMarker()JavaPropsSchemaJavaPropsSchema. withoutLineIndentation()JavaPropsSchemaJavaPropsSchema. 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.JavaPropsSchemaJavaPropsSchema. withParseSimpleIndexes(boolean v)JavaPropsSchemaJavaPropsSchema. withPathSeparator(java.lang.String v)Mutant factory method for constructing a new instance with specified path separator; default being comma (".").JavaPropsSchemaJavaPropsSchema. 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.JavaPropsSchemaJavaPropsSchema. 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.JavaPropsSchemaJavaPropsSchema. withWriteIndexUsingMarkers(boolean v)Methods in com.fasterxml.jackson.dataformat.javaprop with parameters of type JavaPropsSchema Modifier and Type Method Description JavaPropsGeneratorJavaPropsFactory. createGenerator(java.util.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, java.lang.Class<T> valueType)Convenience method, functionally equivalent to:<T> TJavaPropsMapper. 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> TJavaPropsMapper. 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> TJavaPropsMapper. 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> TJavaPropsMapper. 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> TJavaPropsMapper. readSystemPropertiesAs(JavaPropsSchema schema, com.fasterxml.jackson.databind.JavaType valueType)Convenience method, functionally equivalent to:<T> TJavaPropsMapper. readSystemPropertiesAs(JavaPropsSchema schema, java.lang.Class<T> valueType)Convenience method, functionally equivalent to:voidJavaPropsMapper. writeValue(java.util.Map<?,?> target, java.lang.Object value, JavaPropsSchema schema)Convenience method that "writes" given `value` as properties in givenMapobject.voidJavaPropsMapper. 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 givenPropertiesinstance.java.util.PropertiesJavaPropsMapper. writeValueAsProperties(java.lang.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 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 JPropNodeJPropNodeBuilder. build(JavaPropsSchema schema, java.util.Properties props)Deprecated.Since 2.10static JPropNodeJPropNodeBuilder. build(java.util.Map<?,?> content, JavaPropsSchema schema)static JPropPathSplitterJPropPathSplitter. create(JavaPropsSchema schema)private static JPropPathSplitterJPropPathSplitter. pathOnlySplitter(JavaPropsSchema schema)
-