public class ImagePackager extends Packager
Packager.MainClassTimeoutWarningListener
Constructor and Description |
---|
ImagePackager(File source)
Create a new
ImagePackager instance. |
Modifier and Type | Method and Description |
---|---|
void |
packageImage(Libraries libraries,
BiConsumer<ZipEntry,EntryWriter> exporter)
Create an packaged image.
|
addMainClassTimeoutWarningListener, findMainMethod, getBackupFile, getLayout, getSource, isAlreadyPackaged, isAlreadyPackaged, setIncludeRelevantJarModeJars, setLayers, setLayout, setLayoutFactory, setMainClass, write
public ImagePackager(File source)
ImagePackager
instance.source
- the source file to packagepublic void packageImage(Libraries libraries, BiConsumer<ZipEntry,EntryWriter> exporter) throws IOException
libraries
- the contained librariesexporter
- the exporter used to write the imageIOException
- on IO error