Java 类javax.mail.event.StoreEvent 实例源码

项目:scipio-erp    文件:JavaMailContainer.java   
@Override
public void notification(StoreEvent event) {
    String typeString = "";
    switch (event.getMessageType()) {
        case StoreEvent.ALERT:
            typeString = "ALERT: ";
            break;
        case StoreEvent.NOTICE:
            typeString = "NOTICE: ";
            break;
    }

    if (Debug.verboseOn()) Debug.logVerbose("JavaMail " + typeString + event.getMessage(), module);
}
项目:elpi    文件:JavaMailContainer.java   
public void notification(StoreEvent event) {
    String typeString = "";
    switch (event.getMessageType()) {
        case StoreEvent.ALERT:
            typeString = "ALERT: ";
            break;
        case StoreEvent.NOTICE:
            typeString = "NOTICE: ";
            break;
    }

    if (Debug.verboseOn()) Debug.logVerbose("JavaMail " + typeString + event.getMessage(), module);
}
项目:o3erp    文件:JavaMailContainer.java   
public void notification(StoreEvent event) {
    String typeString = "";
    switch (event.getMessageType()) {
        case StoreEvent.ALERT:
            typeString = "ALERT: ";
            break;
        case StoreEvent.NOTICE:
            typeString = "NOTICE: ";
            break;
    }

    if (Debug.verboseOn()) Debug.logVerbose("JavaMail " + typeString + event.getMessage(), module);
}