org.apache.mahout.utils.email
Class MailOptions
java.lang.Object
org.apache.mahout.utils.email.MailOptions
public class MailOptions
- extends Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
FROM
public static final String FROM
- See Also:
- Constant Field Values
TO
public static final String TO
- See Also:
- Constant Field Values
REFS
public static final String REFS
- See Also:
- Constant Field Values
SUBJECT
public static final String SUBJECT
- See Also:
- Constant Field Values
DEFAULT_QUOTED_TEXT
public static final Pattern DEFAULT_QUOTED_TEXT
MailOptions
public MailOptions()
getInput
public File getInput()
setInput
public void setInput(File input)
getOutputDir
public String getOutputDir()
setOutputDir
public void setOutputDir(String outputDir)
getPrefix
public String getPrefix()
setPrefix
public void setPrefix(String prefix)
getChunkSize
public int getChunkSize()
setChunkSize
public void setChunkSize(int chunkSize)
getCharset
public Charset getCharset()
setCharset
public void setCharset(Charset charset)
getSeparator
public String getSeparator()
setSeparator
public void setSeparator(String separator)
getBodySeparator
public String getBodySeparator()
setBodySeparator
public void setBodySeparator(String bodySeparator)
isIncludeBody
public boolean isIncludeBody()
setIncludeBody
public void setIncludeBody(boolean includeBody)
getPatternsToMatch
public Pattern[] getPatternsToMatch()
setPatternsToMatch
public void setPatternsToMatch(Pattern[] patternsToMatch)
getPatternOrder
public Map<String,Integer> getPatternOrder()
setPatternOrder
public void setPatternOrder(Map<String,Integer> patternOrder)
isStripQuotedText
public boolean isStripQuotedText()
- Returns:
- true if we should strip out quoted email text
setStripQuotedText
public void setStripQuotedText(boolean stripQuotedText)
- Parameters:
stripQuotedText
- if true, then strip off quoted text, such as lines starting with | or >
getQuotedTextPattern
public Pattern getQuotedTextPattern()
setQuotedTextPattern
public void setQuotedTextPattern(Pattern quotedTextPattern)
- Parameters:
quotedTextPattern
- The Pattern
to use to identify lines that are quoted text. Default is | and >- See Also:
setStripQuotedText(boolean)
Copyright © 2008-2012 The Apache Software Foundation. All Rights Reserved.