Interface StreamTask<S extends java.io.Closeable>


  • public interface StreamTask<S extends java.io.Closeable>
    A I/O operation to be executed against a I/O stream in the context of a StreamTemplate
    Version:
    $Revision: $
    • Method Detail

      • execute

        void execute​(S stream)
              throws java.lang.Exception
        This method execute's this StreamTask with the provided stream.
        Parameters:
        stream - This parameter holds the stream that this StreamTask operates on to execute its task.
        Throws:
        java.lang.Exception - This method will throw an instance of Exception if an unrecoverable error is encountered while performing its task.