Package jodd.io

Class ZipBuilder.AddContentToZip

  • Enclosing class:
    ZipBuilder

    public class ZipBuilder.AddContentToZip
    extends java.lang.Object
    • Field Summary

      Fields 
      Modifier and Type Field Description
      private byte[] bytes  
      private java.lang.String comment  
      private java.lang.String path  
    • Constructor Summary

      Constructors 
      Modifier Constructor Description
      private AddContentToZip​(byte[] content)  
    • Field Detail

      • bytes

        private final byte[] bytes
      • path

        private java.lang.String path
      • comment

        private java.lang.String comment
    • Constructor Detail

      • AddContentToZip

        private AddContentToZip​(byte[] content)
    • Method Detail

      • save

        public ZipBuilder save()
                        throws java.io.IOException
        Stores the content into the ZIP.
        Throws:
        java.io.IOException