|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.tonbeller.jpivot.util.StringUtil
public class StringUtil
Constructor Summary | |
---|---|
StringUtil()
|
Method Summary | |
---|---|
static java.lang.String |
bracketsAround(java.lang.String orig)
put brackets around string, if not yet there |
static java.lang.String |
createUName(java.lang.String[] strs,
int n)
create unique name from String array |
static java.lang.String |
dimFromUName(java.lang.String uName)
extract dimension (first part) from unique name |
static java.lang.String |
parentFromUName(java.lang.String uName)
extract parent (all exept last part) from unique name |
static java.lang.String[] |
splitUniqueName(java.lang.String uniqueName)
split a unique name |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public StringUtil()
Method Detail |
---|
public static java.lang.String bracketsAround(java.lang.String orig)
orig
-
public static java.lang.String[] splitUniqueName(java.lang.String uniqueName)
uniqueName
-
public static java.lang.String createUName(java.lang.String[] strs, int n)
strs
- - name partsn
- - number of name parts, all if n <= 0
public static java.lang.String dimFromUName(java.lang.String uName)
uName
- - unique name
public static java.lang.String parentFromUName(java.lang.String uName)
uName
- - unique name
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |