Enum DefaultStringLookup

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

public enum DefaultStringLookup extends Enum<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 decoding 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 localhost information using the key "localhost".
    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 decoding using the key "urlEncoder".
    The lookup for URL decoding using the key "xml".
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    private final String
    The prefix under which the associated lookup object is registered.
    private final StringLookup
    The associated lookup instance.
  • Constructor Summary

    Constructors
    Modifier
    Constructor
    Description
    private
    Creates a new instance of DefaultStringLookup and sets the key and the associated lookup instance.
  • Method Summary

    Modifier and Type
    Method
    Description
    Returns the standard prefix for the lookup object of this kind.
    Returns 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