|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--gate.email.EmailDocumentHandler
This class implements the behaviour of the Email reader It takes the Gate Document representing a list with e-mails and creates Gate annotations on it.
Constructor Summary | |
EmailDocumentHandler()
Constructor used in tests mostly |
|
EmailDocumentHandler(Document aGateDocument,
Map aMarkupElementsMap,
Map anElement2StringMap)
Constructor initialises some private fields |
Method Summary | |
void |
addStatusListener(StatusListener listener)
This methos is called when a listener is registered with this class |
void |
annotateMessages()
Reads the Gate Document line by line and does the folowing things: Each line is analized in order to detect where an e-mail starts. |
void |
removeStatusListener(StatusListener listener)
This methos is called when a listener is removed |
void |
testSelf()
Test final |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public EmailDocumentHandler()
public EmailDocumentHandler(Document aGateDocument, Map aMarkupElementsMap, Map anElement2StringMap)
Method Detail |
public void annotateMessages() throws IOException, InvalidOffsetException
IOException
InvalidOffsetException
public void addStatusListener(StatusListener listener)
public void removeStatusListener(StatusListener listener)
public void testSelf()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |