Interface CoffeePickInventoryType.RuntimeCancellableArchiveWriterType

  • Enclosing interface:
    CoffeePickInventoryType

    public static interface CoffeePickInventoryType.RuntimeCancellableArchiveWriterType
    A function for writing archive data.
    • Method Detail

      • write

        void write​(java.io.OutputStream stream)
            throws java.io.IOException,
                   java.util.concurrent.CancellationException
        Write data to the given stream. The function should throw CancellationException if the write operation has been cancelled.
        Parameters:
        stream - An output stream
        Throws:
        java.io.IOException - On I/O errors
        java.util.concurrent.CancellationException - If writing has been cancelled