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

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.

主站蜘蛛池模板: 蒙城县| 金塔县| 徐闻县| 若尔盖县| 英德市| 连南| 无锡市| 大英县| 锦州市| 南京市| 泸溪县| 武功县| 灵武市| 卓尼县| 遵化市| 湘潭县| 德昌县| 泉州市| 即墨市| 台江县| 张家港市| 沙湾县| 司法| 祁东县| 磐石市| 凤凰县| 芮城县| 福海县| 苏尼特右旗| 开平市| 镇原县| 竹山县| 格尔木市| 抚松县| 醴陵市| 岳普湖县| 同仁县| 囊谦县| 通化市| 黎川县| 宁河县|