Class JPEGTranscoder.OutputStreamWrapper
java.lang.Object
java.io.OutputStream
org.apache.batik.transcoder.image.JPEGTranscoder.OutputStreamWrapper
- All Implemented Interfaces:
Closeable, Flushable, AutoCloseable
- Enclosing class:
JPEGTranscoder
This class will never throw an IOException, instead it eats
them and then ignores any future calls to it's interface.
- Version:
- $Id$
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionConstructs a wrapper aroundosthat will not throw IOExceptions. -
Method Summary
Methods inherited from class OutputStream
nullOutputStream
-
Field Details
-
os
OutputStream os
-
-
Constructor Details
-
OutputStreamWrapper
OutputStreamWrapper(OutputStream os) Constructs a wrapper aroundosthat will not throw IOExceptions. invalid input: '<'@param os>The Stream to wrap.
-
-
Method Details
-
close
- Specified by:
closein interfaceAutoCloseable- Specified by:
closein interfaceCloseable- Overrides:
closein classOutputStream- Throws:
IOException
-
flush
- Specified by:
flushin interfaceFlushable- Overrides:
flushin classOutputStream- Throws:
IOException
-
write
- Overrides:
writein classOutputStream- Throws:
IOException
-
write
- Overrides:
writein classOutputStream- Throws:
IOException
-
write
- Specified by:
writein classOutputStream- Throws:
IOException
-