Interface ArchiveWriter

  • All Superinterfaces:
    AutoCloseable
    All Known Implementing Classes:
    StreamZipWriter

    public interface ArchiveWriter
    extends AutoCloseable
    Represents interface capable of archiving data from the input stream
    Since:
    7.20.0
    • Method Detail

      • compressFromStream

        void compressFromStream​(InputStream streamToZip,
                                String pathInZip)
        Compresses data from the provided input stream into an archive. The input stream will be closed by the ArchiveWriter implementation.
        Parameters:
        streamToZip - - source stream
        pathInZip - - path in the archive where entry is written to