public class StreamWrapper extends Object
| Constructor and Description |
|---|
StreamWrapper(InputStream in,
long size)
Creates a wrapper for the given InputStream that can
safely be passed as a parameter to the
ConnectionHelper.exec(String, Object...),
ConnectionHelper.exec(String, Object[], boolean, int) and
ConnectionHelper.update(String, Object[]) methods. |
public StreamWrapper(InputStream in, long size)
ConnectionHelper.exec(String, Object...),
ConnectionHelper.exec(String, Object[], boolean, int) and
ConnectionHelper.update(String, Object[]) methods.in - the InputStream to wrapsize - the size of the input streampublic InputStream getStream()
public long getSize()
Copyright © 2004-2012 The Apache Software Foundation. All Rights Reserved.