public enum DefaultStringLookup extends Enum<DefaultStringLookup>
StringLookup objects available through StringLookupFactory.
This enum was adapted and expanded from Apache Commons Configuration 2.4.
NOTE: Starting in version 1.10.0, not all lookups defined in this class are
included by default in the
StringLookupFactory.addDefaultStringLookups
method. See the StringLookupFactory class documentation for details.
StringLookupFactory,
StringLookup| Enum Constant and Description |
|---|
BASE64_DECODER
The lookup for Base64 decoding using the key
"base64Decoder". |
BASE64_ENCODER
The lookup for Base64 decoding using the key
"base64Encoder". |
CONST
The lookup for Java static class member constants using the key
"const". |
DATE
The lookup for formatting the current date using the key
"date". |
DNS
The lookup for DNS using the key
"dns". |
ENVIRONMENT
The lookup for environment properties using the key
"env". |
FILE
The lookup for files using the key
"file". |
JAVA
The lookup for Java platform information using the key
"java". |
LOCAL_HOST
The lookup for localhost information using the key
"localhost". |
PROPERTIES
The lookup for properties using the key
"properties". |
RESOURCE_BUNDLE
The lookup for resource bundles using the key
"resourceBundle". |
SCRIPT
The lookup for scripts using the key
"script". |
SYSTEM_PROPERTIES
The lookup for system properties using the key
"sys". |
URL
The lookup for URLs using the key
"url". |
URL_DECODER
The lookup for URL decoding using the key
"urlDecoder". |
URL_ENCODER
The lookup for URL decoding using the key
"urlEncoder". |
XML
The lookup for URL decoding using the key
"xml". |
| Modifier and Type | Method and Description |
|---|---|
String |
getKey()
Returns the standard prefix for the lookup object of this kind.
|
StringLookup |
getStringLookup()
Returns the standard
StringLookup instance of this kind. |
static DefaultStringLookup |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static DefaultStringLookup[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final DefaultStringLookup BASE64_DECODER
"base64Decoder".public static final DefaultStringLookup BASE64_ENCODER
"base64Encoder".public static final DefaultStringLookup CONST
"const".public static final DefaultStringLookup DATE
"date".public static final DefaultStringLookup DNS
"dns".StringLookupFactory.KEY_DNS,
StringLookupFactory.dnsStringLookup()public static final DefaultStringLookup ENVIRONMENT
"env".public static final DefaultStringLookup FILE
"file".public static final DefaultStringLookup JAVA
"java".public static final DefaultStringLookup LOCAL_HOST
"localhost".public static final DefaultStringLookup PROPERTIES
"properties".public static final DefaultStringLookup RESOURCE_BUNDLE
"resourceBundle".public static final DefaultStringLookup SCRIPT
"script".public static final DefaultStringLookup SYSTEM_PROPERTIES
"sys".public static final DefaultStringLookup URL
"url".public static final DefaultStringLookup URL_DECODER
"urlDecoder".public static final DefaultStringLookup URL_ENCODER
"urlEncoder".public static final DefaultStringLookup XML
"xml".public static DefaultStringLookup[] values()
for (DefaultStringLookup c : DefaultStringLookup.values()) System.out.println(c);
public static DefaultStringLookup valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic String getKey()
public StringLookup getStringLookup()
StringLookup instance of this kind.StringLookup objectCopyright © 2014–2022 The Apache Software Foundation. All rights reserved.