Interface ZipService

  • All Known Implementing Classes:
    ZipServiceImpl

    @Service
    public interface ZipService
    Zips a directory and all its sub content.
    • Method Detail

      • zipDirectory

        void zipDirectory​(Account account,
                          long dirId,
                          java.io.OutputStream outputStream)
                   throws MopsException
        Zips a directory and all its contents.
        Parameters:
        account - user credentials
        dirId - id of the directory to be zipped
        outputStream - output stream to write the zipped contents to
        Throws:
        MopsException