Class TomlProvider
java.lang.Object
org.microbean.loader.spi.AbstractProvider
org.microbean.loader.spi.AbstractTreeBasedProvider<TreeNode>
org.microbean.loader.jackson.JacksonProvider
org.microbean.loader.jackson.InputStreamJacksonProvider
org.microbean.loader.jackson.toml.TomlProvider
- All Implemented Interfaces:
Provider
An
InputStreamJacksonProvider
that reads TOML-formatted
application.toml
classpath resources.- Author:
- Laird Nelson
- See Also:
-
Constructor Summary
ConstructorDescriptionCreates a newTomlProvider
that reads TOML-formattedapplication.toml
classpath resources.TomlProvider
(Type lowerBound, String resourceName) Creates a newTomlProvider
. -
Method Summary
Methods inherited from class org.microbean.loader.jackson.InputStreamJacksonProvider
closeInputStream, inputStream, objectCodec, rootNode
Methods inherited from class org.microbean.loader.jackson.JacksonProvider
absent, get, get, list, map, names, nil, qualifiers, reader, size
Methods inherited from class org.microbean.loader.spi.AbstractTreeBasedProvider
container, find, path, path, qualifiers
Methods inherited from class org.microbean.loader.spi.AbstractProvider
get, lowerBound
-
Constructor Details
-
TomlProvider
public TomlProvider()Creates a newTomlProvider
that reads TOML-formattedapplication.toml
classpath resources.- See Also:
-
TomlProvider
Creates a newTomlProvider
.- Parameters:
lowerBound
- the lower type bound of thisInputStreamJacksonProvider
implementation; may benull
resourceName
- the name of the classpath resource to read from; must not benull
- Throws:
NullPointerException
- ifresourceName
isnull
-