|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.speakright.core.SRUtils
public class SRUtils
Holds commonly used stuff like safeToInt.
| Constructor Summary | |
|---|---|
SRUtils()
|
|
| Method Summary | |
|---|---|
static double |
safeToDouble(java.lang.String s)
Convert string to int without exceptions being thrown. |
static int |
safeToInt(java.lang.String s)
Convert string to int without exceptions being thrown. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public SRUtils()
| Method Detail |
|---|
public static int safeToInt(java.lang.String s)
s - string to be converted, such as "15"
public static double safeToDouble(java.lang.String s)
s - string to be converted, such as "15"
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||