|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--y.util.YUtil
This class provides some static convenience methods and temporary scratch variables.
Method Summary | |
static boolean |
getBool(Object obj)
Converts an Object to boolean. |
static double |
getDouble(Object obj)
Converts an Object to double. |
static int |
getInt(Object obj)
Converts an Object to int. |
static URL |
getURL(String relativePath)
Returns the corresponding absolute URL to the given relative path. |
static boolean |
isDoubleConvertible(Object obj)
Checks if the given Object is convertible to a double value. |
static boolean |
isIntConvertible(Object obj)
Checks if the given Object is convertible to an integer value. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
public static boolean getBool(Object obj)
public static boolean isIntConvertible(Object obj)
public static boolean isDoubleConvertible(Object obj)
public static int getInt(Object obj)
0 is returned.
public static double getDouble(Object obj)
0.0 is returned.
public static URL getURL(String relativePath)
|
© Copyright 2000-2003, yWorks GmbH. All rights reserved. 2003 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |