Provides algorithms for looking up strings for use with a StringSubstitutor. The main class in this package is StringLookupFactory.
Use StringLookupFactory to create instances of string
lookups or access singleton string lookups. The main interface is StringLookup which is implemented here in package private classes.
Like BiFunction is a variant of Function,
this BiStringLookup is a variant of
StringLookup.
The initial implementation was adapted from Apache Commons Log4j 2.11.0.
| Modifier and Type | Interface and Description |
|---|---|
| public interface | |
| public interface | StringLookup
Lookups a String key for a String value. |
| Modifier and Type | Class and Description |
|---|---|
| pack-priv abstract class | AbstractPathFencedLookup
Abstracts string lookup that guards Path lookups with a fence. |
| pack-priv abstract class | AbstractStringLookup
A default lookup for others to extend in this package. |
| pack-priv class | BiFunctionStringLookup<
A function's second input type P, A function's return type R>A function-based lookup where the request for a lookup is answered by applying that function with a key. |
| pack-priv class | ConstantStringLookup
Looks up the value of a fully-qualified static final value. |
| pack-priv class | DateStringLookup
Formats the current date with the format given in the key in a format compatible with
|
| pack-priv class | DnsStringLookup
Looks up keys related to DNS entries like host name, canonical host name, host address. |
| pack-priv class | FileStringLookup
Looks up file contents. |
| pack-priv class | FunctionStringLookup<
A function's input type V>A function-based lookup where the request for a lookup is answered by applying that function with a key. |
| pack-priv class | IllegalArgumentExceptions
Shorthands creating |
| pack-priv class | InetAddressKeys
Constants for referring to |
| pack-priv class | InetAddressStringLookup
Looks up keys related to an |
| pack-priv class | InterpolatorStringLookup
Proxies other |
| pack-priv class | JavaPlatformStringLookup
Looks up keys related to Java: Java version, JRE version, VM version, and so on. |
| pack-priv class | PathFence
A Path fence guards against using paths outside of a "fence" of made of root paths. |
| pack-priv class | PropertiesStringLookup
Looks up keys from a properties file. |
| pack-priv class | ResourceBundleStringLookup
Looks up keys from resource bundles. |
| pack-priv class | ScriptStringLookup
Executes the script with the given engine name. |
| public class | StringLookupFactory
Create instances of string lookups or access singleton string lookups implemented in this package. |
| pack-priv class | UrlDecoderStringLookup
Decodes URL Strings using the UTF-8 encoding. |
| pack-priv class | UrlEncoderStringLookup
Encodes URL Strings using the UTF-8 encoding. |
| pack-priv class | UrlStringLookup
Looks up keys from an XML document. |
| pack-priv class | XmlDecoderStringLookup
Decodes strings according to the XML 1.0 specification. |
| pack-priv class | XmlEncoderStringLookup
Encodes strings according to the XML 1.0 specification. |
| pack-priv class | XmlStringLookup
Looks up values in an XML document in the format |
| Modifier and Type | Enum and Description |
|---|---|
| public enum | DefaultStringLookup
An enumeration defining |