public class RmiTransportWriter extends Writer
Title: RmiTransportWriter.java
Description: A writer that passes characters on to an
RmiTransportSink. You should wrap this in a BufferedWriter to reduce
network traffic to something manageable.
| Constructor and Description |
|---|
RmiTransportWriter(RmiJournalReceiverInterface receiver,
String repositoryHash,
String filename)
When the writer is created, open the connection to the receiver.
|
public RmiTransportWriter(RmiJournalReceiverInterface receiver, String repositoryHash, String filename) throws JournalException
JournalExceptionpublic void write(char[] cbuf,
int off,
int len)
throws IOException
write in class WriterIOExceptionpublic void close()
throws IOException
close in interface Closeableclose in interface AutoCloseableclose in class WriterIOExceptionpublic void flush()
throws IOException
flush in interface Flushableflush in class WriterIOExceptionCopyright © 2013 DuraSpace. All Rights Reserved.