?? javamailconnection.java
字號:
/* * Copyright 2004-2005 Sun Microsystems, Inc. All rights reserved. * Use is subject to license terms. */package samples.connectors.mailconnector.api;import javax.mail.*;import javax.mail.Message.*;import javax.mail.internet.*;import javax.resource.*;/** * Application-level connection handle that is used by a * client component to access an EIS instance. * * @author Alejandro E. Murillo */public interface JavaMailConnection{ /** * Fetches new messages from the mail server. Application-specific method. * * @return an array of messages */ public javax.mail.Message[] getNewMessages() throws ResourceException; /** * Fetches new message headers from the mail server. Application-specific * method. * * @return a String array of message headers */ public String[] getNewMessageHeaders() throws ResourceException; /** * Closes the connection. */ public void close() throws ResourceException;}
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -