public interface ConfigurationDecoder
An interface for decoding encoded values from a configuration source.
Using this interface it is possible to store encoded or encrypted values in a
configuration file. An implementing object can be assigned to a configuration
object. The getEncodedString()
method of the
ImmutableConfiguration
interface makes use of this instance to decode
the value read from the configuration file before it is passed to the caller.
By providing custom implementations of this interface an application can add support for different kinds of encoded strings in configuration files.
Modifier and Type | Method and Description |
---|---|
String |
decode(String s)
Decodes the specified string.
|
String decode(String s)
s
- the string to be decoded (not null)Copyright © 2001–2020 The Apache Software Foundation. All rights reserved.