org.chromattic.common
Class CopyingInputStream
java.lang.Object
java.io.InputStream
org.chromattic.common.CopyingInputStream
- All Implemented Interfaces:
- Closeable
public class CopyingInputStream
- extends InputStream
- Version:
- $Revision$
- Author:
- Julien Viet
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CopyingInputStream
public CopyingInputStream(InputStream in)
read
public int read()
throws IOException
- Specified by:
read in class InputStream
- Throws:
IOException
close
public void close()
throws IOException
- Specified by:
close in interface Closeable- Overrides:
close in class InputStream
- Throws:
IOException
getBytes
public byte[] getBytes()
Copyright © 2009 eXo Platform SAS. All Rights Reserved.