public static final class PropertySource.Util extends Object
Modifier and Type | Method | 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-2018. 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.