org.apache.jackrabbit.core.persistence.bundle.util
Class ConnectionRecoveryManager.StreamWrapper

java.lang.Object
  extended by org.apache.jackrabbit.core.persistence.bundle.util.ConnectionRecoveryManager.StreamWrapper
Enclosing class:
ConnectionRecoveryManager

public static class ConnectionRecoveryManager.StreamWrapper
extends Object

A wrapper for a binary stream that includes the size of the stream.


Constructor Summary
ConnectionRecoveryManager.StreamWrapper(InputStream in, long size)
          Creates a wrapper for the given InputStream that can safely be passed as a parameter to the executeStmt methods in the ConnectionRecoveryManager class.
 
Method Summary
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ConnectionRecoveryManager.StreamWrapper

public ConnectionRecoveryManager.StreamWrapper(InputStream in,
                                               long size)
Creates a wrapper for the given InputStream that can safely be passed as a parameter to the executeStmt methods in the ConnectionRecoveryManager class.

Parameters:
in - the InputStream to wrap
size - the size of the input stream


Copyright © 2004-2008 The Apache Software Foundation. All Rights Reserved.