org.apache.mahout.utils.email
Class MailProcessor
java.lang.Object
org.apache.mahout.utils.email.MailProcessor
public class MailProcessor
- extends Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SUBJECT_PREFIX
public static final Pattern SUBJECT_PREFIX
FROM_PREFIX
public static final Pattern FROM_PREFIX
REFS_PREFIX
public static final Pattern REFS_PREFIX
TO_PREFIX
public static final Pattern TO_PREFIX
MailProcessor
public MailProcessor(MailOptions options,
String prefix,
Writer writer)
MailProcessor
public MailProcessor(MailOptions options,
String prefix,
ChunkedWriter writer)
parseMboxLineByLine
public long parseMboxLineByLine(File mboxFile)
throws IOException
- Throws:
IOException
generateKey
protected static String generateKey(File mboxFile,
String prefix,
String messageId)
getPrefix
public String getPrefix()
getOptions
public MailOptions getOptions()
Copyright © 2008-2012 The Apache Software Foundation. All Rights Reserved.