public abstract class ASInputStream extends InputStream
| Modifier and Type | Field and Description |
|---|---|
protected int |
nPos |
protected IntReference |
resourceUsers |
| Constructor and Description |
|---|
ASInputStream() |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
abstract void |
closeResource() |
static ASInputStream |
createStreamFromStream(ASInputStream stream) |
abstract void |
incrementResourceUsers() |
abstract int |
read() |
abstract int |
read(byte[] buffer,
int size) |
abstract void |
reset() |
abstract int |
skip(int size) |
available, mark, markSupported, read, read, skipprotected int nPos
protected IntReference resourceUsers
public abstract int read()
throws IOException
read in class InputStreamIOExceptionpublic abstract int read(byte[] buffer,
int size)
throws IOException
IOExceptionpublic abstract int skip(int size)
throws IOException
IOExceptionpublic void close()
throws IOException
close in interface Closeableclose in interface AutoCloseableclose in class InputStreamIOExceptionpublic abstract void reset()
throws IOException
reset in class InputStreamIOExceptionpublic abstract void closeResource()
throws IOException
IOExceptionpublic abstract void incrementResourceUsers()
public static ASInputStream createStreamFromStream(ASInputStream stream)
Copyright © 2015–2017 The veraPDF Consortium. All rights reserved.