public interface StreamTask<S extends Closeable>
Modifier and Type | Method and Description |
---|---|
void |
execute(S stream)
This method execute's this StreamTask with the provided stream.
|
void execute(S stream) throws Exception
stream
- This parameter holds the stream that this StreamTask operates on to execute its task.Exception
- This method will throw an instance of Exception if an unrecoverable error is encountered while
performing its task.Copyright © 2018 JBoss, a division of Red Hat, Inc.. All Rights Reserved.