| Modifier and Type | Class and Description |
|---|---|
| public static class | JavaPropsMapper.
Base implementation for "Vanilla" |
| Modifier and Type | Field and Description |
|---|---|
| private static final long |
| Access | Constructor and Description |
|---|---|
| public | |
| public | |
| protected |
| Modifier and Type | Method and Description |
|---|---|
| protected Properties | |
| public static JavaPropsMapper. | |
| public static JavaPropsMapper. | |
| public JavaPropsMapper | copy()
Overrides com. Method for creating a new |
| public JavaPropsFactory | getFactory()
Overrides com. Accessor for finding underlying data format factory
( |
| public <T> T | readEnvVariablesAs(JavaPropsSchema schema, Class<T> valueType)
Convenience method, functionally equivalent to: readPropertiesAs(convertMapToProperties(System.getenv()), schema, valueType); |
| public <T> T | readEnvVariablesAs(JavaPropsSchema schema, JavaType valueType)
Convenience method, functionally equivalent to: readPropertiesAs(convertMapToProperties(System.getenv()), schema, valueType); |
| public <T> T | |
| public <T> T | |
| public <T> T | |
| public <T> T | |
| public <T> T | 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. |
| public <T> T | readPropertiesAs(Properties props, JavaPropsSchema schema, 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. |
| public <T> T | readPropertiesAs(Properties props, Class<T> valueType)
Convenience method, functionally equivalent to: readPropertiesAs(props, JavaPropsSchema.emptySchema(), valueType); |
| public <T> T | readPropertiesAs(Properties props, JavaType valueType)
Convenience method, functionally equivalent to: readPropertiesAs(props, JavaPropsSchema.emptySchema(), valueType); |
| public <T> T | readSystemPropertiesAs(JavaPropsSchema schema, Class<T> valueType)
Convenience method, functionally equivalent to: readPropertiesAs(System.getProperties(), schema, valueType); |
| public <T> T | readSystemPropertiesAs(JavaPropsSchema schema, JavaType valueType)
Convenience method, functionally equivalent to: readPropertiesAs(System.getProperties(), schema, valueType); |
| public Version | version()
Overrides com. Implements com. Method that will return version information stored in and read from jar that contains this class. |
| public void | writeValue(Map<?, ?> target, Object value)
Convenience method that "writes" given `value` as properties
in given |
| public void | writeValue(Map<?, ?> target, Object value, JavaPropsSchema schema)
Convenience method that "writes" given `value` as properties
in given |
| public void | |
| public void | |
| public Map | writeValueAsMap(Object value)
Convenience method that serializes given value but so that results are
stored in a newly constructed |
| public Map | writeValueAsMap(Object value, JavaPropsSchema schema)
Convenience method that serializes given value but so that results are
stored in given |
| public Properties | writeValueAsProperties(Object value)
Convenience method that serializes given value but so that results are
stored in a newly constructed |
| public Properties | writeValueAsProperties(Object value, JavaPropsSchema schema)
Convenience method that serializes given value but so that results are
stored in given |