org.apache.batik.bridge
Class SVGImageElementBridge.ProtectedStream

java.lang.Object
  extended by java.io.InputStream
      extended by java.io.FilterInputStream
          extended by java.io.BufferedInputStream
              extended by org.apache.batik.bridge.SVGImageElementBridge.ProtectedStream
All Implemented Interfaces:
Closeable
Enclosing class:
SVGImageElementBridge

public static class SVGImageElementBridge.ProtectedStream
extends BufferedInputStream


Field Summary
 
Fields inherited from class java.io.BufferedInputStream
buf, count, marklimit, markpos, pos
 
Fields inherited from class java.io.FilterInputStream
in
 
Method Summary
 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.
 
Methods inherited from class java.io.BufferedInputStream
available, read, read, skip
 
Methods inherited from class java.io.FilterInputStream
read
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

markSupported

public boolean markSupported()
Overrides:
markSupported in class BufferedInputStream

mark

public void mark(int sz)
Overrides:
mark in class BufferedInputStream

reset

public void reset()
           throws IOException
Overrides:
reset in class BufferedInputStream
Throws:
IOException

retry

public void retry()
           throws IOException
Throws:
IOException

close

public void close()
           throws IOException
Specified by:
close in interface Closeable
Overrides:
close in class BufferedInputStream
Throws:
IOException

tie

public void tie()
         throws 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:
IOException

release

public void release()
Close the stream.



Copyright © 2017 Apache Software Foundation. All Rights Reserved.