|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectjava.io.OutputStream
java.io.FilterOutputStream
java.io.PrintStream
com.izforge.izpack.installer.CompileWorker.EclipseStdOutHandler
private static class CompileWorker.EclipseStdOutHandler
This PrintStream is used to track the Eclipse compiler output.
It will pass on all println requests and report progress to the listener.
| Field Summary | |
|---|---|
private CompileHandler |
listener
|
private CompileWorker.StdOutParser |
parser
|
| Fields inherited from class java.io.FilterOutputStream |
|---|
out |
| Constructor Summary | |
|---|---|
CompileWorker.EclipseStdOutHandler(java.io.OutputStream anOutputStream,
CompileHandler aHandler)
Default constructor. |
|
| Method Summary | |
|---|---|
void |
println(java.lang.String x)
Eclipse compiler hopefully only uses println(String). |
void |
write(byte[] buf,
int off,
int len)
Unfortunately, the Eclipse compiler wraps System.out into a BufferedWriter. |
| Methods inherited from class java.io.PrintStream |
|---|
append, append, append, checkError, clearError, close, flush, format, format, print, print, print, print, print, print, print, print, print, printf, printf, println, println, println, println, println, println, println, println, println, setError, write |
| Methods inherited from class java.io.FilterOutputStream |
|---|
write |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
private CompileHandler listener
private CompileWorker.StdOutParser parser
| Constructor Detail |
|---|
public CompileWorker.EclipseStdOutHandler(java.io.OutputStream anOutputStream,
CompileHandler aHandler)
anOutputStream - The stream to wrap.aHandler - the handler to use.| Method Detail |
|---|
public void println(java.lang.String x)
println in class java.io.PrintStream
public void write(byte[] buf,
int off,
int len)
write in class java.io.PrintStream
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||