|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectde.uni_paderborn.fujaba.basic.ProcessOutputViewer.StreamPoller
This class polls an input stream and appends the input to the text in a text area. Be careful, if you create a thread out of this class, remind that you have to stop the thread explicitly, because the run method is implemented as a never ending loop.
Field Summary | |
private java.io.InputStreamReader |
in
No comment provided by developer, please add a comment to improve documentation. |
private javax.swing.JTextArea |
out
No comment provided by developer, please add a comment to improve documentation. |
private boolean |
stopped
No comment provided by developer, please add a comment to improve documentation. |
Constructor Summary | |
ProcessOutputViewer.StreamPoller(java.io.InputStream in,
javax.swing.JTextArea out)
Constructor for class StreamPoller |
Method Summary | |
void |
run()
Main processing method for the StreamPoller object |
void |
stop()
No comment provided by developer, please add a comment to improve documentation. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
private java.io.InputStreamReader in
private javax.swing.JTextArea out
private boolean stopped
Constructor Detail |
public ProcessOutputViewer.StreamPoller(java.io.InputStream in, javax.swing.JTextArea out)
in
- No description providedout
- No description providedMethod Detail |
public void stop()
public void run()
run
in interface java.lang.Runnable
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |