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

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.

主站蜘蛛池模板: 上栗县| 绥阳县| 石阡县| 凤庆县| 益阳市| 咸宁市| 五河县| 留坝县| 南召县| 河西区| 元江| 芦山县| 台江县| 太和县| 澎湖县| 郸城县| 安图县| 巫溪县| 马公市| 鄂伦春自治旗| 南皮县| 郯城县| 周宁县| 临湘市| 福贡县| 抚宁县| 寿宁县| 胶州市| 逊克县| 汪清县| 侯马市| 苏尼特左旗| 德保县| 理塘县| 新邵县| 宝清县| 正镶白旗| 临泽县| 牡丹江市| 方正县| 黄骅市|