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.
|
flush
public 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 OutputStream
b
- The character.IOException
public void close() throws IOException
close
in interface Closeable
close
in interface AutoCloseable
close
in class OutputStream
IOException
public void write(byte[] b, int off, int len) throws IOException
write
in class OutputStream
b
- The buffer containing the data.off
- The offset into the buffer.len
- The number of bytes to write.IOException
public void write(byte[] b) throws IOException
write
in class OutputStream
b
- The buffer.IOException
Copyright © 2005–2017 Alfresco Software. All rights reserved.