|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.io.Writer
org.fcrepo.server.journal.readerwriter.multicast.rmi.RmiTransportWriter
public class RmiTransportWriter
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.
| Field Summary |
|---|
| Fields inherited from class java.io.Writer |
|---|
lock |
| Constructor Summary | |
|---|---|
RmiTransportWriter(RmiJournalReceiverInterface receiver,
String repositoryHash,
String filename)
When the writer is created, open the connection to the receiver. |
|
| Method Summary | |
|---|---|
void |
close()
Time to close the file? Tell the receiver. |
void |
flush()
Flush has no effect. |
void |
write(char[] cbuf,
int off,
int len)
Each time characters are written, send them to the receiver. |
| Methods inherited from class java.io.Writer |
|---|
append, append, append, write, write, write, write |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public RmiTransportWriter(RmiJournalReceiverInterface receiver,
String repositoryHash,
String filename)
throws JournalException
JournalException| Method Detail |
|---|
public void write(char[] cbuf,
int off,
int len)
throws IOException
write in class WriterIOException
public void close()
throws IOException
close in interface Closeableclose in class WriterIOException
public void flush()
throws IOException
flush in interface Flushableflush in class WriterIOException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||