com.ximpleware
Class XMLByteOutputStream

java.lang.Object
  extended by java.io.OutputStream
      extended by com.ximpleware.XMLByteOutputStream
All Implemented Interfaces:
Closeable, Flushable

public class XMLByteOutputStream
extends OutputStream


Constructor Summary
XMLByteOutputStream(int size)
           
 
Method Summary
 void close()
           
 byte[] getXML()
           
 String toString()
           
 void write(byte[] ba)
           
 void write(byte[] ba, int os, int len)
           
 void write(int b)
           
 
Methods inherited from class java.io.OutputStream
flush
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

XMLByteOutputStream

public XMLByteOutputStream(int size)
Method Detail

getXML

public final byte[] getXML()

write

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

write

public void write(byte[] ba)
           throws IOException
Overrides:
write in class OutputStream
Throws:
IOException

write

public void write(byte[] ba,
                  int os,
                  int len)
           throws IOException
Overrides:
write in class OutputStream
Throws:
IOException

close

public void close()
Specified by:
close in interface Closeable
Overrides:
close in class OutputStream

toString

public String toString()
Overrides:
toString in class Object


Copyright © 2013. All Rights Reserved.