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

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.

主站蜘蛛池模板: 苏尼特左旗| 轮台县| 寻甸| 郎溪县| 汉沽区| 新巴尔虎左旗| 宁波市| 盐城市| 迭部县| 屏东县| 镇宁| 上栗县| 丰镇市| 横峰县| 绵阳市| 阿拉善右旗| 株洲县| 沙湾县| 海宁市| 孝感市| 甘洛县| 科技| 嵊州市| 龙岩市| 大余县| 信阳市| 海南省| 烟台市| 闵行区| 莆田市| 鹤岗市| 育儿| 密云县| 元阳县| 卫辉市| 巨鹿县| 西乌| 广东省| 张北县| 平江县| 潞城市|