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

Finance email handler

The FinanceEmailHandler class extends the MainEmailHandler class. It assigns the keywords specific to the finance email handler and contains the processEmailFinal() method:

public class FinanceEmailHandler extends MainEmailHandler {

protected String[] keyWords() {
// setup keywords for the receiver team
return new String[] {"financial", "student aid", "tuition"};
}

protected void processEmailFinal(String emailText) {
System.out.println("The Finance Team processed the email.");
}

@Override
public void setNextEmailHandler(UniversityEmailHandler emailHandler) {

}
}

The processEmailFinal() method just shown informs the user that the finance email handler took care of the received email.

主站蜘蛛池模板: 崇左市| 额尔古纳市| 吴忠市| 吉木乃县| 凤庆县| 普安县| 万载县| 泸西县| 绥化市| 忻城县| 永善县| 蕲春县| 库伦旗| 开封县| 南华县| 八宿县| 江都市| 吉安市| 武穴市| 荥阳市| 广汉市| 苗栗市| 新乐市| 苍南县| 乌什县| 鹤壁市| 南郑县| 奉节县| 讷河市| 海林市| 抚顺县| 寿阳县| 大石桥市| 景东| 神木县| 东海县| 澳门| 华阴市| 汉川市| 沭阳县| 兖州市|