public static final class PropertySource.Util extends Object
Modifier and Type | Method and Description |
---|---|
static CharSequence |
joinAsCamelCase(Iterable<? extends CharSequence> tokens)
Joins a list of strings using camelCaseConventions.
|
static List<CharSequence> |
tokenize(CharSequence value)
Converts a property name string into a list of tokens.
|
public static List<CharSequence> tokenize(CharSequence value)
log4j
,
log4j2
, Log4j
, or org.apache.logging.log4j
, along with separators of
dash -
, dot .
, underscore _
, and slash /
. Tokens can also be separated
by camel case conventions without needing a separator character in between.value
- property namepublic static CharSequence joinAsCamelCase(Iterable<? extends CharSequence> tokens)
tokens
- tokens to convertCopyright © 1999-1969 The Apache Software Foundation. All Rights Reserved.
Apache Logging, Apache Log4j, Log4j, Apache, the Apache feather logo, the Apache Logging project logo, and the Apache Log4j logo are trademarks of The Apache Software Foundation.