类 ZipFileTarArchive
java.lang.Object
org.springframework.boot.buildpack.platform.io.ZipFileTarArchive
- 所有已实现的接口:
TarArchive
Adapter class to convert a ZIP file to a
TarArchive.- 从以下版本开始:
- 2.3.0
- 作者:
- Phillip Webb, Scott Frederick
-
嵌套类概要
从接口继承的嵌套类/接口 org.springframework.boot.buildpack.platform.io.TarArchive
TarArchive.Compression -
字段概要
从接口继承的字段 org.springframework.boot.buildpack.platform.io.TarArchive
NORMALIZED_TIME -
构造器概要
构造器构造器说明ZipFileTarArchive(File zip, Owner owner) Creates an archive from the contents of the givenzip. -
方法概要
修饰符和类型方法说明voidwriteTo(OutputStream outputStream) Write the TAR archive to the given output stream.从类继承的方法 java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait从接口继承的方法 org.springframework.boot.buildpack.platform.io.TarArchive
getCompression
-
构造器详细资料
-
ZipFileTarArchive
Creates an archive from the contents of the givenzip. Each entry in the archive will be owned by the givenowner.- 参数:
zip- the zip to use as a sourceowner- the owner of the tar entries
-
-
方法详细资料
-
writeTo
从接口复制的说明:TarArchiveWrite the TAR archive to the given output stream.- 指定者:
writeTo在接口中TarArchive- 参数:
outputStream- the output stream to write to- 抛出:
IOException- on IO error
-