⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 jfmconsts.java

📁 java邮件源程序
💻 JAVA
字号:
/* * Created on 2004.08.16 * JFreeMail - Java mail component * Copyright (C) 2004 Dalibor Krleza *  * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as published by the Free Software Foundation; either * version 2.1 of the License, or (at your option) any later version. *  * This library is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU * Lesser General Public License for more details. *  * You should have received a copy of the GNU Lesser General Public * License along with this library; if not, write to the Free Software * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA */ package org.jfreemail.core;/** * Class used to store constants. */ public class JfmConsts {	/**	 * No POP3 authentication.	 */	public static final int POP3_NONE=-1;	/**	 * Plain POP3 authentication.	 */	public static final int POP3_PLAIN=0;	/**	 * APOP POP3 authentication.	 */	public static final int POP3_APOP=1;	/**	 * CRAM-MD5 POP3 authentication.	 */	public static final int POP3_CRAM_MD5=2;		/**	 * Constant for checking positive result for POP3.	 */	public static final String POP3_OK=new String("+OK");	/**	 * Constant for checking negative result for POP3.	 */	public static final String POP3_ERR=new String("-ERR");		/**	 * No SMTP authentication.	 */	public static final int SMTP_NONE=9;	/**	 * Login SMTP authentication.	 */	public static final int SMTP_LOGIN=10;	/**	 * CRAM-MD5 SMTP authentication.	 */	public static final int SMTP_CRAM_MD5=11;		/**	 * Number of authentication retries. Every retry decreases authentication	 * type. If initial set-up to SMTP_CRAM_MD5 and fails, next retry will use	 * SMTP_LOGIN.	 */	public static final int AUTH_RETRY=3;	/**	 * Constant for default charset. If no charset omitted in E-mail, using	 * default charset.	 */	public static String DEFAULT_CHARSET="UTF-8";	/**	 * Constant string used for sent E-mails to identify E-mailer. This is only	 * a component, so you can modify this string for identifying your own	 * E-mail client.	 */	public static String XMAILER_STRING="JFreeMail ver 0.1b";	/**	 * List containing mime/types for text message E-mail parts. Very important!	 * Here are listed all mime/types stored as text message. If you encounter	 * mime/type which isn't parsed correctly, add this mime/type in this	 * list. Please inform developer about this! 	 */	public static String[] TEXT_MIME_TYPES=new String[]		{"TEXT/PLAIN","TEXT/HTML","MESSAGE/DELIVERY-STATUS"}; }

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -