|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.fortuna.mstor.data.MessageAppender
public class MessageAppender
$Id$ Created on 03/03/2008
Field Summary | |
---|---|
static java.lang.String |
FROM__PREFIX
The prefix for all "From_" lines in an mbox file. |
Constructor Summary | |
---|---|
MessageAppender(java.nio.channels.FileChannel channel)
|
|
MessageAppender(java.nio.channels.FileChannel channel,
java.nio.charset.Charset charset)
|
Method Summary | |
---|---|
long |
appendMessage(byte[] message)
Appends the specified message (represented by a byte array) to the specified channel. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final java.lang.String FROM__PREFIX
Constructor Detail |
---|
public MessageAppender(java.nio.channels.FileChannel channel)
channel
- public MessageAppender(java.nio.channels.FileChannel channel, java.nio.charset.Charset charset)
channel
- charset
- Method Detail |
---|
public long appendMessage(byte[] message) throws java.io.IOException
message
-
java.io.IOException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |