public static class SVGImageElementBridge.ProtectedStream
extends java.io.BufferedInputStream
| Modifier and Type | Field and Description |
|---|---|
(package private) static int |
BUFFER_SIZE |
(package private) boolean |
isTied |
(package private) boolean |
wasClosed |
| Constructor and Description |
|---|
ProtectedStream(java.io.InputStream is) |
ProtectedStream(java.io.InputStream is,
int size) |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
void |
mark(int sz) |
boolean |
markSupported() |
void |
release()
Close the stream.
|
void |
reset() |
void |
retry() |
void |
tie()
Let stream know that it is perminately tied to one
image decoder.
|
static final int BUFFER_SIZE
boolean wasClosed
boolean isTied
ProtectedStream(java.io.InputStream is)
ProtectedStream(java.io.InputStream is,
int size)
public boolean markSupported()
markSupported in class java.io.BufferedInputStreampublic void mark(int sz)
mark in class java.io.BufferedInputStreampublic void reset()
throws java.io.IOException
reset in class java.io.BufferedInputStreamjava.io.IOExceptionpublic void retry()
throws java.io.IOException
java.io.IOExceptionpublic void close()
throws java.io.IOException
close in interface java.io.Closeableclose in interface java.lang.AutoCloseableclose in class java.io.BufferedInputStreamjava.io.IOExceptionpublic void tie()
throws java.io.IOException
java.io.IOExceptionpublic void release()