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

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.

主站蜘蛛池模板: 天全县| 临泉县| 博罗县| 洛隆县| 安康市| 曲沃县| 塔河县| 溧水县| 宣城市| 泽州县| 马公市| 阳泉市| 香港 | 扎赉特旗| 广水市| 怀远县| 岢岚县| 凤山县| 永吉县| 安宁市| 隆回县| 抚松县| 自治县| 文水县| 万州区| 文水县| 怀来县| 子长县| 乌兰察布市| 磴口县| 台山市| 神木县| 乾安县| 淮南市| 红安县| 贞丰县| 太原市| 醴陵市| 从江县| 册亨县| 高阳县|