| java.lang.Object |
| ↳ |
java.io.InputStream |
| |
↳ |
org.mule.modules.salesforce.lazystream.LazyInputStream |
Known Direct Subclasses
|
Class Overview
This class encapsulates an InputStream and the
Summary
|
[Expand]
Inherited Constants |
From class
java.io.InputStream
|
| Protected Methods |
|
BulkConnection
|
getBulkConnection()
|
|
abstract
InputStream
|
openLazyInputStream()
This operation is the one that must be override in order to being able to open the InputStream.
|
|
[Expand]
Inherited Methods |
From class
java.io.InputStream
|
From class
java.lang.Object
|
Object
|
clone()
|
|
boolean
|
equals(Object arg0)
|
|
void
|
finalize()
|
|
final
Class<?>
|
getClass()
|
|
int
|
hashCode()
|
|
final
void
|
notify()
|
|
final
void
|
notifyAll()
|
|
String
|
toString()
|
|
final
void
|
wait()
|
|
final
void
|
wait(long arg0, int arg1)
|
|
final
void
|
wait(long arg0)
|
|
From interface
java.io.Closeable
|
Fields
private
BulkConnection
connection
private
InputStream
inputStream
private
Object
inputStreamStateLock
Public Constructors
public
LazyInputStream
(BulkConnection connection)
Public Methods
public
synchronized
void
mark
(int readlimit)
public
boolean
markSupported
()
public
int
read
(byte[] b)
public
int
read
(byte[] b, int off, int len)
public
synchronized
void
reset
()
public
long
skip
(long n)
Protected Methods
protected
BulkConnection
getBulkConnection
()
protected
abstract
InputStream
openLazyInputStream
()
This operation is the one that must be override in order to being able to open the InputStream.
This operation will be called on demand, when some of the operations of the InputStream are maded
Returns
- Returns the lazy InputStream.