
nl.tweeenveertig.openstack.client.mock.MockInputStreamWrapper Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of joss Show documentation
Show all versions of joss Show documentation
Java Client library for OpenStack Storage (Swift)
package nl.tweeenveertig.openstack.client.mock;
import nl.tweeenveertig.openstack.command.object.InputStreamWrapper;
import java.io.IOException;
import java.io.InputStream;
public class MockInputStreamWrapper extends InputStreamWrapper {
public MockInputStreamWrapper(InputStream inputStream) {
super(null, inputStream);
}
@Override
public void close() throws IOException {
inputStream.close();
}
}