April 2019
Intermediate to advanced
360 pages
9h 17m
English
The AdvisingEmailHandler class extends the MainEmailHandler class. It assigns the keywords specific to the advising email handler and contains the processEmailFinal() method:
public class AdvisingEmailHandler extends MainEmailHandler { protected String[] keyWords() { // setup keywords for the receiver team return new String[] {"advising", "schedule", "course"}; } protected void processEmailFinal(String emailText) { System.out.println("The Advising Team processed the email."); } @Override public void setNextEmailHandler(UniversityEmailHandler emailHandler) { }}
The processEmailFinal() method just shown informs the user that the advising email handler took care of the received email.
Read now
Unlock full access