@Deprecated public abstract class AntOutputStream extends OutputStream
Constructor and Description |
---|
AntOutputStream()
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
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.
|
nullOutputStream
public final void close() throws IOException
close
in interface Closeable
close
in interface AutoCloseable
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
- messageIOException
@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
- messageIOException
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)