|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.io.OutputStream
java.io.FilterOutputStream
org.netbeans.lib.cvsclient.util.LoggedDataOutputStream
public class LoggedDataOutputStream
A data output stream that also logs everything sent to a Writer (via the logger).
Field Summary |
---|
Fields inherited from class java.io.FilterOutputStream |
---|
out |
Constructor Summary | |
---|---|
LoggedDataOutputStream(OutputStream out)
Construct a logged stream using the specified underlying stream |
Method Summary | |
---|---|
void |
close()
Closes this input stream and releases any system resources associated with the stream. |
long |
getCounter()
|
OutputStream |
getUnderlyingStream()
|
void |
setUnderlyingStream(OutputStream os)
|
void |
write(byte[] b)
|
void |
write(byte[] b,
int off,
int len)
|
void |
write(int b)
|
void |
writeBytes(String line)
Write a line to the stream, logging it too. |
void |
writeBytes(String line,
String encoding)
Write a line to the stream, logging it too. |
void |
writeChars(String line)
Deprecated. Line to to bytes conversion is host specifics. Use raw byte access methods insted. |
Methods inherited from class java.io.FilterOutputStream |
---|
flush |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public LoggedDataOutputStream(OutputStream out)
out
- the streamMethod Detail |
---|
public void writeChars(String line) throws IOException
IOException
public void writeBytes(String line) throws IOException
writeBytes(String, String)
if possible.
IOException
public void writeBytes(String line, String encoding) throws IOException
IOException
public void write(int b) throws IOException
write
in class FilterOutputStream
IOException
public void write(byte[] b) throws IOException
write
in class FilterOutputStream
IOException
public void write(byte[] b, int off, int len) throws IOException
write
in class FilterOutputStream
IOException
public void close() throws IOException
close
in interface Closeable
close
in class FilterOutputStream
IOException
public OutputStream getUnderlyingStream()
public void setUnderlyingStream(OutputStream os)
public long getCounter()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |