public final class JCapture
extends java.lang.Object
Modifier | Constructor and Description |
---|---|
protected |
JCapture(int handle,
JConnection conn) |
Modifier and Type | Method and Description |
---|---|
boolean |
atEnd()
Indicates whether the captured output is exhausted
|
void |
close()
Closes the object and releases its server-side handle
|
protected void |
finalize() |
int |
getBlockSize()
Sets the block size for nextBlock operation
|
java.lang.String |
nextBlock()
Fetches next block of captured output
|
void |
rewind()
Returns the current position in the saved output to the beginning
of the output stream
|
void |
setBlockSize(int blockSize)
Gets the block size for the nextBlock method
|
protected JCapture(int handle, JConnection conn)
public java.lang.String nextBlock() throws JException
JException
public int getBlockSize() throws JException
JException
public void setBlockSize(int blockSize) throws JException
blockSize
- Size of block fetched by the nextBlock method
The blocks are at least the length of this block size, but
may be longer to include everything up to and including the
next attribute markJException
public boolean atEnd() throws JException
JException
public void rewind() throws JException
JException
public void close() throws JException
JException
protected void finalize()
finalize
in class java.lang.Object