org.rhq.helpers.perftest.support.input
Class ZipInputStreamProviderDecorator
java.lang.Object
org.rhq.helpers.perftest.support.input.ZipInputStreamProviderDecorator
- All Implemented Interfaces:
- InputStreamProvider
public class ZipInputStreamProviderDecorator
- extends Object
- implements InputStreamProvider
This is a wrapper around another InputStreamProvider that returns
a ZipInputStream wrapped around the stream provided by the decorated provider.
- Author:
- Lukas Krejci
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ZipInputStreamProviderDecorator
public ZipInputStreamProviderDecorator(InputStreamProvider inner,
boolean openEntry)
createInputStream
public ZipInputStream createInputStream()
throws IOException
- Specified by:
createInputStream in interface InputStreamProvider
- 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.