com.ibm.etools.systems.localfilesubsys.util
Class OutputHandler
java.lang.Object
java.lang.Thread
com.ibm.etools.systems.localfilesubsys.util.OutputHandler
- All Implemented Interfaces:
- ISystemOutputRemoteTypes, Runnable
- public class OutputHandler
- extends Thread
- implements ISystemOutputRemoteTypes
Listener to shell output. As io streams through, refresh events are sent out
for the OutputChangeListener to respond to.
Fields inherited from interface com.ibm.etools.systems.commands.ISystemOutputRemoteTypes |
copyright, TYPE_COMMAND, TYPE_DIRECTORY, TYPE_ENVVAR, TYPE_ENVVAR_LIBPATH, TYPE_ENVVAR_PATH, TYPE_ERROR, TYPE_FILE, TYPE_GREP, TYPE_INFORMATIONAL, TYPE_PROCESS, TYPE_PROMPT, TYPE_WARNING, TYPECATEGORY |
Methods inherited from class java.lang.Thread |
activeCount, checkAccess, countStackFrames, currentThread, destroy, dumpStack, enumerate, getContextClassLoader, getName, getPriority, getThreadGroup, holdsLock, interrupt, interrupted, isAlive, isDaemon, isInterrupted, join, join, join, resume, setContextClassLoader, setDaemon, setName, setPriority, sleep, sleep, start, stop, stop, suspend, toString, yield |
Copyright
public static final String Copyright
- See Also:
- Constant Field Values
_waitIncrement
protected int _waitIncrement
OutputHandler
public OutputHandler(BufferedReader reader,
LocalCommandShellImpl commandObject,
Shell shell,
Patterns patterns,
boolean isStdError)
setWaitTime
public void setWaitTime(int value)
getWaitTime
public int getWaitTime()
getLastOutput
public Object getLastOutput()
handle
public void handle()
refresh
public void refresh(Object lineObject,
boolean cwdChanged)
isFinished
public boolean isFinished()
finish
public void finish()
run
public void run()
- Specified by:
run
in interface Runnable
Copyright © 2005 IBM Corp. All Rights Reserved.
Note: This documentation is for part of an interim API that is still under development and expected to change significantly before reaching stability. It is being made available at this early stage to solicit feedback from pioneering adopters on the understanding that any code that uses this API will almost certainly be broken (repeatedly) as the API evolves.