public class ContentInputStream extends InputStream
InputStream adaptor for ContentInputBuffer.| Constructor and Description |
|---|
ContentInputStream(ContentInputBuffer buffer) |
| Modifier and Type | Method and Description |
|---|---|
int |
available() |
void |
close() |
int |
read() |
int |
read(byte[] b) |
int |
read(byte[] b,
int off,
int len) |
mark, markSupported, reset, skippublic ContentInputStream(ContentInputBuffer buffer)
public int available()
throws IOException
available in class InputStreamIOExceptionpublic int read(byte[] b,
int off,
int len)
throws IOException
read in class InputStreamIOExceptionpublic int read(byte[] b)
throws IOException
read in class InputStreamIOExceptionpublic int read()
throws IOException
read in class InputStreamIOExceptionpublic void close()
throws IOException
close in interface Closeableclose in interface AutoCloseableclose in class InputStreamIOExceptionCopyright © 2005–2022 The Apache Software Foundation. All rights reserved.