Class ZipRepository

  • All Implemented Interfaces:
    Repository

    public class ZipRepository
    extends java.lang.Object
    implements Repository
    A read-write repository based on ZIP streams. The repository can be created using a existing zip file as initial content. The repository will be fully buffered, so nothing is written until the whole repository is closed. For a streaming solution use the zipwriter-repository instead.
    Author:
    Thomas Morgner
    • Constructor Detail

      • ZipRepository

        public ZipRepository()
      • ZipRepository

        public ZipRepository​(MimeRegistry mimeRegistry)
      • ZipRepository

        public ZipRepository​(java.io.InputStream in)
                      throws java.io.IOException
        Throws:
        java.io.IOException
      • ZipRepository

        public ZipRepository​(java.io.InputStream in,
                             MimeRegistry mimeRegistry)
                      throws java.io.IOException
        Throws:
        java.io.IOException