Package io.micronaut.toml.env
Class TomlPropertySourceLoader
java.lang.Object
io.micronaut.context.env.AbstractPropertySourceLoader
io.micronaut.toml.env.TomlPropertySourceLoader
- All Implemented Interfaces:
io.micronaut.context.env.PropertySourceLoader
,io.micronaut.context.env.PropertySourceLocator
,io.micronaut.context.env.PropertySourceReader
,io.micronaut.core.order.Ordered
,io.micronaut.core.util.Toggleable
public class TomlPropertySourceLoader
extends io.micronaut.context.env.AbstractPropertySourceLoader
A
PropertySourceLoader
that reads `application.toml` files if they exist.- Since:
- 1.0.0
- Author:
- Jonas Konrad
-
Field Summary
Fields inherited from class io.micronaut.context.env.AbstractPropertySourceLoader
DEFAULT_POSITION, log
Fields inherited from interface io.micronaut.core.order.Ordered
HIGHEST_PRECEDENCE, LOWEST_PRECEDENCE
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected void
processInput
(String name, InputStream input, Map<String, Object> finalMap) Methods inherited from class io.micronaut.context.env.AbstractPropertySourceLoader
createPropertySource, getOrder, isLogEnabled, load, loadEnv, processMap, read, readInput, setLogEnabled
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface io.micronaut.context.env.PropertySourceLoader
load
Methods inherited from interface io.micronaut.context.env.PropertySourceReader
read
Methods inherited from interface io.micronaut.core.util.Toggleable
isEnabled
-
Constructor Details
-
TomlPropertySourceLoader
public TomlPropertySourceLoader()
-
-
Method Details
-
getExtensions
-
processInput
protected void processInput(String name, InputStream input, Map<String, Object> finalMap) throws IOException- Specified by:
processInput
in classio.micronaut.context.env.AbstractPropertySourceLoader
- Throws:
IOException
-