Package org.apache.axiom.om.util
Class LogOutputStream
- java.lang.Object
-
- java.io.OutputStream
-
- org.apache.axiom.om.util.LogOutputStream
-
- All Implemented Interfaces:
Closeable
,Flushable
,AutoCloseable
public class LogOutputStream extends OutputStream
Deprecated.LogOutputStream Writes to log.debug() Also counts the number of bytes
-
-
Constructor Summary
Constructors Constructor Description LogOutputStream(org.apache.commons.logging.Log log, int limit)
Deprecated.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description void
close()
Deprecated.void
flush()
Deprecated.long
getLength()
Deprecated.void
write(byte[] b)
Deprecated.void
write(byte[] b, int off, int len)
Deprecated.void
write(int b)
Deprecated.-
Methods inherited from class java.io.OutputStream
nullOutputStream
-
-
-
-
Method Detail
-
getLength
public long getLength()
Deprecated.
-
close
public void close() throws IOException
Deprecated.- Specified by:
close
in interfaceAutoCloseable
- Specified by:
close
in interfaceCloseable
- Overrides:
close
in classOutputStream
- Throws:
IOException
-
flush
public void flush() throws IOException
Deprecated.- Specified by:
flush
in interfaceFlushable
- Overrides:
flush
in classOutputStream
- Throws:
IOException
-
write
public void write(byte[] b, int off, int len) throws IOException
Deprecated.- Overrides:
write
in classOutputStream
- Throws:
IOException
-
write
public void write(byte[] b) throws IOException
Deprecated.- Overrides:
write
in classOutputStream
- Throws:
IOException
-
write
public void write(int b) throws IOException
Deprecated.- Specified by:
write
in classOutputStream
- Throws:
IOException
-
-