|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectjava.io.InputStream
org.alfresco.repo.remote.AVMRemoteInputStream
public class AVMRemoteInputStream
Wrapper around AVMRemote stream reading.
| Constructor Summary | |
|---|---|
AVMRemoteInputStream(java.lang.String handle,
AVMRemoteTransport remote,
ClientTicketHolder ticketHolder)
Construct one. |
|
| Method Summary | |
|---|---|
void |
close()
Close the underlying AVMRemote handle. |
int |
read()
Read in a single byte. |
int |
read(byte[] b,
int off,
int len)
Read a buffer of bytes. |
| Methods inherited from class java.io.InputStream |
|---|
available, mark, markSupported, read, reset, skip |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public AVMRemoteInputStream(java.lang.String handle,
AVMRemoteTransport remote,
ClientTicketHolder ticketHolder)
handle - The handle returned by getInputStream();remote - The AVMRemote instance.| Method Detail |
|---|
public int read()
throws java.io.IOException
read in class java.io.InputStreamjava.io.IOException
public int read(byte[] b,
int off,
int len)
throws java.io.IOException
read in class java.io.InputStreamb - The buffer into which to put the bytes.off - The offset into the buffer.len - The number of bytes to read.
java.io.IOException
public void close()
throws java.io.IOException
close in interface java.io.Closeableclose in class java.io.InputStreamjava.io.IOException
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||