net.fortuna.mstor.data
Class MboxEncoder

java.lang.Object
  extended by net.fortuna.mstor.data.MboxEncoder

public final class MboxEncoder
extends Object

Implements encoding for writing a message to an mbox file. Encoding involves automatically escaping any "From_" patterns in the body of the message.

Author:
Ben Fortuna

Method Summary
static byte[] encode(byte[] bytes)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

encode

public static byte[] encode(byte[] bytes)
                     throws IOException
Parameters:
bytes -
Returns:
Throws:
IOException