-
构造函数 构造函数描述 PGZIPOutputStream(OutputStream out)
Creates a PGZIPOutputStream usinggetSharedThreadPool()
andRuntime.availableProcessors()
.PGZIPOutputStream(OutputStream out, ExecutorService executor, int nthreads)
PGZIPOutputStream(OutputStream out, int nthreads)
Creates a PGZIPOutputStream usinggetSharedThreadPool()
.
-
All Methods Static Methods Instance Methods Concrete Methods 修饰符和类 成员函数描述 void
close()
void
flush()
static ExecutorService
getSharedThreadPool()
protected Deflater
newDeflater()
protected static DeflaterOutputStream
newDeflaterOutputStream(OutputStream out, Deflater deflater)
void
setLevel(int level)
void
setStrategy(int strategy)
void
write(byte[] b)
void
write(byte[] b, int off, int len)
void
write(int b)