|
org.apache.tools.ant.module/3 3.27.0 2 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.io.OutputStream
org.apache.tools.ant.module.spi.AntOutputStream
@Deprecated public abstract class AntOutputStream
OutputStream for wrapping output of Ant task and capable of parsing Ant output.
Constructor Summary | |
---|---|
AntOutputStream()
Deprecated. |
Method Summary | |
---|---|
void |
close()
Deprecated. |
void |
flush()
Deprecated. |
protected String |
formatMessage(String fileName,
String message,
int line1,
int col1,
int line2,
int col2)
Deprecated. No longer used since org.apache.tools.ant.module/3 3.8. |
protected void |
handleClose()
Deprecated. This method is called when the stream is closed and it allows entensions of this class to do additional tasks. |
void |
write(byte[] b)
Deprecated. |
void |
write(byte[] b,
int offset,
int length)
Deprecated. |
void |
write(int b)
Deprecated. |
protected abstract void |
writeLine(String line)
Deprecated. Write one line of text which was not parsed. |
protected void |
writeLine(String line,
FileObject file,
int line1,
int col1,
int line2,
int col2,
String message)
Deprecated. Please override the variant taking URL instead, since org.apache.tools.ant.module/3 3.10. |
protected boolean |
writeLine(String line,
URL file,
int line1,
int col1,
int line2,
int col2,
String message)
Deprecated. No longer called. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public AntOutputStream()
Method Detail |
---|
public final void close() throws IOException
close
in interface Closeable
close
in class OutputStream
IOException
protected void handleClose() throws IOException
IOException
public final void flush() throws IOException
flush
in interface Flushable
flush
in class OutputStream
IOException
public final void write(byte[] b) throws IOException
write
in class OutputStream
IOException
public final void write(byte[] b, int offset, int length) throws IOException
write
in class OutputStream
IOException
public final void write(int b) throws IOException
write
in class OutputStream
IOException
@Deprecated protected boolean writeLine(String line, URL file, int line1, int col1, int line2, int col2, String message) throws IOException
line
- original text of the linefile
- file location for which this line was generatedline1
- starting line of the messagecol1
- starting column of the messageline2
- ending line of the messagecol2
- ending column of the messagemessage
- message
IOException
@Deprecated protected void writeLine(String line, FileObject file, int line1, int col1, int line2, int col2, String message) throws IOException
line
- original text of the linefile
- file object for which this line was generatedline1
- starting line of the messagecol1
- starting column of the messageline2
- ending line of the messagecol2
- ending column of the messagemessage
- message
IOException
protected abstract void writeLine(String line) throws IOException
IOException
@Deprecated protected String formatMessage(String fileName, String message, int line1, int col1, int line2, int col2)
|
org.apache.tools.ant.module/3 3.27.0 2 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |