|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectbt747.sys.Generic
public final class Generic
Constructor Summary | |
---|---|
Generic()
|
Method Summary | |
---|---|
static double |
acos(double x)
Calculate inverse cosinus |
static void |
addThread(BT747Thread o,
boolean highPrio)
Add a thread to the thread list. |
static void |
debug(java.lang.String s)
|
static void |
debug(java.lang.String s,
java.lang.Throwable e)
|
static void |
exception(java.lang.String s,
java.lang.Throwable e)
|
static java.lang.String |
expandPercentTokens(java.lang.String s,
BT747Hashtable tokens)
Fill a tokens list like this (for instance):
tokens.put("p", baseDir); and %p , %e , %f will be
replaced accordingly. |
static int |
getDebugLevel()
Get the debug level. |
static int |
getTimeStamp()
|
static boolean |
isDebug()
Is debug information active |
static double |
pow(double x,
double y)
Calculate x^^y. |
static void |
removeThread(BT747Thread o)
Remove a thread from the thread list. |
static void |
setDebugLevel(int level)
Set the debug level. |
static void |
setPoster(EventPoster poster)
|
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Generic()
Method Detail |
---|
public static final void debug(java.lang.String s, java.lang.Throwable e)
public static final void debug(java.lang.String s)
public static final void setPoster(EventPoster poster)
public static final void exception(java.lang.String s, java.lang.Throwable e)
public static final int getDebugLevel()
public static final boolean isDebug()
public static final void setDebugLevel(int level)
level
- Level.public static final int getTimeStamp()
public static final void addThread(BT747Thread o, boolean highPrio)
o
- The thread.highPrio
- True if high priority.public static final void removeThread(BT747Thread o)
o
- Thread to remove.public static final double acos(double x)
x
- x.
public static final double pow(double x, double y)
x
- x.y
- y.
public static final java.lang.String expandPercentTokens(java.lang.String s, BT747Hashtable tokens)
tokens.put("p", baseDir);
tokens.put("e", fileExt);
tokens.put("f", fileBase);
and %p
, %e
, %f
will be
replaced accordingly.
s
- String witn '%c' tokens where %c will be replaced if 'c' in
the list of tokens.tokens
- Hashtable with tokens.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |