org.apache.axiom.c14n.utils
Class UnsyncByteArrayOutputStream

java.lang.Object
  extended by java.io.OutputStream
      extended by org.apache.axiom.c14n.utils.UnsyncByteArrayOutputStream
All Implemented Interfaces:
Closeable, Flushable

public class UnsyncByteArrayOutputStream
extends OutputStream

A simple Unsynced ByteArryOutputStream


Constructor Summary
UnsyncByteArrayOutputStream()
           
 
Method Summary
 void reset()
           
 byte[] toByteArray()
           
 void write(byte[] arg0)
           
 void write(byte[] arg0, int arg1, int arg2)
           
 void write(int arg0)
           
 
Methods inherited from class java.io.OutputStream
close, flush
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

UnsyncByteArrayOutputStream

public UnsyncByteArrayOutputStream()
Method Detail

write

public void write(byte[] arg0)
Overrides:
write in class OutputStream

write

public void write(byte[] arg0,
                  int arg1,
                  int arg2)
Overrides:
write in class OutputStream

write

public void write(int arg0)
Specified by:
write in class OutputStream

toByteArray

public byte[] toByteArray()

reset

public void reset()


Copyright © 2004-2012 The Apache Software Foundation. All Rights Reserved.