|
||||||||||
| 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 String |
firstToLowerCase(String name)
|
static String |
firstToUpperCase(String name)
|
static String |
toAbbreviatedName(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 String |
toAbbreviatedName(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 String |
toCamelCase(String name)
Creates a capitalized, underscore delimited name from the given camel case name. |
static String |
toConstantName(String name)
Creates a capitalized, underscore delimited name from the given camel case name. |
static String[] |
toPackageTokens(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 String[] toPackageTokens(String uri)
uri -
public static String toCamelCase(String name)
name - the name
public static String toConstantName(String name)
name - the name
public static String toAbbreviatedName(String name)
name - the name
public static String toAbbreviatedName(String name,
int max)
name - the namemax - the max size to allow before abbreviation begins.
public static String firstToUpperCase(String name)
public static String firstToLowerCase(String name)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||