Uses of Interface
org.apache.commons.text.lookup.StringLookup
-
Packages that use StringLookup Package Description org.apache.commons.text Basic classes for text handling.org.apache.commons.text.lookup Provides algorithms for looking up strings for use with aStringSubstitutor. -
-
Uses of StringLookup in org.apache.commons.text
Classes in org.apache.commons.text that implement StringLookup Modifier and Type Class Description classStrLookup<V>Deprecated.Deprecated as of 1.3, useStringLookupFactoryinstead.(package private) static classStrLookup.MapStrLookup<V>Deprecated.Lookup implementation that uses a Map.Methods in org.apache.commons.text that return StringLookup Modifier and Type Method Description StringLookupStringSubstitutor. getStringLookup()Gets the StringLookup that is used to lookup variables.Methods in org.apache.commons.text with parameters of type StringLookup Modifier and Type Method Description StringSubstitutorStringSubstitutor. setVariableResolver(StringLookup variableResolver)Sets the VariableResolver that is used to lookup variables.Constructors in org.apache.commons.text with parameters of type StringLookup Constructor Description StringSubstitutor(StringLookup variableResolver)Creates a new instance and initializes it.StringSubstitutor(StringLookup variableResolver, String prefix, String suffix, char escape)Creates a new instance and initializes it.StringSubstitutor(StringLookup variableResolver, String prefix, String suffix, char escape, String valueDelimiter)Creates a new instance and initializes it.StringSubstitutor(StringLookup variableResolver, StringMatcher prefixMatcher, StringMatcher suffixMatcher, char escape)Creates a new instance and initializes it.StringSubstitutor(StringLookup variableResolver, StringMatcher prefixMatcher, StringMatcher suffixMatcher, char escape, StringMatcher valueDelimiterMatcher)Creates a new instance and initializes it. -
Uses of StringLookup in org.apache.commons.text.lookup
Subinterfaces of StringLookup in org.apache.commons.text.lookup Modifier and Type Interface Description interfaceBiStringLookup<U>Lookups a String key for a String value.Classes in org.apache.commons.text.lookup that implement StringLookup Modifier and Type Class Description (package private) classAbstractStringLookupA default lookup for others to extend in this package.(package private) classBiFunctionStringLookup<P,R>A function-based lookup where the request for a lookup is answered by applying that function with a key.(package private) classConstantStringLookupLooks up the value of a fully-qualified static final value.(package private) classDateStringLookupFormats the current date with the format given in the key in a format compatible withSimpleDateFormat.(package private) classDnsStringLookupLooks up keys related to DNS entries like host name, canonical host name, host address.(package private) classFileStringLookupLooks up keys from an XML document.(package private) classFunctionStringLookup<V>A function-based lookup where the request for a lookup is answered by applying that function with a key.(package private) classInterpolatorStringLookupProxies otherStringLookups using a keys within ${} markers using the format "${StringLookup:Key}".(package private) classJavaPlatformStringLookupLooks up keys related to Java: Java version, JRE version, VM version, and so on.(package private) classLocalHostStringLookupLooks up keys related to the local host: host name, canonical host name, host address.(package private) classPropertiesStringLookupLooks up keys from an XML document.(package private) classResourceBundleStringLookupLooks up keys from resource bundles.(package private) classScriptStringLookupExecutes the script with the given engine name.(package private) classUrlDecoderStringLookupDecodes URL Strings using the UTF-8 encoding.(package private) classUrlEncoderStringLookupEncodes URL Strings using the UTF-8 encoding.(package private) classUrlStringLookupLooks up keys from an XML document.(package private) classXmlStringLookupLooks up keys from an XML document.Methods in org.apache.commons.text.lookup that return StringLookup Modifier and Type Method Description StringLookupStringLookupFactory. base64DecoderStringLookup()Returns the Base64DecoderStringLookup singleton instance to decode Base64 strings.StringLookupStringLookupFactory. base64EncoderStringLookup()Returns the Base64EncoderStringLookup singleton instance to encode strings to Base64.StringLookupStringLookupFactory. base64StringLookup()Deprecated.StringLookupStringLookupFactory. constantStringLookup()Returns the ConstantStringLookup singleton instance to look up the value of a fully-qualified static final value.StringLookupStringLookupFactory. dateStringLookup()Returns the DateStringLookup singleton instance to format the current date with the format given in the key in a format compatible withSimpleDateFormat.StringLookupStringLookupFactory. dnsStringLookup()Returns the DnsStringLookup singleton instance where the lookup key is one of: name: for the local host name, for exampleEXAMPLEbut alsoEXAMPLE.apache.org. canonical-name: for the local canonical host name, for exampleEXAMPLE.apache.org. address: for the local host address, for example192.168.56.1.StringLookupStringLookupFactory. environmentVariableStringLookup()Returns the EnvironmentVariableStringLookup singleton instance where the lookup key is an environment variable name.StringLookupStringLookupFactory. fileStringLookup()Returns the FileStringLookup singleton instance.<R> StringLookupStringLookupFactory. functionStringLookup(Function<String,R> function)Returns a new function-based lookup where the request for a lookup is answered by applying the function with a lookup key.StringLookupDefaultStringLookup. getStringLookup()Returns the standardStringLookupinstance of this kind.StringLookupStringLookupFactory. interpolatorStringLookup()Returns a new InterpolatorStringLookup using thedefault lookups.StringLookupStringLookupFactory. interpolatorStringLookup(Map<String,StringLookup> stringLookupMap, StringLookup defaultStringLookup, boolean addDefaultLookups)Returns a new InterpolatorStringLookup using thedefault lookups.<V> StringLookupStringLookupFactory. interpolatorStringLookup(Map<String,V> map)Returns a new InterpolatorStringLookup using thedefault lookups.StringLookupStringLookupFactory. interpolatorStringLookup(StringLookup defaultStringLookup)Returns a new InterpolatorStringLookup using thedefault lookups.StringLookupStringLookupFactory. javaPlatformStringLookup()Returns the JavaPlatformStringLookup singleton instance.StringLookupStringLookupFactory. localHostStringLookup()Returns the LocalHostStringLookup singleton instance where the lookup key is one of: name: for the local host name, for exampleEXAMPLE. canonical-name: for the local canonical host name, for exampleEXAMPLE.apache.org. address: for the local host address, for example192.168.56.1.<V> StringLookupStringLookupFactory. mapStringLookup(Map<String,V> map)Returns a new map-based lookup where the request for a lookup is answered with the value for that key.StringLookupStringLookupFactory. nullStringLookup()Returns the NullStringLookup singleton instance which always returns null.StringLookupStringLookupFactory. propertiesStringLookup()Returns the PropertiesStringLookup singleton instance.StringLookupStringLookupFactory. resourceBundleStringLookup()Returns the ResourceBundleStringLookup singleton instance.StringLookupStringLookupFactory. resourceBundleStringLookup(String bundleName)Returns a ResourceBundleStringLookup instance for the given bundle name.StringLookupStringLookupFactory. scriptStringLookup()Returns the ScriptStringLookup singleton instance.StringLookupStringLookupFactory. systemPropertyStringLookup()Returns the SystemPropertyStringLookup singleton instance where the lookup key is a system property name.StringLookupStringLookupFactory. urlDecoderStringLookup()Returns the UrlDecoderStringLookup singleton instance.StringLookupStringLookupFactory. urlEncoderStringLookup()Returns the UrlDecoderStringLookup singleton instance.StringLookupStringLookupFactory. urlStringLookup()Returns the UrlStringLookup singleton instance.StringLookupStringLookupFactory. xmlStringLookup()Returns the XmlStringLookup singleton instance.Methods in org.apache.commons.text.lookup that return types with arguments of type StringLookup Modifier and Type Method Description Map<String,StringLookup>InterpolatorStringLookup. getStringLookupMap()Gets the lookup map.Methods in org.apache.commons.text.lookup with parameters of type StringLookup Modifier and Type Method Description StringLookupStringLookupFactory. interpolatorStringLookup(Map<String,StringLookup> stringLookupMap, StringLookup defaultStringLookup, boolean addDefaultLookups)Returns a new InterpolatorStringLookup using thedefault lookups.StringLookupStringLookupFactory. interpolatorStringLookup(StringLookup defaultStringLookup)Returns a new InterpolatorStringLookup using thedefault lookups.Method parameters in org.apache.commons.text.lookup with type arguments of type StringLookup Modifier and Type Method Description voidStringLookupFactory. addDefaultStringLookups(Map<String,StringLookup> stringLookupMap)Adds thedefault lookups.StringLookupStringLookupFactory. interpolatorStringLookup(Map<String,StringLookup> stringLookupMap, StringLookup defaultStringLookup, boolean addDefaultLookups)Returns a new InterpolatorStringLookup using thedefault lookups.Constructors in org.apache.commons.text.lookup with parameters of type StringLookup Constructor Description InterpolatorStringLookup(Map<String,StringLookup> stringLookupMap, StringLookup defaultStringLookup, boolean addDefaultLookups)Creates a fully customized instance.InterpolatorStringLookup(StringLookup defaultStringLookup)Creates an instance with the given lookup.Constructor parameters in org.apache.commons.text.lookup with type arguments of type StringLookup Constructor Description InterpolatorStringLookup(Map<String,StringLookup> stringLookupMap, StringLookup defaultStringLookup, boolean addDefaultLookups)Creates a fully customized instance.
-