java.lang.Object
net.i2p.router.web.HelperBase
net.i2p.router.web.helpers.ReseedGenerator

public class ReseedGeneratorextends HelperBase
Handler to create a i2preseed.zip file.
  • Constructor Details

    • ReseedGenerator

      public ReseedGenerator()
      A stateless handler; createZip() builds a fresh ReseedBundler per call, so a bare instance needs no further setup.
  • Method Details

    • createZip

      public File createZip() throws IOException
      Bundles 200 eligible router infos into a fresh i2preseed.zip.
      Returns:
      the newly written i2preseed.zip file
      Throws:
      IOException - if the reseed directory or the zip cannot be written