org.chromattic.common
Class CloneableInputStream

java.lang.Object
  extended by java.io.InputStream
      extended by java.io.ByteArrayInputStream
          extended by org.chromattic.common.CloneableInputStream
All Implemented Interfaces:
java.io.Closeable, java.lang.Cloneable

public final class CloneableInputStream
extends java.io.ByteArrayInputStream
implements java.lang.Cloneable

Version:
$Revision$
Author:
Julien Viet

Field Summary
 
Fields inherited from class java.io.ByteArrayInputStream
buf, count, mark, pos
 
Constructor Summary
CloneableInputStream(byte[] buf)
           
CloneableInputStream(java.io.InputStream in)
           
 
Method Summary
 CloneableInputStream clone()
           
 
Methods inherited from class java.io.ByteArrayInputStream
available, close, mark, markSupported, read, read, reset, skip
 
Methods inherited from class java.io.InputStream
read
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CloneableInputStream

public CloneableInputStream(byte[] buf)

CloneableInputStream

public CloneableInputStream(java.io.InputStream in)
                     throws java.io.IOException
Throws:
java.io.IOException
Method Detail

clone

public CloneableInputStream clone()
Overrides:
clone in class java.lang.Object


Copyright © 2014 eXo Platform SAS. All Rights Reserved.