public class SPAMViewer extends Viewer
Constructor and Description |
---|
SPAMViewer(java.lang.Object o)
The input mail to check if it is spam or not
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getString()
This just calls
Viewer.getProgramOutput(String) for "/usr/jserv/portal/bin/smtp_spamfilter/check_outgoing.sh" that will
check if the original input (an email body) is a spam or not. |
getProgramOutput
public SPAMViewer(java.lang.Object o)
o
- input to checkViewer.Viewer(Object)
public java.lang.String getString()
Viewer.getProgramOutput(String)
for "/usr/jserv/portal/bin/smtp_spamfilter/check_outgoing.sh" that will
check if the original input (an email body) is a spam or not.