public class ImagePackager extends Packager
Packager.MainClassTimeoutWarningListener| Constructor and Description | 
|---|
ImagePackager(File source,
             File backupFile)
Create a new  
ImagePackager instance. | 
| Modifier and Type | Method and Description | 
|---|---|
void | 
packageImage(Libraries libraries,
            BiConsumer<ZipEntry,EntryWriter> exporter)
Create a packaged image. 
 | 
addMainClassTimeoutWarningListener, findMainMethod, getBackupFile, getLayout, getSource, isAlreadyPackaged, isAlreadyPackaged, setBackupFile, setIncludeRelevantJarModeJars, setLayers, setLayout, setLayoutFactory, setMainClass, writepublic ImagePackager(File source, File backupFile)
ImagePackager instance.source - the source file to packagebackupFile - the backup of 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