public class ReusableGZIPOutputStream extends ResettableGZIPOutputStream
buf, defout| Modifier and Type | Method and Description |
|---|---|
static ReusableGZIPOutputStream | acquire()Pull a cached instance |
static void | clearCache()Clear the cache. |
byte[] | getData()pull the contents of the stream written |
static void | release(ReusableGZIPOutputStream out)Release an instance back into the cache (this will discard any
state) |
void | reset()clear the data so we can start again afresh |
void | setLevel(int level)setLevel. |
close, destroy, finish, write, write, writedeflate, flushpublic static ReusableGZIPOutputStream acquire()
public static void clearCache()
public byte[] getData()
public static void release(ReusableGZIPOutputStream out)
public void reset()
reset in class ResettableGZIPOutputStreampublic void setLevel(int level)