public class ASInputStreamWrapper extends ASInputStream
isClosed, isSourceClosed, resourceUsers
Constructor and Description |
---|
ASInputStreamWrapper(ASInputStream stream) |
Modifier and Type | Method and Description |
---|---|
void |
close() |
void |
closeResource()
Closes stream resource.
|
void |
decrementResourceUsers()
Method decrements number of resource users.
|
void |
incrementResourceUsers()
Method increments number of resource users.
|
int |
read() |
int |
read(byte[] buffer,
int size) |
int |
read(byte[] b,
int off,
int len) |
void |
reset() |
int |
skip(int size) |
createStreamFromStream
available, mark, markSupported, read, skip
public ASInputStreamWrapper(ASInputStream stream)
public int read() throws IOException
read
in class ASInputStream
IOException
public int read(byte[] buffer, int size) throws IOException
read
in class ASInputStream
IOException
public int read(byte[] b, int off, int len) throws IOException
read
in class InputStream
IOException
public int skip(int size) throws IOException
skip
in class ASInputStream
IOException
public void reset() throws IOException
reset
in class ASInputStream
IOException
public void closeResource() throws IOException
ASInputStream
closeResource
in class ASInputStream
IOException
public void close() throws IOException
close
in interface Closeable
close
in interface AutoCloseable
close
in class ASInputStream
IOException
public void incrementResourceUsers()
ASInputStream
closeResource
incrementResourceUsers
in class ASInputStream
public void decrementResourceUsers()
ASInputStream
closeResource
decrementResourceUsers
in class ASInputStream
Copyright © 2015–2019 The veraPDF Consortium. All rights reserved.