|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.jackrabbit.core.util.db.StreamWrapper
public class StreamWrapper
Constructor Summary | |
---|---|
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. |
Method Summary | |
---|---|
long |
getSize()
|
InputStream |
getStream()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
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 streamMethod Detail |
---|
public InputStream getStream()
public long getSize()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |