Package org.gcube.data.access.storagehub
Class MultipleOutputStream.MyPipedInputStream
- java.lang.Object
-
- java.io.InputStream
-
- java.io.PipedInputStream
-
- org.gcube.data.access.storagehub.MultipleOutputStream.MyPipedInputStream
-
- All Implemented Interfaces:
Closeable,AutoCloseable
- Enclosing class:
- MultipleOutputStream
public class MultipleOutputStream.MyPipedInputStream extends PipedInputStream
-
-
Field Summary
-
Fields inherited from class java.io.PipedInputStream
buffer, in, out, PIPE_SIZE
-
-
Constructor Summary
Constructors Constructor Description MyPipedInputStream(PipedOutputStream src)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidclose()booleanisClosed()-
Methods inherited from class java.io.InputStream
mark, markSupported, nullInputStream, read, readAllBytes, readNBytes, readNBytes, reset, skip, transferTo
-
-
-
-
Constructor Detail
-
MyPipedInputStream
public MyPipedInputStream(PipedOutputStream src) throws IOException
- Throws:
IOException
-
-
Method Detail
-
close
public void close() throws IOException- Specified by:
closein interfaceAutoCloseable- Specified by:
closein interfaceCloseable- Overrides:
closein classPipedInputStream- Throws:
IOException
-
isClosed
public boolean isClosed()
- Returns:
- the close
-
-