|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.plasma.provisioning.NameUtils
public class NameUtils
| Constructor Summary | |
|---|---|
NameUtils()
|
|
| Method Summary | |
|---|---|
static java.lang.String |
firstToLowerCase(java.lang.String name)
|
static java.lang.String |
firstToUpperCase(java.lang.String name)
|
static java.lang.String |
toAbbreviatedName(java.lang.String name)
Creates a capitalized, underscore delimited name from the given camel case name and removes consonant characters where the name exceeds the given max. |
static java.lang.String |
toAbbreviatedName(java.lang.String name,
int max)
Creates a capitalized, underscore delimited name from the given camel case name and removes consonant characters where the name exceeds the given max. |
static java.lang.String |
toCamelCase(java.lang.String name)
Creates a capitalized, underscore delimited name from the given camel case name. |
static java.lang.String |
toConstantName(java.lang.String name)
Creates a capitalized, underscore delimited name from the given camel case name. |
static java.lang.String[] |
toPackageTokens(java.lang.String uri)
Tokenizes the given URI as an array of names suitable to be used as a UML package hierarchy. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public NameUtils()
| Method Detail |
|---|
public static java.lang.String[] toPackageTokens(java.lang.String uri)
uri -
public static java.lang.String toCamelCase(java.lang.String name)
name - the name
public static java.lang.String toConstantName(java.lang.String name)
name - the name
public static java.lang.String toAbbreviatedName(java.lang.String name)
name - the name
public static java.lang.String toAbbreviatedName(java.lang.String name,
int max)
name - the namemax - the max size to allow before abbreviation begins.
public static java.lang.String firstToUpperCase(java.lang.String name)
public static java.lang.String firstToLowerCase(java.lang.String name)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||