tk.exgerm.eventtracker
Class DocumentOutputStream

java.lang.Object
  extended by java.io.OutputStream
      extended by tk.exgerm.eventtracker.DocumentOutputStream
All Implemented Interfaces:
Closeable, Flushable

public class DocumentOutputStream
extends OutputStream


Constructor Summary
DocumentOutputStream(Document doc)
          Creates a new instance of DocumentOutputStream
 
Method Summary
 void write(byte[] buf, int offset, int length)
           
 void write(int b)
           
 
Methods inherited from class java.io.OutputStream
close, flush, write
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DocumentOutputStream

public DocumentOutputStream(Document doc)
Creates a new instance of DocumentOutputStream

Method Detail

write

public void write(byte[] buf,
                  int offset,
                  int length)
           throws IOException
Overrides:
write in class OutputStream
Throws:
IOException

write

public void write(int b)
           throws IOException
Specified by:
write in class OutputStream
Throws:
IOException