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

University email handler interface

The UniversityEmailHandler interface has two methods. The first method, setNextEmailHandler(), accepts a UniversityEmailHandler argument, which will be the next handler in the chain of authority. The second method, processEmailHandler(), is used if the email is processed by the current handler:

public interface UniversityEmailHandler {

public void setNextEmailHandler(UniversityEmailHandler emailHandler);

public void processEmailHandler(String emailText);

}

The preceding code explains the handler interface.

主站蜘蛛池模板: 定结县| 府谷县| 古田县| 乳山市| 宁明县| 乌兰察布市| 达拉特旗| 互助| 樟树市| 德阳市| 荆州市| 河南省| 女性| 阿荣旗| 锡林郭勒盟| 阜新市| 寻甸| 灌云县| 淳化县| 荔浦县| 徐汇区| 即墨市| 丁青县| 陵水| 弥渡县| 巩留县| 大英县| 平顶山市| 鲜城| 三都| 兴城市| 手游| 施甸县| 洪江市| 榆社县| 定州市| 吉隆县| 凤台县| 青河县| 杭锦后旗| 邳州市|