org.crsh.util
Class BytesOutputStream
java.lang.Object
java.io.OutputStream
java.io.ByteArrayOutputStream
org.crsh.util.BytesOutputStream
- All Implemented Interfaces:
- java.io.Closeable, java.io.Flushable
public class BytesOutputStream
- extends java.io.ByteArrayOutputStream
Extends the ByteArrayOutputStream for providing an input stream over the
buffer.
- Version:
- $Revision$
- Author:
- Julien Viet
| Fields inherited from class java.io.ByteArrayOutputStream |
buf, count |
| Methods inherited from class java.io.ByteArrayOutputStream |
reset, size, toByteArray, toString, toString, toString, write, write, writeTo |
| Methods inherited from class java.io.OutputStream |
flush, write |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
BytesOutputStream
public BytesOutputStream()
BytesOutputStream
public BytesOutputStream(int size)
getInputStream
public java.io.InputStream getInputStream()
close
public void close()
throws java.io.IOException
- Specified by:
close in interface java.io.Closeable- Overrides:
close in class java.io.ByteArrayOutputStream
- Throws:
java.io.IOException
Copyright © 2010 eXo Platform SAS. All Rights Reserved.