Package com.io7m.coffeepick.api
Interface CoffeePickInventoryType.RuntimeCancellableArchiveWriterType
-
- Enclosing interface:
- CoffeePickInventoryType
public static interface CoffeePickInventoryType.RuntimeCancellableArchiveWriterTypeA function for writing archive data.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidwrite(java.io.OutputStream stream)Write data to the given stream.
-
-
-
Method Detail
-
write
void write(java.io.OutputStream stream) throws java.io.IOException, java.util.concurrent.CancellationExceptionWrite data to the given stream. The function should throwCancellationExceptionif the write operation has been cancelled.- Parameters:
stream- An output stream- Throws:
java.io.IOException- On I/O errorsjava.util.concurrent.CancellationException- If writing has been cancelled
-
-