ccc.api.types
Interface StreamAction

All Known Subinterfaces:
TextExtractor
All Known Implementing Classes:
CopyAction, PdfLoader, ReadToStringAction, ThumbAction, TxtExtractor, WordExtractor

public interface StreamAction

An action to perform on an InputStream.

Author:
Civic Computing Ltd.

Method Summary
 void execute(java.io.InputStream is)
          Execute the action.
 

Method Detail

execute

void execute(java.io.InputStream is)
             throws java.lang.Exception
Execute the action.

Parameters:
is - The input stream to operate on.
Throws:
java.lang.Exception - If the action fails.


Copyright © 2010. All Rights Reserved.