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

📄 decode.java

📁 手机邮箱撒的方式方式方式的
💻 JAVA
字号:
package mujmail;/*MujMail - Simple mail client for J2MECopyright (C) 2003-2005 Petr Spatka <petr.spatka@centrum.cz>Copyright (C) 2005 Pavel Machek <pavel@ucw.cz>Copyright (C) 2006 Nguyen Son Tung <n.sontung@gmail.com>Copyright (C) 2006 Martin Stefan <martin.stefan@centrum.cz>This program is free software; you can redistribute it and/or modifyit under the terms of the GNU General Public License as published bythe Free Software Foundation; either version 2 of the License, or(at your option) any later version.This program is distributed in the hope that it will be useful,but WITHOUT ANY WARRANTY; without even the implied warranty ofMERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See theGNU General Public License for more details.You should have received a copy of the GNU General Public Licensealong with this program; if not, write to the Free SoftwareFoundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */import java.io.*;/** * Class responsible for converting different character  * sets and encodings (Base64, QuotedPrintable). *  */public class Decode {    /** Flag signals if we want to print debug prints */    private static final boolean DEBUG = false;    //iso 8859-2 from 128 to 255    // Unicode char codes get from http://encyklopedie.seznam.cz/heslo/454274-iso-8859-2    static final char latin2[] = {        '\u0080', '\u0081', '\u0082', '\u0083', '\u0084', '\u0085', '\u0086', '\u0087', '\u0088', '\u0089', '\u008A', '\u008B', '\u008C', '\u008D', '\u008E', '\u008F',     // ' ',      ' ',      ' ',      ' ',      ' ',      ' ',      ' ',      ' ',      ' ',      ' ',      ' ',      ' ',      ' ',      ' ',      ' ',      ' ', // 144 - 159        '\u0090', '\u0091', '\u0092', '\u0093', '\u0094', '\u0095', '\u0096', '\u0097', '\u0098', '\u0099', '\u009A', '\u009B', '\u009C', '\u009D', '\u009E', '\u009F',     // ' ',      '膭',      '藰',      '艁',      '陇',      '慕',      '艢',      '搂',      '篓',      '艩',      '艦',      '扭',      '殴',      '-',      '沤',      '呕',        '\u00A0', '\u0104', '\u02D8', '\u0141', '\u00A4', '\u013D', '\u015A', '\u00A7', '\u00A8', '\u0160', '\u015E', '\u0164', '\u0179', '-',      '\u017D', '\u017B',     // '掳',      '膮',      '藳',      '艂',      '麓',      '木',      '艣',      '藝',      '赂',      '拧',      '艧',      '钮',      '藕',      '藵',      '啪',      '偶',         '\u00B0', '\u0105', '\u02DB', '\u0142', '\u00B4', '\u013E', '\u015B', '\u02C7', '\u00B8', '\u0161', '\u015F', '\u0165', '\u017A', '\u02DD', '\u017E', '\u017C',     // '艛',      '脕',      '脗',      '膫',      '脛',      '墓',      '膯',      '脟',      '膶',      '脡',      '臉',      '脣',      '臍',      '脥',      '脦',      '膸',         '\u0154', '\u00C1', '\u00C2', '\u0102', '\u00C4', '\u0139', '\u0106', '\u00C7', '\u010C', '\u00C9', '\u0118', '\u00CB', '\u011A', '\u00CD', '\u00CE', '\u010E',     //  '膼',      '艃',      '艊',      '脫',      '脭',      '艕',      '脰',      '脳',      '艠',      '女',      '脷',      '虐',      '脺',      '脻',      '泞',      '脽',         '\u0110', '\u0143', '\u0147', '\u00D3', '\u00D4', '\u0150', '\u00D6', '\u00D7', '\u0158', '\u016E', '\u00DA', '\u0170', '\u00DC', '\u00DD', '\u0162', '\u00DF',      // '艜',      '谩',      '芒',      '膬',      '盲',      '暮',      '膰',      '莽',      '膷',      '茅',      '臋',      '毛',      '臎',      '铆',      '卯',      '膹',         '\u0155', '\u00E1', '\u00E2', '\u0103', '\u00E4', '\u013A', '\u0107', '\u00E7', '\u010D', '\u00E9', '\u0119', '\u00EB', '\u011B', '\u00ED', '\u00EE', '\u010F',      // '膽',      '艅',      '艌',      '贸',      '么',      '艖',      '枚',      '梅',      '艡',      '暖',      '煤',      '疟',      '眉',      '媒',      '牛',      '藱',         '\u0111', '\u0144', '\u0148', '\u00F3', '\u00F4', '\u0151', '\u00F6', '\u00F7', '\u0159', '\u016F', '\u00FA', '\u0171', '\u00FC', '\u00FD', '\u0163', '\u02D9'    };    //from 128 to 255    // Unicode char codes get from http://encyklopedie.seznam.cz/heslo/464614-windows-1250    static final char windows1250[] = {     // '鈧

⌨️ 快捷键说明

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