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()booleanvoidMethods 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()- Specified by:
isMultiVersionin interfaceArchiveCreator
-
makeMultiVersion
- Specified by:
makeMultiVersionin interfaceArchiveCreator- Throws:
IOException
-
close
public void close()- Specified by:
closein interfaceArchiveCreator- Specified by:
closein interfaceAutoCloseable
-