public class InputStreamTee extends InputStream implements NInterruptible<InputStream>, NContentMetadataProvider
| Constructor and Description |
|---|
InputStreamTee(InputStream in,
OutputStream out,
Runnable onClose,
NContentMetadata metadata) |
| Modifier and Type | Method and Description |
|---|---|
int |
available() |
InputStream |
base() |
void |
close() |
NContentMetadata |
getMetaData() |
void |
interrupt() |
void |
mark(int readlimit) |
boolean |
markSupported() |
int |
read() |
int |
read(byte[] b) |
int |
read(byte[] b,
int off,
int len) |
void |
reset() |
long |
skip(long n) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitofInputStreampublic InputStreamTee(InputStream in, OutputStream out, Runnable onClose, NContentMetadata metadata)
public InputStream base()
base in interface NInterruptible<InputStream>public NContentMetadata getMetaData()
getMetaData in interface NContentMetadataProviderpublic void interrupt()
throws NInterruptException
interrupt in interface NInterruptible<InputStream>NInterruptExceptionpublic int read()
throws IOException
read in class InputStreamIOExceptionpublic int read(byte[] b)
throws IOException
read in class InputStreamIOExceptionpublic long skip(long n)
throws IOException
skip in class InputStreamIOExceptionpublic void mark(int readlimit)
mark in class InputStreampublic boolean markSupported()
markSupported in class InputStreampublic void reset()
throws IOException
reset in class InputStreamIOExceptionpublic void close()
throws IOException
close in interface Closeableclose in interface AutoCloseableclose in class InputStreamIOExceptionpublic int available()
throws IOException
available in class InputStreamIOExceptionpublic int read(byte[] b,
int off,
int len)
throws IOException
read in class InputStreamIOExceptionCopyright © 2025 vpc open source initiative. All rights reserved.