官术网_书友最值得收藏!

Advising email handler

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.

主站蜘蛛池模板: 酒泉市| 达州市| 巫山县| 双桥区| 高碑店市| 华池县| 棋牌| 白水县| 安吉县| 宁陕县| 涡阳县| 临夏市| 澜沧| 江西省| 禄劝| 嵊泗县| 温州市| 漾濞| 武乡县| 平顺县| 大连市| 乌拉特后旗| 灵川县| 北海市| 阳山县| 喜德县| 永和县| 宿松县| 双桥区| 德兴市| 平果县| 韶山市| 彰化市| 弥勒县| 南木林县| 边坝县| 金山区| 平乡县| 大悟县| 如东县| 阿克陶县|