Package com.cedarsoftware.util
Class AdjustableGZIPOutputStream
- java.lang.Object
-
- java.io.OutputStream
-
- java.io.FilterOutputStream
-
- java.util.zip.DeflaterOutputStream
-
- java.util.zip.GZIPOutputStream
-
- com.cedarsoftware.util.AdjustableGZIPOutputStream
-
- All Implemented Interfaces:
Closeable
,Flushable
,AutoCloseable
public class AdjustableGZIPOutputStream extends GZIPOutputStream
- Author:
- John DeRegnaucourt ([email protected])
Copyright (c) Cedar Software LLC
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
-
-
Field Summary
-
Fields inherited from class java.util.zip.GZIPOutputStream
crc
-
Fields inherited from class java.util.zip.DeflaterOutputStream
buf, def
-
Fields inherited from class java.io.FilterOutputStream
out
-
-
Constructor Summary
Constructors Constructor Description AdjustableGZIPOutputStream(OutputStream out, int level)
AdjustableGZIPOutputStream(OutputStream out, int size, int level)
-
Method Summary
-
Methods inherited from class java.util.zip.GZIPOutputStream
finish, write
-
Methods inherited from class java.util.zip.DeflaterOutputStream
close, deflate, flush, write
-
Methods inherited from class java.io.FilterOutputStream
write
-
Methods inherited from class java.io.OutputStream
nullOutputStream
-
-
-
-
Constructor Detail
-
AdjustableGZIPOutputStream
public AdjustableGZIPOutputStream(OutputStream out, int level) throws IOException
- Throws:
IOException
-
AdjustableGZIPOutputStream
public AdjustableGZIPOutputStream(OutputStream out, int size, int level) throws IOException
- Throws:
IOException
-
-