|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectunc.cdva.utils.Util
public class Util
Utility class
Constructor Summary | |
---|---|
Util()
|
Method Summary | |
---|---|
protected static java.lang.String |
generateLogString(java.lang.String line)
Generate log line |
static java.io.InputStream |
getStream(java.lang.String file)
Try to open a file. |
static long |
intToLong(int integer)
Converts an integer into the corresponding long value. |
static void |
printLog(java.lang.String line)
Display line of text + time |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Util()
Method Detail |
---|
public static long intToLong(int integer)
integer
- The integer to convert.
public static void printLog(java.lang.String line)
line
- text to displayprotected static java.lang.String generateLogString(java.lang.String line)
line
- text to displaypublic static java.io.InputStream getStream(java.lang.String file)
file
- path of the file
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |