public static interface ConfigurationReader.Builder
Configurations.buildReader()
Modifier and Type | Method and Description |
---|---|
ConfigurationReader |
build(javax.json.JsonObject object)
Build the configuration reader for the JSON object.
|
ConfigurationReader |
build(Reader reader)
Build the configuration reader for the provided reader.
|
ConfigurationReader.Builder |
verifyAsBundleResource(boolean flag)
By default a configuration resource is not treated as a bundle resource.
|
ConfigurationReader.Builder |
withBinaryHandler(ConfigurationReader.BinaryHandler handler)
Set the binary handler.
|
ConfigurationReader.Builder |
withConfiguratorPropertyHandler(ConfigurationReader.ConfiguratorPropertyHandler handler)
Set the configurator property handler.
|
ConfigurationReader.Builder |
withIdentifier(String identifier)
Set an identifier.
|
ConfigurationReader.Builder verifyAsBundleResource(boolean flag)
flag
- Enable or disable verification as bundle resourceConfigurationReader.Builder withIdentifier(String identifier)
identifier
- An identifier for the resourceConfigurationReader.Builder withBinaryHandler(ConfigurationReader.BinaryHandler handler)
handler
- The binary handlerConfigurationReader.Builder withConfiguratorPropertyHandler(ConfigurationReader.ConfiguratorPropertyHandler handler)
handler
- The binary handlerConfigurationReader build(Reader reader)
reader
- The reader for the JSONConfigurationReader build(javax.json.JsonObject object)
object
- The JSON objectCopyright © 2006–2021 The Apache Software Foundation. All rights reserved.