smacs.util
Class Convert
java.lang.Object
smacs.util.Convert
- public class Convert
- extends Object
print/scan helper.
allows to print/scan simple types of java - somewhat easier to remember than
the usual Integer.parseInt(String) call. A matter of taste and actually
rarely used within Smacs.
- Author:
- Copyright (C) 2004, Guido Draheim. All rights reserved. Part of SMACS project.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Convert
public Convert()
toInt
public static int toInt(String value)
toInt
public static int toInt(String value,
String defaultvalue)
toInt
public static int toInt(String value,
int defaultresult)
toInt
public static int toInt(String value,
int defaultresult,
String defaultvalue)