public class RepoRemoteInputStream extends InputStream
| Constructor and Description |
|---|
RepoRemoteInputStream(String handle,
RepoRemoteTransport remote,
ClientTicketHolder ticketHolder)
Construct one.
|
| Modifier and Type | Method and Description |
|---|---|
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.
|
available, mark, markSupported, read, reset, skippublic RepoRemoteInputStream(String handle, RepoRemoteTransport remote, ClientTicketHolder ticketHolder)
handle - The handle returned by getInputStream();remote - The AVMRemote instance.public int read()
throws IOException
read in class InputStreamIOExceptionpublic int read(byte[] b,
int off,
int len)
throws IOException
read in class InputStreamb - The buffer into which to put the bytes.off - The offset into the buffer.len - The number of bytes to read.IOExceptionpublic void close()
throws IOException
close in interface Closeableclose in interface AutoCloseableclose in class InputStreamIOExceptionCopyright © 2005–2018 Alfresco Software. All rights reserved.