Package net.sf.jasperreports.engine.util
Class DeflaterLevelOutputStream
- java.lang.Object
-
- java.io.OutputStream
-
- java.io.FilterOutputStream
-
- java.util.zip.DeflaterOutputStream
-
- net.sf.jasperreports.engine.util.DeflaterLevelOutputStream
-
- All Implemented Interfaces:
Closeable
,Flushable
,AutoCloseable
public class DeflaterLevelOutputStream extends DeflaterOutputStream
- Author:
- Lucian Chirita (lucianc@users.sourceforge.net)
-
-
Field Summary
-
Fields inherited from class java.util.zip.DeflaterOutputStream
buf, def
-
Fields inherited from class java.io.FilterOutputStream
out
-
-
Constructor Summary
Constructors Constructor Description DeflaterLevelOutputStream(OutputStream out, int deflaterLevel)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
close()
-
Methods inherited from class java.util.zip.DeflaterOutputStream
deflate, finish, flush, write, write
-
Methods inherited from class java.io.FilterOutputStream
write
-
Methods inherited from class java.io.OutputStream
nullOutputStream
-
-
-
-
Constructor Detail
-
DeflaterLevelOutputStream
public DeflaterLevelOutputStream(OutputStream out, int deflaterLevel)
-
-
Method Detail
-
close
public void close() throws IOException
- Specified by:
close
in interfaceAutoCloseable
- Specified by:
close
in interfaceCloseable
- Overrides:
close
in classDeflaterOutputStream
- Throws:
IOException
-
-