|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.eclipse.emf.oda.ecore.util.StringUtil
public class StringUtil
A utility for working with strings and text.
Constructor Summary | |
---|---|
StringUtil()
|
Method Summary | |
---|---|
protected static java.lang.String |
capName(java.lang.String name)
|
protected static java.lang.String |
format(java.lang.String name,
char separator)
|
static java.lang.String |
getFeatureText(EStructuralFeature feature)
Returns formatted text for the specified feature |
protected static EStructuralFeature |
getLabelFeature(EClass eClass)
|
static java.lang.String |
getText(java.lang.Object object)
|
static java.lang.String |
getTypeText(EClassifier classifier)
Returns formatted text for the specified type |
static boolean |
isEmpty(java.lang.String text)
Indicates whether the specified text is null or has a length of zero. |
protected static java.util.List<java.lang.String> |
parseName(java.lang.String sourceName,
char sourceSeparator)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public StringUtil()
Method Detail |
---|
protected static java.util.List<java.lang.String> parseName(java.lang.String sourceName, char sourceSeparator)
protected static java.lang.String format(java.lang.String name, char separator)
protected static java.lang.String capName(java.lang.String name)
protected static EStructuralFeature getLabelFeature(EClass eClass)
public static java.lang.String getText(java.lang.Object object)
public static java.lang.String getFeatureText(EStructuralFeature feature)
feature
- the feature
public static java.lang.String getTypeText(EClassifier classifier)
classifier
- the type
public static boolean isEmpty(java.lang.String text)
text
- the text
|
Copyright 2001-2006 IBM Corporation and others. All Rights Reserved. |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |