|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.velocity.tools.generic.SafeConfig org.openphacts.nextprot.util.EchoTool
public class EchoTool
Field Summary |
---|
Fields inherited from class org.apache.velocity.tools.generic.SafeConfig |
---|
LOCK_CONFIG_KEY, OLD_LOCK_CONFIG_KEY, SAFE_MODE_KEY |
Constructor Summary | |
---|---|
EchoTool()
Creates the echo tool |
Method Summary | |
---|---|
void |
advance()
Advances the progress meter by a single unit. |
void |
advance(Object amount)
Advances the progress meter by a certain amount. |
Object |
getColumns()
Get the MaxCols value. |
Object |
getMark()
Get the HashMark value. |
void |
println(Object x)
Prints a message to stdout. |
void |
setColumns(Object newMaxCols)
Set the MaxCols value. |
void |
setMark(Object newHashMark)
Set the HashMark value. |
void |
startProgress()
Resets the progress meter |
Methods inherited from class org.apache.velocity.tools.generic.SafeConfig |
---|
configure, configure, isConfigLocked, isSafeMode, setLockConfig, setSafeMode |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public EchoTool()
Method Detail |
---|
public void println(Object x)
x
- the message objectpublic void startProgress()
public void advance(Object amount)
amount
- the amount of progress.public void advance()
public Object getMark()
public void setMark(Object newHashMark)
newHashMark
- The new HashMark value.public Object getColumns()
public void setColumns(Object newMaxCols)
newMaxCols
- The new MaxCols value.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |