public class RepoRemoteOutputStream extends OutputStream
| Constructor and Description |
|---|
RepoRemoteOutputStream(String handle,
RepoRemoteTransport remote,
ClientTicketHolder ticketHolder)
Create a new one.
|
| Modifier and Type | Method and Description |
|---|---|
void |
close()
Close the stream.
|
void |
write(byte[] b)
Write a buffer of data.
|
void |
write(byte[] b,
int off,
int len)
Write a portion of a block of bytes.
|
void |
write(int b)
Write one character.
|
flushpublic RepoRemoteOutputStream(String handle, RepoRemoteTransport remote, ClientTicketHolder ticketHolder)
handle - The handle returned from an RepoRemoteTransport call.remote - The AVMRemote instance.public void write(int b)
throws IOException
write in class OutputStreamb - The character.IOExceptionpublic void close()
throws IOException
close in interface Closeableclose in interface AutoCloseableclose in class OutputStreamIOExceptionpublic void write(byte[] b,
int off,
int len)
throws IOException
write in class OutputStreamb - The buffer containing the data.off - The offset into the buffer.len - The number of bytes to write.IOExceptionpublic void write(byte[] b)
throws IOException
write in class OutputStreamb - The buffer.IOExceptionCopyright © 2005–2018 Alfresco Software. All rights reserved.