public interface OracleConfigurationParser
Defines the contract for configuration file parsers used by configuration file providers.
There are two built-in file providers (file and https) that returns properties from the given location. Those file providers call the methods in this interface to read configuration data from different file types.
For more information or an example of the payload, please refer to:
OracleConfigurationProvider.
| Modifier and Type | Field and Description |
|---|---|
static java.util.Map<java.lang.String,OracleConfigurationSecretProvider> |
secretProviders |
| Modifier and Type | Method and Description |
|---|---|
static OracleConfigurationParser |
find(java.lang.String providerType)
Helper method to retrieve a provider based on the type.
|
java.lang.String |
getType() |
default java.util.Properties |
parse(java.io.InputStream source,
java.util.Map<java.lang.String,java.lang.String> options)
Deprecated.
Use
parseConfiguration(InputStream, Map) instead. |
default oracle.jdbc.util.configuration.OracleConfiguration |
parseConfiguration(java.io.InputStream source,
java.util.Map<java.lang.String,java.lang.String> options)
Returns configuration read from
source |
static final java.util.Map<java.lang.String,OracleConfigurationSecretProvider> secretProviders
@Deprecated
default java.util.Properties parse(java.io.InputStream source,
java.util.Map<java.lang.String,java.lang.String> options)
throws java.sql.SQLException
parseConfiguration(InputStream, Map) instead.sourcesource - of the file to be readoptions - contains the key-value pairs captured from an urlsourcejava.sql.SQLException - if fails to read the sourcedefault oracle.jdbc.util.configuration.OracleConfiguration parseConfiguration(java.io.InputStream source,
java.util.Map<java.lang.String,java.lang.String> options)
throws java.sql.SQLException
sourcesource - of the file to be readoptions - contains the key-value pairs captured from an urlsourcejava.sql.SQLException - if fails to read the sourcejava.lang.String getType()
static OracleConfigurationParser find(java.lang.String providerType)
providerType - provider type