Package org.apache.batik.bridge
Class SVGImageElementBridge.ProtectedStream
- java.lang.Object
-
- java.io.InputStream
-
- java.io.FilterInputStream
-
- java.io.BufferedInputStream
-
- org.apache.batik.bridge.SVGImageElementBridge.ProtectedStream
-
- All Implemented Interfaces:
java.io.Closeable
,java.lang.AutoCloseable
- Enclosing class:
- SVGImageElementBridge
public static class SVGImageElementBridge.ProtectedStream extends java.io.BufferedInputStream
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method 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.
-
-
-
Method Detail
-
markSupported
public boolean markSupported()
- Overrides:
markSupported
in classjava.io.BufferedInputStream
-
mark
public void mark(int sz)
- Overrides:
mark
in classjava.io.BufferedInputStream
-
reset
public void reset() throws java.io.IOException
- Overrides:
reset
in classjava.io.BufferedInputStream
- Throws:
java.io.IOException
-
retry
public void retry() throws java.io.IOException
- Throws:
java.io.IOException
-
close
public void close() throws java.io.IOException
- Specified by:
close
in interfacejava.lang.AutoCloseable
- Specified by:
close
in interfacejava.io.Closeable
- Overrides:
close
in classjava.io.BufferedInputStream
- Throws:
java.io.IOException
-
tie
public void tie() throws java.io.IOException
Let stream know that it is perminately tied to one image decoder. This means that it can allow that decoder to close the stream.- Throws:
java.io.IOException
-
release
public void release()
Close the stream.
-
-