|
|||||||||
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.EclipseStdErrHandler
private static class CompileWorker.EclipseStdErrHandler
This PrintStream is used to track the Eclipse compiler error output.
It will pass on all println requests and report progress to the listener.
Field Summary | |
---|---|
private int |
errorCount
|
private CompileWorker.StdErrParser |
parser
|
Fields inherited from class java.io.FilterOutputStream |
---|
out |
Constructor Summary | |
---|---|
CompileWorker.EclipseStdErrHandler(java.io.OutputStream anOutputStream,
CompileHandler aHandler)
Default constructor. |
Method Summary | |
---|---|
int |
getErrorCount()
Get the error state. |
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, 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 int errorCount
private CompileWorker.StdErrParser parser
Constructor Detail |
---|
public CompileWorker.EclipseStdErrHandler(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
public int getErrorCount()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |