|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.lang.Thread
backup.client.Cli
public class Cli
Command line interface for BackupClient
, implementing
UserInterface
.
Nested Class Summary |
---|
Nested classes/interfaces inherited from class java.lang.Thread |
---|
java.lang.Thread.State, java.lang.Thread.UncaughtExceptionHandler |
Field Summary |
---|
Fields inherited from class java.lang.Thread |
---|
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY |
Constructor Summary | |
---|---|
Cli(BackupClient bc)
Constructs a new Cli. |
Method Summary | |
---|---|
void |
processingFile(java.lang.String filename)
Display info about file currently being processed by rdiff-backup. |
void |
run()
Start a separate thread for keeping track of keyboard input. |
void |
status(java.lang.String msg)
Displays a status message. |
void |
warn(java.lang.String msg)
Displays a warning message. |
Methods inherited from class java.lang.Thread |
---|
activeCount, checkAccess, countStackFrames, currentThread, destroy, dumpStack, enumerate, getAllStackTraces, getContextClassLoader, getDefaultUncaughtExceptionHandler, getId, getName, getPriority, getStackTrace, getState, getThreadGroup, getUncaughtExceptionHandler, holdsLock, interrupt, interrupted, isAlive, isDaemon, isInterrupted, join, join, join, resume, setContextClassLoader, setDaemon, setDefaultUncaughtExceptionHandler, setName, setPriority, setUncaughtExceptionHandler, sleep, sleep, start, stop, stop, suspend, toString, yield |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public Cli(BackupClient bc)
bc
- parent BackupClientMethod Detail |
---|
public void run()
run
in interface java.lang.Runnable
run
in class java.lang.Thread
public void status(java.lang.String msg)
UserInterface
status
in interface UserInterface
msg
- messagepublic void warn(java.lang.String msg)
UserInterface
warn
in interface UserInterface
msg
- messagepublic void processingFile(java.lang.String filename)
UserInterface
processingFile
in interface UserInterface
filename
- filename
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |