类 GzipBuilder
java.lang.Object
cool.scx.util.zip.GzipBuilder
GzipBuilder class.
- 版本:
- 2.0.4
- 作者:
- scx567888
-
字段概要
字段修饰符和类型字段说明protected byte[]protected Supplier<byte[]>protected InputStreamprotected Pathprotected final cool.scx.util.zip.ZipDataSource.Type -
构造器概要
构造器构造器说明GzipBuilder(byte[] bytes) Constructor for GzipBuilder.GzipBuilder(InputStream inputStream) Constructor for GzipBuilder.GzipBuilder(Path path) Constructor for GzipBuilder.GzipBuilder(Supplier<byte[]> bytesSupplier) Constructor for GzipBuilder. -
方法概要
-
字段详细资料
-
type
protected final cool.scx.util.zip.ZipDataSource.Type type -
path
-
bytes
protected byte[] bytes -
bytesSupplier
-
inputStream
-
-
构造器详细资料
-
GzipBuilder
Constructor for GzipBuilder.
- 参数:
path- aPathobject
-
GzipBuilder
public GzipBuilder(byte[] bytes) Constructor for GzipBuilder.
- 参数:
bytes- an array ofbyteobjects
-
GzipBuilder
Constructor for GzipBuilder.
- 参数:
bytesSupplier- aSupplierobject
-
GzipBuilder
Constructor for GzipBuilder.
- 参数:
inputStream- aInputStreamobject
-
-
方法详细资料
-
toBytes
toBytes.
- 返回:
- an array of
byteobjects - 抛出:
Exception- if any.
-
toFile
toFile.
-
writeToOutputStream
writeToOutputStream.
- 参数:
out- aOutputStreamobject- 抛出:
IOException- if any.
-
toInputStream
toInputStream.
- 返回:
- a
InputStreamobject - 抛出:
IOException- if any.
-