public class AVMRemoteInputStream
extends java.io.InputStream
| Constructor and Description |
|---|
AVMRemoteInputStream(java.lang.String handle,
AVMRemoteTransport remote,
ClientTicketHolder ticketHolder)
Construct one.
|
public AVMRemoteInputStream(java.lang.String handle,
AVMRemoteTransport remote,
ClientTicketHolder ticketHolder)
handle - The handle returned by getInputStream();remote - The AVMRemote instance.public int read()
throws java.io.IOException
read in class java.io.InputStreamjava.io.IOExceptionpublic 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.IOExceptionpublic void close()
throws java.io.IOException
close in interface java.io.Closeableclose in interface java.lang.AutoCloseableclose in class java.io.InputStreamjava.io.IOExceptionCopyright © 2005 - 2010 Alfresco Software, Inc. All Rights Reserved.