fr.fluxmedia.tmcontrib.serializer
Class RTFSerializer.DebugOutputStream
java.lang.Object
java.io.OutputStream
java.io.FilterOutputStream
fr.fluxmedia.tmcontrib.serializer.RTFSerializer.DebugOutputStream
- All Implemented Interfaces:
- java.io.Closeable, java.io.Flushable
- Enclosing class:
- RTFSerializer
class RTFSerializer.DebugOutputStream
- extends java.io.FilterOutputStream
An utility class to control the outputs of the jFor converter.
Outputs are only visible when debug > 1
- Author:
- triolet
Field Summary |
(package private) int |
debug
|
Fields inherited from class java.io.FilterOutputStream |
out |
Method Summary |
void |
write(byte[] b)
Description of the Method |
void |
write(byte[] b,
int off,
int len)
Description of the Method |
void |
write(int b)
Description of the Method |
Methods inherited from class java.io.FilterOutputStream |
close, flush |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
debug
int debug
RTFSerializer.DebugOutputStream
public RTFSerializer.DebugOutputStream(java.io.OutputStream out,
int d)
- Constructor for the DebugOutputStream object
- Parameters:
out
- Description of the Parameterd
- Description of the Parameter
write
public void write(byte[] b)
throws java.io.IOException
- Description of the Method
- Overrides:
write
in class java.io.FilterOutputStream
- Parameters:
b
- Description of the Parameter
- Throws:
java.io.IOException
- Description of the Exception
write
public void write(byte[] b,
int off,
int len)
throws java.io.IOException
- Description of the Method
- Overrides:
write
in class java.io.FilterOutputStream
- Parameters:
b
- Description of the Parameteroff
- Description of the Parameterlen
- Description of the Parameter
- Throws:
java.io.IOException
- Description of the Exception
write
public void write(int b)
throws java.io.IOException
- Description of the Method
- Overrides:
write
in class java.io.FilterOutputStream
- Parameters:
b
- Description of the Parameter
- Throws:
java.io.IOException
- Description of the Exception
..no bottom yet...