public class Name extends Object
| Modifier and Type | Field and Description |
|---|---|
static String |
ILLEGAL_PROPERTY_NAME_CHARS
These characters are not allowed in Property names because they may collide
with characters allowed in various formats, in particular, uri style JNDI
names or property files conventions.
|
| Constructor and Description |
|---|
Name(String name,
boolean in,
boolean out) |
| Modifier and Type | Method and Description |
|---|---|
String |
getActualName()
The actual, originally name.
|
boolean |
isIn()
If true, this name is recognized when reading a property from a configuration
source.
|
boolean |
isOut()
If true, this name is used when exporting properties to some other system.
|
static boolean |
isValidPropertyName(String name)
Returns true if the name contains no special characters, as defined in
ILLEGAL_PROPERTY_NAME_CHARS.
|
public static String ILLEGAL_PROPERTY_NAME_CHARS
public Name(String name, boolean in, boolean out)
public boolean isIn()
public boolean isOut()
public String getActualName()
public static boolean isValidPropertyName(String name)
name - Copyright © 2017. All rights reserved.