Class ZipFileTarArchive
java.lang.Object
org.springframework.boot.buildpack.platform.io.ZipFileTarArchive
- All Implemented Interfaces:
TarArchive
Adapter class to convert a ZIP file to a
TarArchive.- Since:
- 2.3.0
- Author:
- Phillip Webb, Scott Frederick
-
Nested Class Summary
Nested classes/interfaces inherited from interface TarArchive
TarArchive.Compression -
Field Summary
Fields inherited from interface TarArchive
NORMALIZED_TIME -
Constructor Summary
ConstructorsConstructorDescriptionZipFileTarArchive(File zip, Owner owner) Creates an archive from the contents of the givenzip. -
Method Summary
Modifier and TypeMethodDescriptionvoidwriteTo(OutputStream outputStream) Write the TAR archive to the given output stream.Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface TarArchive
getCompression
-
Constructor Details
-
ZipFileTarArchive
-
-
Method Details
-
writeTo
Description copied from interface:TarArchiveWrite the TAR archive to the given output stream.- Specified by:
writeToin interfaceTarArchive- Parameters:
outputStream- the output stream to write to- Throws:
IOException- on IO error
-