org.sourcejammer.client.ant
Class LogOutputStream
java.lang.Object
|
+--java.io.OutputStream
|
+--org.sourcejammer.client.ant.LogOutputStream
- public class LogOutputStream
- extends java.io.OutputStream
An OutputStream that writes to the Task's log() method.
Field Summary |
private Task |
task
|
Method Summary |
void |
write(byte[] b)
|
void |
write(byte[] b,
int off,
int len)
|
void |
write(int b)
|
private void |
writeToLog(java.lang.String s)
|
Methods inherited from class java.io.OutputStream |
close, flush |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
task
private Task task
LogOutputStream
public LogOutputStream(Task task)
write
public void write(int b)
- Specified by:
write
in class java.io.OutputStream
write
public void write(byte[] b)
- Overrides:
write
in class java.io.OutputStream
write
public void write(byte[] b,
int off,
int len)
- Overrides:
write
in class java.io.OutputStream
writeToLog
private void writeToLog(java.lang.String s)
Copyright © 2003 Soucejammer project.