Package io.quarkus.deployment.pkg.jar
Class ZipFileSystemArchiveCreator
java.lang.Object
io.quarkus.deployment.pkg.jar.ZipFileSystemArchiveCreator
- All Implemented Interfaces:
ArchiveCreator,AutoCloseable
-
Field Summary
Fields inherited from interface io.quarkus.deployment.pkg.jar.ArchiveCreator
CURRENT_APPLICATION, UNKNOWN_SOURCE -
Constructor Summary
ConstructorsConstructorDescriptionZipFileSystemArchiveCreator(Path archivePath, boolean compressed, Instant entryTimestamp) -
Method Summary
Modifier and TypeMethodDescriptionvoidaddDirectory(String directory, String source) voidvoidvoidvoidaddFileIfNotExists(byte[] bytes, String target, String source) voidaddFileIfNotExists(Path origin, String target, String source) voidaddManifest(Manifest manifest) voidclose()booleanNote: this method may only be used for Uberjars, for which we might need to amend the manifest at the end of the build.voidNote: this method may only be used for Uberjars, for which we might need to amend the manifest at the end of the build.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface io.quarkus.deployment.pkg.jar.ArchiveCreator
addDirectory, addFile, addFile, addFile, addFileIfNotExists, addFileIfNotExists
-
Constructor Details
-
ZipFileSystemArchiveCreator
-
-
Method Details
-
addManifest
- Specified by:
addManifestin interfaceArchiveCreator- Throws:
IOException
-
addDirectory
- Specified by:
addDirectoryin interfaceArchiveCreator- Throws:
IOException
-
addFile
- Specified by:
addFilein interfaceArchiveCreator- Throws:
IOException
-
addFile
- Specified by:
addFilein interfaceArchiveCreator- Throws:
IOException
-
addFileIfNotExists
- Specified by:
addFileIfNotExistsin interfaceArchiveCreator- Throws:
IOException
-
addFileIfNotExists
- Specified by:
addFileIfNotExistsin interfaceArchiveCreator- Throws:
IOException
-
addFile
- Specified by:
addFilein interfaceArchiveCreator- Throws:
IOException
-
isMultiVersion
public boolean isMultiVersion()Note: this method may only be used for Uberjars, for which we might need to amend the manifest at the end of the build. -
makeMultiVersion
Note: this method may only be used for Uberjars, for which we might need to amend the manifest at the end of the build.- Throws:
IOException
-
close
public void close()- Specified by:
closein interfaceArchiveCreator- Specified by:
closein interfaceAutoCloseable
-