|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.jmol.jcamp.utils.StringDataUtils
public class StringDataUtils
Constructor Summary | |
---|---|
StringDataUtils()
|
Method Summary | |
---|---|
static int |
compareStrings(java.lang.String str1,
java.lang.String str2)
Compares two strings provided and returns an expected integer value based on the comparison |
static java.lang.String |
jcampSubString(java.lang.String str,
int i,
int j)
Returns the sub-string of the string provided |
static java.lang.String |
reduceDataPrecision(java.lang.String data)
Reduces the precision of numerical data strings provided |
static java.lang.String |
truncateEndBlanks(java.lang.String str)
Truncates blank spaces at the end of the string provided |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public StringDataUtils()
Method Detail |
---|
public static java.lang.String jcampSubString(java.lang.String str, int i, int j)
str
- i
- j
-
public static java.lang.String truncateEndBlanks(java.lang.String str)
str
-
public static int compareStrings(java.lang.String str1, java.lang.String str2)
str1
- str2
-
public static java.lang.String reduceDataPrecision(java.lang.String data)
data
-
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |