Class SelfExtractorOptions


  • public class SelfExtractorOptions
    extends Object

    Options for creation of self-extracting executable archive.

    
         try (FileOutputStream zipFile = new FileOutputStream("archive.exe")) {
             try (Archive archive = new Archive()) {
                 archive.createEntry("entry.bin", "data.bin");
                 ArchiveSaveOptions options = new ArchiveSaveOptions();
                 options.setSelfExtractorOptions(new SelfExtractorOptions());
                 archive.save(zipFile, options);
             }
         } catch (IOException ex) {
         }
     
    • Constructor Detail

      • SelfExtractorOptions

        public SelfExtractorOptions()