|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.io.OutputStream
org.alfresco.repo.remote.RepoRemoteOutputStream
public class RepoRemoteOutputStream
A wrapper implementation of OutputStream to work with a RepoRemoteTransport instance.
Constructor Summary | |
---|---|
RepoRemoteOutputStream(java.lang.String handle,
RepoRemoteTransport remote,
ClientTicketHolder ticketHolder)
Create a new one. |
Method Summary | |
---|---|
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. |
Methods inherited from class java.io.OutputStream |
---|
flush |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public RepoRemoteOutputStream(java.lang.String handle, RepoRemoteTransport remote, ClientTicketHolder ticketHolder)
handle
- The handle returned from an RepoRemoteTransport call.remote
- The AVMRemote instance.Method Detail |
---|
public void write(int b) throws java.io.IOException
write
in class java.io.OutputStream
b
- The character.
java.io.IOException
public void close() throws java.io.IOException
close
in interface java.io.Closeable
close
in class java.io.OutputStream
java.io.IOException
public void write(byte[] b, int off, int len) throws java.io.IOException
write
in class java.io.OutputStream
b
- The buffer containing the data.off
- The offset into the buffer.len
- The number of bytes to write.
java.io.IOException
public void write(byte[] b) throws java.io.IOException
write
in class java.io.OutputStream
b
- The buffer.
java.io.IOException
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |