org.rhq.helpers.perftest.support.input
Interface InputStreamProvider

All Known Implementing Classes:
FileInputStreamProvider, SystemInProvider, ZipInputStreamProviderDecorator

public interface InputStreamProvider

A simple interface used by Input implementations to get a "fresh" copy of the same input stream.

Author:
Lukas Krejci

Method Summary
 InputStream createInputStream()
           
 

Method Detail

createInputStream

InputStream createInputStream()
                              throws IOException
Returns:
a new input stream corresponding to the same underlying "resource" (e.g. file, URL, ...) each time.
Throws:
IOException


Copyright © 2008-2012 Red Hat, Inc.. All Rights Reserved.