ShrinkWrap Aggregator and Build Parent 1.0.0-cr-1

org.jboss.shrinkwrap.impl.base.io
Interface StreamTask<S extends Closeable>


public interface StreamTask<S extends Closeable>

A I/O operation to be executed against a I/O stream in the context of a StreamTemplate

Version:
$Revision: $
Author:
John Bailey

Method Summary
 void execute(S stream)
          This method execute's this StreamTask with the provided stream.
 

Method Detail

execute

void execute(S stream)
             throws 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:
Exception - This method will throw an instance of Exception if an unrecoverable error is encountered while performing its task.

ShrinkWrap Aggregator and Build Parent 1.0.0-cr-1

Copyright © 2011 JBoss, a division of Red Hat, Inc.. All Rights Reserved.