Enum DefaultStringLookup

java.lang.Object
java.lang.Enum<DefaultStringLookup>
org.apache.commons.text.lookup.DefaultStringLookup
All Implemented Interfaces:
Serializable, Comparable<DefaultStringLookup>

An enumeration defining 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.

Since:
1.7
See Also:
  • Enum Constant Summary

    Enum Constants
    Enum Constant
    Description
    The lookup for Base64 decoding using the key "base64Decoder".
    The lookup for Base64 encoding using the key "base64Encoder".
    The lookup for Java static class member constants using the key "const".
    The lookup for formatting the current date using the key "date".
    The lookup for DNS using the key "dns".
    The lookup for environment properties using the key "env".
    The lookup for files using the key "file".
    The lookup for Java platform information using the key "java".
    The lookup for local host information using the key "localhost".
    The lookup for local host information using the key "loopbackAddress".
    The lookup for properties using the key "properties".
    The lookup for resource bundles using the key "resourceBundle".
    The lookup for scripts using the key "script".
    The lookup for system properties using the key "sys".
    The lookup for URLs using the key "url".
    The lookup for URL decoding using the key "urlDecoder".
    The lookup for URL encoding using the key "urlEncoder".
    The lookup for XML decoding using the key "xml".
    The lookup for XML decoding using the key "xmlDecoder".
    The lookup for XML encoding using the key "xmlEncoder".
  • Method Summary

    Modifier and Type
    Method
    Description
    Gets the standard prefix for the lookup object of this kind.
    Gets the standard StringLookup instance of this kind.
    Returns the enum constant of this type with the specified name.
    Returns an array containing the constants of this enum type, in the order they are declared.

    Methods inherited from class java.lang.Enum

    clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf

    Methods inherited from class java.lang.Object

    getClass, notify, notifyAll, wait, wait, wait