public class com.sun.xml.internal.messaging.saaj.packaging.mime.internet.MimeUtility
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: com.sun.xml.internal.messaging.saaj.packaging.mime.internet.MimeUtility
super_class: java.lang.Object
{
public static final int ALL;
descriptor: I
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: -1
private static final int BUFFER_SIZE;
descriptor: I
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: 1024
private static boolean decodeStrict;
descriptor: Z
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
private static boolean encodeEolStrict;
descriptor: Z
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
private static boolean foldEncodedWords;
descriptor: Z
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
private static boolean foldText;
descriptor: Z
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
private static java.lang.String defaultJavaCharset;
descriptor: Ljava/lang/String;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
private static java.lang.String defaultMIMECharset;
descriptor: Ljava/lang/String;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
private static java.util.Hashtable<java.lang.String, java.lang.String> mime2java;
descriptor: Ljava/util/Hashtable;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Signature: Ljava/util/Hashtable<Ljava/lang/String;Ljava/lang/String;>;
private static java.util.Hashtable<java.lang.String, java.lang.String> java2mime;
descriptor: Ljava/util/Hashtable;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Signature: Ljava/util/Hashtable<Ljava/lang/String;Ljava/lang/String;>;
static final int ALL_ASCII;
descriptor: I
flags: (0x0018) ACC_STATIC, ACC_FINAL
ConstantValue: 1
static final int MOSTLY_ASCII;
descriptor: I
flags: (0x0018) ACC_STATIC, ACC_FINAL
ConstantValue: 2
static final int MOSTLY_NONASCII;
descriptor: I
flags: (0x0018) ACC_STATIC, ACC_FINAL
ConstantValue: 3
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=3, locals=1, args_size=0
0: iconst_1
putstatic com.sun.xml.internal.messaging.saaj.packaging.mime.internet.MimeUtility.decodeStrict:Z
1: iconst_0
putstatic com.sun.xml.internal.messaging.saaj.packaging.mime.internet.MimeUtility.encodeEolStrict:Z
2: iconst_0
putstatic com.sun.xml.internal.messaging.saaj.packaging.mime.internet.MimeUtility.foldEncodedWords:Z
3: iconst_1
putstatic com.sun.xml.internal.messaging.saaj.packaging.mime.internet.MimeUtility.foldText:Z
4: ldc "mail.mime.decodetext.strict"
invokestatic com.sun.xml.internal.messaging.saaj.util.SAAJUtil.getSystemProperty:(Ljava/lang/String;)Ljava/lang/String;
astore 0
start local 0 5: aload 0
ifnull 6
aload 0
ldc "false"
invokevirtual java.lang.String.equalsIgnoreCase:(Ljava/lang/String;)Z
ifeq 6
iconst_0
goto 7
StackMap locals: java.lang.String
StackMap stack:
6: iconst_1
StackMap locals:
StackMap stack: int
7: putstatic com.sun.xml.internal.messaging.saaj.packaging.mime.internet.MimeUtility.decodeStrict:Z
8: ldc "mail.mime.encodeeol.strict"
invokestatic com.sun.xml.internal.messaging.saaj.util.SAAJUtil.getSystemProperty:(Ljava/lang/String;)Ljava/lang/String;
astore 0
9: aload 0
ifnull 10
aload 0
ldc "true"
invokevirtual java.lang.String.equalsIgnoreCase:(Ljava/lang/String;)Z
ifeq 10
iconst_1
goto 11
StackMap locals:
StackMap stack:
10: iconst_0
StackMap locals:
StackMap stack: int
11: putstatic com.sun.xml.internal.messaging.saaj.packaging.mime.internet.MimeUtility.encodeEolStrict:Z
12: ldc "mail.mime.foldencodedwords"
invokestatic com.sun.xml.internal.messaging.saaj.util.SAAJUtil.getSystemProperty:(Ljava/lang/String;)Ljava/lang/String;
astore 0
13: aload 0
ifnull 14
aload 0
ldc "true"
invokevirtual java.lang.String.equalsIgnoreCase:(Ljava/lang/String;)Z
ifeq 14
iconst_1
goto 15
StackMap locals:
StackMap stack:
14: iconst_0
StackMap locals:
StackMap stack: int
15: putstatic com.sun.xml.internal.messaging.saaj.packaging.mime.internet.MimeUtility.foldEncodedWords:Z
16: ldc "mail.mime.foldtext"
invokestatic com.sun.xml.internal.messaging.saaj.util.SAAJUtil.getSystemProperty:(Ljava/lang/String;)Ljava/lang/String;
astore 0
17: aload 0
ifnull 18
aload 0
ldc "false"
invokevirtual java.lang.String.equalsIgnoreCase:(Ljava/lang/String;)Z
ifeq 18
iconst_0
goto 19
StackMap locals:
StackMap stack:
18: iconst_1
StackMap locals:
StackMap stack: int
19: putstatic com.sun.xml.internal.messaging.saaj.packaging.mime.internet.MimeUtility.foldText:Z
end local 0 20: goto 22
StackMap locals:
StackMap stack: java.lang.SecurityException
21: pop
22: StackMap locals:
StackMap stack:
new java.util.Hashtable
dup
bipush 40
invokespecial java.util.Hashtable.<init>:(I)V
putstatic com.sun.xml.internal.messaging.saaj.packaging.mime.internet.MimeUtility.java2mime:Ljava/util/Hashtable;
23: new java.util.Hashtable
dup
bipush 10
invokespecial java.util.Hashtable.<init>:(I)V
putstatic com.sun.xml.internal.messaging.saaj.packaging.mime.internet.MimeUtility.mime2java:Ljava/util/Hashtable;
24: ldc Lcom/sun/xml/internal/messaging/saaj/packaging/mime/internet/MimeUtility;
25: ldc "/META-INF/javamail.charset.map"
26: invokevirtual java.lang.Class.getResourceAsStream:(Ljava/lang/String;)Ljava/io/InputStream;
27: astore 0
start local 0 28: aload 0
ifnull 34
29: new com.sun.xml.internal.messaging.saaj.packaging.mime.util.LineInputStream
dup
aload 0
invokespecial com.sun.xml.internal.messaging.saaj.packaging.mime.util.LineInputStream.<init>:(Ljava/io/InputStream;)V
astore 0
30: aload 0
checkcast com.sun.xml.internal.messaging.saaj.packaging.mime.util.LineInputStream
getstatic com.sun.xml.internal.messaging.saaj.packaging.mime.internet.MimeUtility.java2mime:Ljava/util/Hashtable;
invokestatic com.sun.xml.internal.messaging.saaj.packaging.mime.internet.MimeUtility.loadMappings:(Lcom/sun/xml/internal/messaging/saaj/packaging/mime/util/LineInputStream;Ljava/util/Hashtable;)V
31: aload 0
checkcast com.sun.xml.internal.messaging.saaj.packaging.mime.util.LineInputStream
getstatic com.sun.xml.internal.messaging.saaj.packaging.mime.internet.MimeUtility.mime2java:Ljava/util/Hashtable;
invokestatic com.sun.xml.internal.messaging.saaj.packaging.mime.internet.MimeUtility.loadMappings:(Lcom/sun/xml/internal/messaging/saaj/packaging/mime/util/LineInputStream;Ljava/util/Hashtable;)V
end local 0 32: goto 34
StackMap locals:
StackMap stack: java.lang.Exception
33: pop
34: StackMap locals:
StackMap stack:
getstatic com.sun.xml.internal.messaging.saaj.packaging.mime.internet.MimeUtility.java2mime:Ljava/util/Hashtable;
invokevirtual java.util.Hashtable.isEmpty:()Z
ifeq 71
35: getstatic com.sun.xml.internal.messaging.saaj.packaging.mime.internet.MimeUtility.java2mime:Ljava/util/Hashtable;
ldc "8859_1"
ldc "ISO-8859-1"
invokevirtual java.util.Hashtable.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
36: getstatic com.sun.xml.internal.messaging.saaj.packaging.mime.internet.MimeUtility.java2mime:Ljava/util/Hashtable;
ldc "iso8859_1"
ldc "ISO-8859-1"
invokevirtual java.util.Hashtable.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
37: getstatic com.sun.xml.internal.messaging.saaj.packaging.mime.internet.MimeUtility.java2mime:Ljava/util/Hashtable;
ldc "ISO8859-1"
ldc "ISO-8859-1"
invokevirtual java.util.Hashtable.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
38: getstatic com.sun.xml.internal.messaging.saaj.packaging.mime.internet.MimeUtility.java2mime:Ljava/util/Hashtable;
ldc "8859_2"
ldc "ISO-8859-2"
invokevirtual java.util.Hashtable.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
39: getstatic com.sun.xml.internal.messaging.saaj.packaging.mime.internet.MimeUtility.java2mime:Ljava/util/Hashtable;
ldc "iso8859_2"
ldc "ISO-8859-2"
invokevirtual java.util.Hashtable.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
40: getstatic com.sun.xml.internal.messaging.saaj.packaging.mime.internet.MimeUtility.java2mime:Ljava/util/Hashtable;
ldc "ISO8859-2"
ldc "ISO-8859-2"
invokevirtual java.util.Hashtable.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
41: getstatic com.sun.xml.internal.messaging.saaj.packaging.mime.internet.MimeUtility.java2mime:Ljava/util/Hashtable;
ldc "8859_3"
ldc "ISO-8859-3"
invokevirtual java.util.Hashtable.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
42: getstatic com.sun.xml.internal.messaging.saaj.packaging.mime.internet.MimeUtility.java2mime:Ljava/util/Hashtable;
ldc "iso8859_3"
ldc "ISO-8859-3"
invokevirtual java.util.Hashtable.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
43: getstatic com.sun.xml.internal.messaging.saaj.packaging.mime.internet.MimeUtility.java2mime:Ljava/util/Hashtable;
ldc "ISO8859-3"
ldc "ISO-8859-3"
invokevirtual java.util.Hashtable.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
44: getstatic com.sun.xml.internal.messaging.saaj.packaging.mime.internet.MimeUtility.java2mime:Ljava/util/Hashtable;
ldc "8859_4"
ldc "ISO-8859-4"
invokevirtual java.util.Hashtable.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
45: getstatic com.sun.xml.internal.messaging.saaj.packaging.mime.internet.MimeUtility.java2mime:Ljava/util/Hashtable;
ldc "iso8859_4"
ldc "ISO-8859-4"
invokevirtual java.util.Hashtable.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
46: getstatic com.sun.xml.internal.messaging.saaj.packaging.mime.internet.MimeUtility.java2mime:Ljava/util/Hashtable;
ldc "ISO8859-4"
ldc "ISO-8859-4"
invokevirtual java.util.Hashtable.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
47: getstatic com.sun.xml.internal.messaging.saaj.packaging.mime.internet.MimeUtility.java2mime:Ljava/util/Hashtable;
ldc "8859_5"
ldc "ISO-8859-5"
invokevirtual java.util.Hashtable.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
48: getstatic com.sun.xml.internal.messaging.saaj.packaging.mime.internet.MimeUtility.java2mime:Ljava/util/Hashtable;
ldc "iso8859_5"
ldc "ISO-8859-5"
invokevirtual java.util.Hashtable.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
49: getstatic com.sun.xml.internal.messaging.saaj.packaging.mime.internet.MimeUtility.java2mime:Ljava/util/Hashtable;
ldc "ISO8859-5"
ldc "ISO-8859-5"
invokevirtual java.util.Hashtable.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
50: getstatic com.sun.xml.internal.messaging.saaj.packaging.mime.internet.MimeUtility.java2mime:Ljava/util/Hashtable;
ldc "8859_6"
ldc "ISO-8859-6"
invokevirtual java.util.Hashtable.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
51: getstatic com.sun.xml.internal.messaging.saaj.packaging.mime.internet.MimeUtility.java2mime:Ljava/util/Hashtable;
ldc "iso8859_6"
ldc "ISO-8859-6"
invokevirtual java.util.Hashtable.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
52: getstatic com.sun.xml.internal.messaging.saaj.packaging.mime.internet.MimeUtility.java2mime:Ljava/util/Hashtable;
ldc "ISO8859-6"
ldc "ISO-8859-6"
invokevirtual java.util.Hashtable.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
53: getstatic com.sun.xml.internal.messaging.saaj.packaging.mime.internet.MimeUtility.java2mime:Ljava/util/Hashtable;
ldc "8859_7"
ldc "ISO-8859-7"
invokevirtual java.util.Hashtable.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
54: getstatic com.sun.xml.internal.messaging.saaj.packaging.mime.internet.MimeUtility.java2mime:Ljava/util/Hashtable;
ldc "iso8859_7"
ldc "ISO-8859-7"
invokevirtual java.util.Hashtable.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
55: getstatic com.sun.xml.internal.messaging.saaj.packaging.mime.internet.MimeUtility.java2mime:Ljava/util/Hashtable;
ldc "ISO8859-7"
ldc "ISO-8859-7"
invokevirtual java.util.Hashtable.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
56: getstatic com.sun.xml.internal.messaging.saaj.packaging.mime.internet.MimeUtility.java2mime:Ljava/util/Hashtable;
ldc "8859_8"
ldc "ISO-8859-8"
invokevirtual java.util.Hashtable.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
57: getstatic com.sun.xml.internal.messaging.saaj.packaging.mime.internet.MimeUtility.java2mime:Ljava/util/Hashtable;
ldc "iso8859_8"
ldc "ISO-8859-8"
invokevirtual java.util.Hashtable.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
58: getstatic com.sun.xml.internal.messaging.saaj.packaging.mime.internet.MimeUtility.java2mime:Ljava/util/Hashtable;
ldc "ISO8859-8"
ldc "ISO-8859-8"
invokevirtual java.util.Hashtable.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
59: getstatic com.sun.xml.internal.messaging.saaj.packaging.mime.internet.MimeUtility.java2mime:Ljava/util/Hashtable;
ldc "8859_9"
ldc "ISO-8859-9"
invokevirtual java.util.Hashtable.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
60: getstatic com.sun.xml.internal.messaging.saaj.packaging.mime.internet.MimeUtility.java2mime:Ljava/util/Hashtable;
ldc "iso8859_9"
ldc "ISO-8859-9"
invokevirtual java.util.Hashtable.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
61: getstatic com.sun.xml.internal.messaging.saaj.packaging.mime.internet.MimeUtility.java2mime:Ljava/util/Hashtable;
ldc "ISO8859-9"
ldc "ISO-8859-9"
invokevirtual java.util.Hashtable.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
62: getstatic com.sun.xml.internal.messaging.saaj.packaging.mime.internet.MimeUtility.java2mime:Ljava/util/Hashtable;
ldc "SJIS"
ldc "Shift_JIS"
invokevirtual java.util.Hashtable.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
63: getstatic com.sun.xml.internal.messaging.saaj.packaging.mime.internet.MimeUtility.java2mime:Ljava/util/Hashtable;
ldc "MS932"
ldc "Shift_JIS"
invokevirtual java.util.Hashtable.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
64: getstatic com.sun.xml.internal.messaging.saaj.packaging.mime.internet.MimeUtility.java2mime:Ljava/util/Hashtable;
ldc "JIS"
ldc "ISO-2022-JP"
invokevirtual java.util.Hashtable.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
65: getstatic com.sun.xml.internal.messaging.saaj.packaging.mime.internet.MimeUtility.java2mime:Ljava/util/Hashtable;
ldc "ISO2022JP"
ldc "ISO-2022-JP"
invokevirtual java.util.Hashtable.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
66: getstatic com.sun.xml.internal.messaging.saaj.packaging.mime.internet.MimeUtility.java2mime:Ljava/util/Hashtable;
ldc "EUC_JP"
ldc "euc-jp"
invokevirtual java.util.Hashtable.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
67: getstatic com.sun.xml.internal.messaging.saaj.packaging.mime.internet.MimeUtility.java2mime:Ljava/util/Hashtable;
ldc "KOI8_R"
ldc "koi8-r"
invokevirtual java.util.Hashtable.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
68: getstatic com.sun.xml.internal.messaging.saaj.packaging.mime.internet.MimeUtility.java2mime:Ljava/util/Hashtable;
ldc "EUC_CN"
ldc "euc-cn"
invokevirtual java.util.Hashtable.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
69: getstatic com.sun.xml.internal.messaging.saaj.packaging.mime.internet.MimeUtility.java2mime:Ljava/util/Hashtable;
ldc "EUC_TW"
ldc "euc-tw"
invokevirtual java.util.Hashtable.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
70: getstatic com.sun.xml.internal.messaging.saaj.packaging.mime.internet.MimeUtility.java2mime:Ljava/util/Hashtable;
ldc "EUC_KR"
ldc "euc-kr"
invokevirtual java.util.Hashtable.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
71: StackMap locals:
StackMap stack:
getstatic com.sun.xml.internal.messaging.saaj.packaging.mime.internet.MimeUtility.mime2java:Ljava/util/Hashtable;
invokevirtual java.util.Hashtable.isEmpty:()Z
ifeq 82
72: getstatic com.sun.xml.internal.messaging.saaj.packaging.mime.internet.MimeUtility.mime2java:Ljava/util/Hashtable;
ldc "iso-2022-cn"
ldc "ISO2022CN"
invokevirtual java.util.Hashtable.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
73: getstatic com.sun.xml.internal.messaging.saaj.packaging.mime.internet.MimeUtility.mime2java:Ljava/util/Hashtable;
ldc "iso-2022-kr"
ldc "ISO2022KR"
invokevirtual java.util.Hashtable.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
74: getstatic com.sun.xml.internal.messaging.saaj.packaging.mime.internet.MimeUtility.mime2java:Ljava/util/Hashtable;
ldc "utf-8"
ldc "UTF8"
invokevirtual java.util.Hashtable.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
75: getstatic com.sun.xml.internal.messaging.saaj.packaging.mime.internet.MimeUtility.mime2java:Ljava/util/Hashtable;
ldc "utf8"
ldc "UTF8"
invokevirtual java.util.Hashtable.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
76: getstatic com.sun.xml.internal.messaging.saaj.packaging.mime.internet.MimeUtility.mime2java:Ljava/util/Hashtable;
ldc "ja_jp.iso2022-7"
ldc "ISO2022JP"
invokevirtual java.util.Hashtable.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
77: getstatic com.sun.xml.internal.messaging.saaj.packaging.mime.internet.MimeUtility.mime2java:Ljava/util/Hashtable;
ldc "ja_jp.eucjp"
ldc "EUCJIS"
invokevirtual java.util.Hashtable.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
78: getstatic com.sun.xml.internal.messaging.saaj.packaging.mime.internet.MimeUtility.mime2java:Ljava/util/Hashtable;
ldc "euc-kr"
ldc "KSC5601"
invokevirtual java.util.Hashtable.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
79: getstatic com.sun.xml.internal.messaging.saaj.packaging.mime.internet.MimeUtility.mime2java:Ljava/util/Hashtable;
ldc "euckr"
ldc "KSC5601"
invokevirtual java.util.Hashtable.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
80: getstatic com.sun.xml.internal.messaging.saaj.packaging.mime.internet.MimeUtility.mime2java:Ljava/util/Hashtable;
ldc "us-ascii"
ldc "ISO-8859-1"
invokevirtual java.util.Hashtable.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
81: getstatic com.sun.xml.internal.messaging.saaj.packaging.mime.internet.MimeUtility.mime2java:Ljava/util/Hashtable;
ldc "x-us-ascii"
ldc "ISO-8859-1"
invokevirtual java.util.Hashtable.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
82: StackMap locals:
StackMap stack:
return
LocalVariableTable:
Start End Slot Name Signature
5 20 0 s Ljava/lang/String;
28 32 0 is Ljava/io/InputStream;
Exception table:
from to target type
4 20 21 Class java.lang.SecurityException
24 32 33 Class java.lang.Exception
private void <init>();
descriptor: ()V
flags: (0x0002) ACC_PRIVATE
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokespecial java.lang.Object.<init>:()V
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/xml/internal/messaging/saaj/packaging/mime/internet/MimeUtility;
public static java.lang.String getEncoding(javax.activation.DataSource);
descriptor: (Ljavax/activation/DataSource;)Ljava/lang/String;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=6, args_size=1
start local 0 0: aconst_null
astore 1
start local 1 1: aconst_null
astore 2
start local 2 2: aconst_null
astore 3
start local 3 3: new com.sun.xml.internal.messaging.saaj.packaging.mime.internet.ContentType
dup
aload 0
invokeinterface javax.activation.DataSource.getContentType:()Ljava/lang/String;
invokespecial com.sun.xml.internal.messaging.saaj.packaging.mime.internet.ContentType.<init>:(Ljava/lang/String;)V
astore 1
4: aload 0
invokeinterface javax.activation.DataSource.getInputStream:()Ljava/io/InputStream;
astore 2
5: goto 8
StackMap locals: javax.activation.DataSource com.sun.xml.internal.messaging.saaj.packaging.mime.internet.ContentType java.io.InputStream java.lang.String
StackMap stack: java.lang.Exception
6: pop
7: ldc "base64"
areturn
8: StackMap locals:
StackMap stack:
aload 1
ldc "text/*"
invokevirtual com.sun.xml.internal.messaging.saaj.packaging.mime.internet.ContentType.match:(Ljava/lang/String;)Z
istore 4
start local 4 9: aload 2
iconst_m1
iload 4
ifeq 10
iconst_0
goto 11
StackMap locals: javax.activation.DataSource com.sun.xml.internal.messaging.saaj.packaging.mime.internet.ContentType java.io.InputStream java.lang.String int
StackMap stack: java.io.InputStream int
10: iconst_1
StackMap locals: javax.activation.DataSource com.sun.xml.internal.messaging.saaj.packaging.mime.internet.ContentType java.io.InputStream java.lang.String int
StackMap stack: java.io.InputStream int int
11: invokestatic com.sun.xml.internal.messaging.saaj.packaging.mime.internet.MimeUtility.checkAscii:(Ljava/io/InputStream;IZ)I
istore 5
start local 5 12: iload 5
tableswitch { // 1 - 2
1: 13
2: 15
default: 17
}
13: StackMap locals: int
StackMap stack:
ldc "7bit"
astore 3
14: goto 18
15: StackMap locals:
StackMap stack:
ldc "quoted-printable"
astore 3
16: goto 18
17: StackMap locals:
StackMap stack:
ldc "base64"
astore 3
18: StackMap locals:
StackMap stack:
aload 2
invokevirtual java.io.InputStream.close:()V
19: goto 21
StackMap locals:
StackMap stack: java.io.IOException
20: pop
21: StackMap locals:
StackMap stack:
aload 3
areturn
end local 5 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 22 0 ds Ljavax/activation/DataSource;
1 22 1 cType Lcom/sun/xml/internal/messaging/saaj/packaging/mime/internet/ContentType;
2 22 2 is Ljava/io/InputStream;
3 22 3 encoding Ljava/lang/String;
9 22 4 isText Z
12 22 5 i I
Exception table:
from to target type
3 5 6 Class java.lang.Exception
18 19 20 Class java.io.IOException
MethodParameters:
Name Flags
ds
public static java.lang.String getEncoding(javax.activation.DataHandler);
descriptor: (Ljavax/activation/DataHandler;)Ljava/lang/String;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=4, locals=4, args_size=1
start local 0 0: aconst_null
astore 1
start local 1 1: aconst_null
astore 2
start local 2 2: aload 0
invokevirtual javax.activation.DataHandler.getName:()Ljava/lang/String;
ifnull 4
3: aload 0
invokevirtual javax.activation.DataHandler.getDataSource:()Ljavax/activation/DataSource;
invokestatic com.sun.xml.internal.messaging.saaj.packaging.mime.internet.MimeUtility.getEncoding:(Ljavax/activation/DataSource;)Ljava/lang/String;
areturn
4: StackMap locals: com.sun.xml.internal.messaging.saaj.packaging.mime.internet.ContentType java.lang.String
StackMap stack:
new com.sun.xml.internal.messaging.saaj.packaging.mime.internet.ContentType
dup
aload 0
invokevirtual javax.activation.DataHandler.getContentType:()Ljava/lang/String;
invokespecial com.sun.xml.internal.messaging.saaj.packaging.mime.internet.ContentType.<init>:(Ljava/lang/String;)V
astore 1
5: goto 8
StackMap locals:
StackMap stack: java.lang.Exception
6: pop
7: ldc "base64"
areturn
8: StackMap locals:
StackMap stack:
aload 1
ldc "text/*"
invokevirtual com.sun.xml.internal.messaging.saaj.packaging.mime.internet.ContentType.match:(Ljava/lang/String;)Z
ifeq 20
9: new com.sun.xml.internal.messaging.saaj.packaging.mime.internet.AsciiOutputStream
dup
iconst_0
iconst_0
invokespecial com.sun.xml.internal.messaging.saaj.packaging.mime.internet.AsciiOutputStream.<init>:(ZZ)V
astore 3
start local 3 10: aload 0
aload 3
invokevirtual javax.activation.DataHandler.writeTo:(Ljava/io/OutputStream;)V
11: goto 13
StackMap locals: javax.activation.DataHandler com.sun.xml.internal.messaging.saaj.packaging.mime.internet.ContentType java.lang.String com.sun.xml.internal.messaging.saaj.packaging.mime.internet.AsciiOutputStream
StackMap stack: java.io.IOException
12: pop
13: StackMap locals:
StackMap stack:
aload 3
invokevirtual com.sun.xml.internal.messaging.saaj.packaging.mime.internet.AsciiOutputStream.getAscii:()I
tableswitch { // 1 - 2
1: 14
2: 16
default: 18
}
14: StackMap locals:
StackMap stack:
ldc "7bit"
astore 2
15: goto 28
16: StackMap locals:
StackMap stack:
ldc "quoted-printable"
astore 2
17: goto 28
18: StackMap locals:
StackMap stack:
ldc "base64"
astore 2
end local 3 19: goto 28
20: StackMap locals:
StackMap stack:
new com.sun.xml.internal.messaging.saaj.packaging.mime.internet.AsciiOutputStream
dup
iconst_1
getstatic com.sun.xml.internal.messaging.saaj.packaging.mime.internet.MimeUtility.encodeEolStrict:Z
invokespecial com.sun.xml.internal.messaging.saaj.packaging.mime.internet.AsciiOutputStream.<init>:(ZZ)V
21: astore 3
start local 3 22: aload 0
aload 3
invokevirtual javax.activation.DataHandler.writeTo:(Ljava/io/OutputStream;)V
23: goto 25
StackMap locals: javax.activation.DataHandler com.sun.xml.internal.messaging.saaj.packaging.mime.internet.ContentType java.lang.String com.sun.xml.internal.messaging.saaj.packaging.mime.internet.AsciiOutputStream
StackMap stack: java.io.IOException
24: pop
25: StackMap locals:
StackMap stack:
aload 3
invokevirtual com.sun.xml.internal.messaging.saaj.packaging.mime.internet.AsciiOutputStream.getAscii:()I
iconst_1
if_icmpne 27
26: ldc "7bit"
astore 2
goto 28
27: StackMap locals:
StackMap stack:
ldc "base64"
astore 2
end local 3 28: StackMap locals:
StackMap stack:
aload 2
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 29 0 dh Ljavax/activation/DataHandler;
1 29 1 cType Lcom/sun/xml/internal/messaging/saaj/packaging/mime/internet/ContentType;
2 29 2 encoding Ljava/lang/String;
10 19 3 aos Lcom/sun/xml/internal/messaging/saaj/packaging/mime/internet/AsciiOutputStream;
22 28 3 aos Lcom/sun/xml/internal/messaging/saaj/packaging/mime/internet/AsciiOutputStream;
Exception table:
from to target type
4 5 6 Class java.lang.Exception
10 11 12 Class java.io.IOException
22 23 24 Class java.io.IOException
MethodParameters:
Name Flags
dh
public static java.io.InputStream decode(java.io.InputStream, java.lang.String);
descriptor: (Ljava/io/InputStream;Ljava/lang/String;)Ljava/io/InputStream;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=5, locals=2, args_size=2
start local 0 start local 1 0: aload 1
ldc "base64"
invokevirtual java.lang.String.equalsIgnoreCase:(Ljava/lang/String;)Z
ifeq 2
1: new com.sun.xml.internal.messaging.saaj.packaging.mime.util.BASE64DecoderStream
dup
aload 0
invokespecial com.sun.xml.internal.messaging.saaj.packaging.mime.util.BASE64DecoderStream.<init>:(Ljava/io/InputStream;)V
areturn
2: StackMap locals:
StackMap stack:
aload 1
ldc "quoted-printable"
invokevirtual java.lang.String.equalsIgnoreCase:(Ljava/lang/String;)Z
ifeq 4
3: new com.sun.xml.internal.messaging.saaj.packaging.mime.util.QPDecoderStream
dup
aload 0
invokespecial com.sun.xml.internal.messaging.saaj.packaging.mime.util.QPDecoderStream.<init>:(Ljava/io/InputStream;)V
areturn
4: StackMap locals:
StackMap stack:
aload 1
ldc "uuencode"
invokevirtual java.lang.String.equalsIgnoreCase:(Ljava/lang/String;)Z
ifne 7
5: aload 1
ldc "x-uuencode"
invokevirtual java.lang.String.equalsIgnoreCase:(Ljava/lang/String;)Z
ifne 7
6: aload 1
ldc "x-uue"
invokevirtual java.lang.String.equalsIgnoreCase:(Ljava/lang/String;)Z
ifeq 8
7: StackMap locals:
StackMap stack:
new com.sun.xml.internal.messaging.saaj.packaging.mime.util.UUDecoderStream
dup
aload 0
invokespecial com.sun.xml.internal.messaging.saaj.packaging.mime.util.UUDecoderStream.<init>:(Ljava/io/InputStream;)V
areturn
8: StackMap locals:
StackMap stack:
aload 1
ldc "binary"
invokevirtual java.lang.String.equalsIgnoreCase:(Ljava/lang/String;)Z
ifne 11
9: aload 1
ldc "7bit"
invokevirtual java.lang.String.equalsIgnoreCase:(Ljava/lang/String;)Z
ifne 11
10: aload 1
ldc "8bit"
invokevirtual java.lang.String.equalsIgnoreCase:(Ljava/lang/String;)Z
ifeq 12
11: StackMap locals:
StackMap stack:
aload 0
areturn
12: StackMap locals:
StackMap stack:
new com.sun.xml.internal.messaging.saaj.packaging.mime.MessagingException
dup
new java.lang.StringBuilder
dup
ldc "Unknown encoding: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 1
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial com.sun.xml.internal.messaging.saaj.packaging.mime.MessagingException.<init>:(Ljava/lang/String;)V
athrow
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 13 0 is Ljava/io/InputStream;
0 13 1 encoding Ljava/lang/String;
Exceptions:
throws com.sun.xml.internal.messaging.saaj.packaging.mime.MessagingException
MethodParameters:
Name Flags
is
encoding
public static java.io.OutputStream encode(java.io.OutputStream, java.lang.String);
descriptor: (Ljava/io/OutputStream;Ljava/lang/String;)Ljava/io/OutputStream;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=5, locals=2, args_size=2
start local 0 start local 1 0: aload 1
ifnonnull 2
1: aload 0
areturn
2: StackMap locals:
StackMap stack:
aload 1
ldc "base64"
invokevirtual java.lang.String.equalsIgnoreCase:(Ljava/lang/String;)Z
ifeq 4
3: new com.sun.xml.internal.messaging.saaj.packaging.mime.util.BASE64EncoderStream
dup
aload 0
invokespecial com.sun.xml.internal.messaging.saaj.packaging.mime.util.BASE64EncoderStream.<init>:(Ljava/io/OutputStream;)V
areturn
4: StackMap locals:
StackMap stack:
aload 1
ldc "quoted-printable"
invokevirtual java.lang.String.equalsIgnoreCase:(Ljava/lang/String;)Z
ifeq 6
5: new com.sun.xml.internal.messaging.saaj.packaging.mime.util.QPEncoderStream
dup
aload 0
invokespecial com.sun.xml.internal.messaging.saaj.packaging.mime.util.QPEncoderStream.<init>:(Ljava/io/OutputStream;)V
areturn
6: StackMap locals:
StackMap stack:
aload 1
ldc "uuencode"
invokevirtual java.lang.String.equalsIgnoreCase:(Ljava/lang/String;)Z
ifne 9
7: aload 1
ldc "x-uuencode"
invokevirtual java.lang.String.equalsIgnoreCase:(Ljava/lang/String;)Z
ifne 9
8: aload 1
ldc "x-uue"
invokevirtual java.lang.String.equalsIgnoreCase:(Ljava/lang/String;)Z
ifeq 10
9: StackMap locals:
StackMap stack:
new com.sun.xml.internal.messaging.saaj.packaging.mime.util.UUEncoderStream
dup
aload 0
invokespecial com.sun.xml.internal.messaging.saaj.packaging.mime.util.UUEncoderStream.<init>:(Ljava/io/OutputStream;)V
areturn
10: StackMap locals:
StackMap stack:
aload 1
ldc "binary"
invokevirtual java.lang.String.equalsIgnoreCase:(Ljava/lang/String;)Z
ifne 13
11: aload 1
ldc "7bit"
invokevirtual java.lang.String.equalsIgnoreCase:(Ljava/lang/String;)Z
ifne 13
12: aload 1
ldc "8bit"
invokevirtual java.lang.String.equalsIgnoreCase:(Ljava/lang/String;)Z
ifeq 14
13: StackMap locals:
StackMap stack:
aload 0
areturn
14: StackMap locals:
StackMap stack:
new com.sun.xml.internal.messaging.saaj.packaging.mime.MessagingException
dup
new java.lang.StringBuilder
dup
ldc "Unknown encoding: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 1
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial com.sun.xml.internal.messaging.saaj.packaging.mime.MessagingException.<init>:(Ljava/lang/String;)V
athrow
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 15 0 os Ljava/io/OutputStream;
0 15 1 encoding Ljava/lang/String;
Exceptions:
throws com.sun.xml.internal.messaging.saaj.packaging.mime.MessagingException
MethodParameters:
Name Flags
os
encoding
public static java.io.OutputStream encode(java.io.OutputStream, java.lang.String, java.lang.String);
descriptor: (Ljava/io/OutputStream;Ljava/lang/String;Ljava/lang/String;)Ljava/io/OutputStream;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=5, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 1
ifnonnull 2
1: aload 0
areturn
2: StackMap locals:
StackMap stack:
aload 1
ldc "base64"
invokevirtual java.lang.String.equalsIgnoreCase:(Ljava/lang/String;)Z
ifeq 4
3: new com.sun.xml.internal.messaging.saaj.packaging.mime.util.BASE64EncoderStream
dup
aload 0
invokespecial com.sun.xml.internal.messaging.saaj.packaging.mime.util.BASE64EncoderStream.<init>:(Ljava/io/OutputStream;)V
areturn
4: StackMap locals:
StackMap stack:
aload 1
ldc "quoted-printable"
invokevirtual java.lang.String.equalsIgnoreCase:(Ljava/lang/String;)Z
ifeq 6
5: new com.sun.xml.internal.messaging.saaj.packaging.mime.util.QPEncoderStream
dup
aload 0
invokespecial com.sun.xml.internal.messaging.saaj.packaging.mime.util.QPEncoderStream.<init>:(Ljava/io/OutputStream;)V
areturn
6: StackMap locals:
StackMap stack:
aload 1
ldc "uuencode"
invokevirtual java.lang.String.equalsIgnoreCase:(Ljava/lang/String;)Z
ifne 9
7: aload 1
ldc "x-uuencode"
invokevirtual java.lang.String.equalsIgnoreCase:(Ljava/lang/String;)Z
ifne 9
8: aload 1
ldc "x-uue"
invokevirtual java.lang.String.equalsIgnoreCase:(Ljava/lang/String;)Z
ifeq 10
9: StackMap locals:
StackMap stack:
new com.sun.xml.internal.messaging.saaj.packaging.mime.util.UUEncoderStream
dup
aload 0
aload 2
invokespecial com.sun.xml.internal.messaging.saaj.packaging.mime.util.UUEncoderStream.<init>:(Ljava/io/OutputStream;Ljava/lang/String;)V
areturn
10: StackMap locals:
StackMap stack:
aload 1
ldc "binary"
invokevirtual java.lang.String.equalsIgnoreCase:(Ljava/lang/String;)Z
ifne 13
11: aload 1
ldc "7bit"
invokevirtual java.lang.String.equalsIgnoreCase:(Ljava/lang/String;)Z
ifne 13
12: aload 1
ldc "8bit"
invokevirtual java.lang.String.equalsIgnoreCase:(Ljava/lang/String;)Z
ifeq 14
13: StackMap locals:
StackMap stack:
aload 0
areturn
14: StackMap locals:
StackMap stack:
new com.sun.xml.internal.messaging.saaj.packaging.mime.MessagingException
dup
new java.lang.StringBuilder
dup
ldc "Unknown encoding: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 1
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial com.sun.xml.internal.messaging.saaj.packaging.mime.MessagingException.<init>:(Ljava/lang/String;)V
athrow
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 15 0 os Ljava/io/OutputStream;
0 15 1 encoding Ljava/lang/String;
0 15 2 filename Ljava/lang/String;
Exceptions:
throws com.sun.xml.internal.messaging.saaj.packaging.mime.MessagingException
MethodParameters:
Name Flags
os
encoding
filename
public static java.lang.String encodeText(java.lang.String);
descriptor: (Ljava/lang/String;)Ljava/lang/String;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
aconst_null
aconst_null
invokestatic com.sun.xml.internal.messaging.saaj.packaging.mime.internet.MimeUtility.encodeText:(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 text Ljava/lang/String;
Exceptions:
throws java.io.UnsupportedEncodingException
MethodParameters:
Name Flags
text
public static java.lang.String encodeText(java.lang.String, java.lang.String, java.lang.String);
descriptor: (Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=4, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 1
aload 2
iconst_0
invokestatic com.sun.xml.internal.messaging.saaj.packaging.mime.internet.MimeUtility.encodeWord:(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Z)Ljava/lang/String;
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 text Ljava/lang/String;
0 1 1 charset Ljava/lang/String;
0 1 2 encoding Ljava/lang/String;
Exceptions:
throws java.io.UnsupportedEncodingException
MethodParameters:
Name Flags
text
charset
encoding
public static java.lang.String decodeText(java.lang.String);
descriptor: (Ljava/lang/String;)Ljava/lang/String;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=5, locals=9, args_size=1
start local 0 0: ldc " \t\n\r"
astore 1
start local 1 1: aload 0
ldc "=?"
invokevirtual java.lang.String.indexOf:(Ljava/lang/String;)I
iconst_m1
if_icmpne 3
2: aload 0
areturn
3: StackMap locals: java.lang.String
StackMap stack:
new java.util.StringTokenizer
dup
aload 0
aload 1
iconst_1
invokespecial java.util.StringTokenizer.<init>:(Ljava/lang/String;Ljava/lang/String;Z)V
astore 2
start local 2 4: new java.lang.StringBuilder
dup
invokespecial java.lang.StringBuilder.<init>:()V
astore 3
start local 3 5: new java.lang.StringBuilder
dup
invokespecial java.lang.StringBuilder.<init>:()V
astore 4
start local 4 6: iconst_0
istore 5
start local 5 7: goto 27
8: StackMap locals: java.lang.String java.lang.String java.util.StringTokenizer java.lang.StringBuilder java.lang.StringBuilder int
StackMap stack:
aload 2
invokevirtual java.util.StringTokenizer.nextToken:()Ljava/lang/String;
astore 7
start local 7 9: aload 7
iconst_0
invokevirtual java.lang.String.charAt:(I)C
dup
istore 6
start local 6 10: bipush 32
if_icmpeq 12
iload 6
bipush 9
if_icmpeq 12
11: iload 6
bipush 13
if_icmpeq 12
iload 6
bipush 10
if_icmpne 13
12: StackMap locals: int java.lang.String
StackMap stack:
aload 4
iload 6
invokevirtual java.lang.StringBuilder.append:(C)Ljava/lang/StringBuilder;
pop
goto 27
13: StackMap locals:
StackMap stack:
aload 7
invokestatic com.sun.xml.internal.messaging.saaj.packaging.mime.internet.MimeUtility.decodeWord:(Ljava/lang/String;)Ljava/lang/String;
astore 8
start local 8 14: iload 5
ifne 16
aload 4
invokevirtual java.lang.StringBuilder.length:()I
ifle 16
15: aload 3
aload 4
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/CharSequence;)Ljava/lang/StringBuilder;
pop
16: StackMap locals: java.lang.String
StackMap stack:
iconst_1
istore 5
17: goto 25
end local 8 StackMap locals: java.lang.String java.lang.String java.util.StringTokenizer java.lang.StringBuilder java.lang.StringBuilder int int java.lang.String
StackMap stack: com.sun.xml.internal.messaging.saaj.packaging.mime.internet.ParseException
18: pop
19: aload 7
astore 8
start local 8 20: getstatic com.sun.xml.internal.messaging.saaj.packaging.mime.internet.MimeUtility.decodeStrict:Z
ifne 22
21: aload 8
invokestatic com.sun.xml.internal.messaging.saaj.packaging.mime.internet.MimeUtility.decodeInnerWords:(Ljava/lang/String;)Ljava/lang/String;
astore 8
22: StackMap locals: java.lang.String
StackMap stack:
aload 4
invokevirtual java.lang.StringBuilder.length:()I
ifle 24
23: aload 3
aload 4
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/CharSequence;)Ljava/lang/StringBuilder;
pop
24: StackMap locals:
StackMap stack:
iconst_0
istore 5
25: StackMap locals:
StackMap stack:
aload 3
aload 8
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
26: aload 4
iconst_0
invokevirtual java.lang.StringBuilder.setLength:(I)V
end local 8 end local 7 end local 6 27: StackMap locals:
StackMap stack:
aload 2
invokevirtual java.util.StringTokenizer.hasMoreTokens:()Z
ifne 8
28: aload 3
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
areturn
end local 5 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 29 0 etext Ljava/lang/String;
1 29 1 lwsp Ljava/lang/String;
4 29 2 st Ljava/util/StringTokenizer;
5 29 3 sb Ljava/lang/StringBuilder;
6 29 4 wsb Ljava/lang/StringBuilder;
7 29 5 prevWasEncoded Z
10 27 6 c C
9 27 7 s Ljava/lang/String;
14 18 8 word Ljava/lang/String;
20 27 8 word Ljava/lang/String;
Exception table:
from to target type
13 17 18 Class com.sun.xml.internal.messaging.saaj.packaging.mime.internet.ParseException
Exceptions:
throws java.io.UnsupportedEncodingException
MethodParameters:
Name Flags
etext
public static java.lang.String encodeWord(java.lang.String);
descriptor: (Ljava/lang/String;)Ljava/lang/String;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
aconst_null
aconst_null
invokestatic com.sun.xml.internal.messaging.saaj.packaging.mime.internet.MimeUtility.encodeWord:(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 word Ljava/lang/String;
Exceptions:
throws java.io.UnsupportedEncodingException
MethodParameters:
Name Flags
word
public static java.lang.String encodeWord(java.lang.String, java.lang.String, java.lang.String);
descriptor: (Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=4, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 1
aload 2
iconst_1
invokestatic com.sun.xml.internal.messaging.saaj.packaging.mime.internet.MimeUtility.encodeWord:(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Z)Ljava/lang/String;
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 word Ljava/lang/String;
0 1 1 charset Ljava/lang/String;
0 1 2 encoding Ljava/lang/String;
Exceptions:
throws java.io.UnsupportedEncodingException
MethodParameters:
Name Flags
word
charset
encoding
private static java.lang.String encodeWord(java.lang.String, java.lang.String, java.lang.String, boolean);
descriptor: (Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Z)Ljava/lang/String;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=8, locals=8, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
invokestatic com.sun.xml.internal.messaging.saaj.packaging.mime.internet.MimeUtility.checkAscii:(Ljava/lang/String;)I
istore 4
start local 4 1: iload 4
iconst_1
if_icmpne 3
2: aload 0
areturn
3: StackMap locals: int
StackMap stack:
aload 1
ifnonnull 7
4: invokestatic com.sun.xml.internal.messaging.saaj.packaging.mime.internet.MimeUtility.getDefaultJavaCharset:()Ljava/lang/String;
astore 5
start local 5 5: invokestatic com.sun.xml.internal.messaging.saaj.packaging.mime.internet.MimeUtility.getDefaultMIMECharset:()Ljava/lang/String;
astore 1
6: goto 8
end local 5 7: StackMap locals:
StackMap stack:
aload 1
invokestatic com.sun.xml.internal.messaging.saaj.packaging.mime.internet.MimeUtility.javaCharset:(Ljava/lang/String;)Ljava/lang/String;
astore 5
start local 5 8: StackMap locals: java.lang.String
StackMap stack:
aload 2
ifnonnull 12
9: iload 4
iconst_3
if_icmpeq 11
10: ldc "Q"
astore 2
goto 12
11: StackMap locals:
StackMap stack:
ldc "B"
astore 2
12: StackMap locals:
StackMap stack:
aload 2
ldc "B"
invokevirtual java.lang.String.equalsIgnoreCase:(Ljava/lang/String;)Z
ifeq 15
13: iconst_1
istore 6
start local 6 14: goto 21
end local 6 15: StackMap locals:
StackMap stack:
aload 2
ldc "Q"
invokevirtual java.lang.String.equalsIgnoreCase:(Ljava/lang/String;)Z
ifeq 18
16: iconst_0
istore 6
start local 6 17: goto 21
end local 6 18: StackMap locals:
StackMap stack:
new java.io.UnsupportedEncodingException
dup
19: new java.lang.StringBuilder
dup
ldc "Unknown transfer encoding: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 2
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
20: invokespecial java.io.UnsupportedEncodingException.<init>:(Ljava/lang/String;)V
athrow
start local 6 21: StackMap locals: int
StackMap stack:
new java.lang.StringBuilder
dup
invokespecial java.lang.StringBuilder.<init>:()V
astore 7
start local 7 22: aload 0
iload 6
aload 5
23: bipush 68
aload 1
invokevirtual java.lang.String.length:()I
isub
24: new java.lang.StringBuilder
dup
ldc "=?"
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 1
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc "?"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 2
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc "?"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
25: iconst_1
iload 3
aload 7
26: invokestatic com.sun.xml.internal.messaging.saaj.packaging.mime.internet.MimeUtility.doEncode:(Ljava/lang/String;ZLjava/lang/String;ILjava/lang/String;ZZLjava/lang/StringBuilder;)V
27: aload 7
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
areturn
end local 7 end local 6 end local 5 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 28 0 string Ljava/lang/String;
0 28 1 charset Ljava/lang/String;
0 28 2 encoding Ljava/lang/String;
0 28 3 encodingWord Z
1 28 4 ascii I
5 7 5 jcharset Ljava/lang/String;
8 28 5 jcharset Ljava/lang/String;
14 15 6 b64 Z
17 18 6 b64 Z
21 28 6 b64 Z
22 28 7 outb Ljava/lang/StringBuilder;
Exceptions:
throws java.io.UnsupportedEncodingException
MethodParameters:
Name Flags
string
charset
encoding
encodingWord
private static void doEncode(java.lang.String, boolean, java.lang.String, int, java.lang.String, boolean, boolean, java.lang.StringBuilder);
descriptor: (Ljava/lang/String;ZLjava/lang/String;ILjava/lang/String;ZZLjava/lang/StringBuilder;)V
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=8, locals=15, args_size=8
start local 0 start local 1 start local 2 start local 3 start local 4 start local 5 start local 6 start local 7 0: aload 0
aload 2
invokevirtual java.lang.String.getBytes:(Ljava/lang/String;)[B
astore 8
start local 8 1: iload 1
ifeq 4
2: aload 8
invokestatic com.sun.xml.internal.messaging.saaj.packaging.mime.util.BEncoderStream.encodedLength:([B)I
istore 9
start local 9 3: goto 5
end local 9 4: StackMap locals: byte[]
StackMap stack:
aload 8
iload 6
invokestatic com.sun.xml.internal.messaging.saaj.packaging.mime.util.QEncoderStream.encodedLength:([BZ)I
istore 9
start local 9 5: StackMap locals: int
StackMap stack:
iload 9
iload 3
if_icmple 14
aload 0
invokevirtual java.lang.String.length:()I
dup
istore 10
start local 10 6: iconst_1
if_icmple 14
7: aload 0
iconst_0
iload 10
iconst_2
idiv
invokevirtual java.lang.String.substring:(II)Ljava/lang/String;
iload 1
aload 2
8: iload 3
aload 4
iload 5
iload 6
aload 7
9: invokestatic com.sun.xml.internal.messaging.saaj.packaging.mime.internet.MimeUtility.doEncode:(Ljava/lang/String;ZLjava/lang/String;ILjava/lang/String;ZZLjava/lang/StringBuilder;)V
10: aload 0
iload 10
iconst_2
idiv
iload 10
invokevirtual java.lang.String.substring:(II)Ljava/lang/String;
iload 1
aload 2
11: iload 3
aload 4
iconst_0
iload 6
aload 7
12: invokestatic com.sun.xml.internal.messaging.saaj.packaging.mime.internet.MimeUtility.doEncode:(Ljava/lang/String;ZLjava/lang/String;ILjava/lang/String;ZZLjava/lang/StringBuilder;)V
13: goto 35
end local 10 14: StackMap locals:
StackMap stack:
new java.io.ByteArrayOutputStream
dup
sipush 1024
invokespecial java.io.ByteArrayOutputStream.<init>:(I)V
astore 11
start local 11 15: iload 1
ifeq 18
16: new com.sun.xml.internal.messaging.saaj.packaging.mime.util.BEncoderStream
dup
aload 11
invokespecial com.sun.xml.internal.messaging.saaj.packaging.mime.util.BEncoderStream.<init>:(Ljava/io/OutputStream;)V
astore 12
start local 12 17: goto 19
end local 12 18: StackMap locals: java.lang.String int java.lang.String int java.lang.String int int java.lang.StringBuilder byte[] int top java.io.ByteArrayOutputStream
StackMap stack:
new com.sun.xml.internal.messaging.saaj.packaging.mime.util.QEncoderStream
dup
aload 11
iload 6
invokespecial com.sun.xml.internal.messaging.saaj.packaging.mime.util.QEncoderStream.<init>:(Ljava/io/OutputStream;Z)V
astore 12
start local 12 19: StackMap locals: java.io.OutputStream
StackMap stack:
aload 12
aload 8
invokevirtual java.io.OutputStream.write:([B)V
20: aload 12
invokevirtual java.io.OutputStream.close:()V
21: goto 23
StackMap locals:
StackMap stack: java.io.IOException
22: pop
23: StackMap locals:
StackMap stack:
aload 11
invokevirtual java.io.ByteArrayOutputStream.toByteArray:()[B
astore 13
start local 13 24: iload 5
ifne 28
25: getstatic com.sun.xml.internal.messaging.saaj.packaging.mime.internet.MimeUtility.foldEncodedWords:Z
ifeq 27
26: aload 7
ldc "\r\n "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
goto 28
27: StackMap locals: byte[]
StackMap stack:
aload 7
ldc " "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
28: StackMap locals:
StackMap stack:
aload 7
aload 4
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
29: iconst_0
istore 14
start local 14 30: goto 33
31: StackMap locals: int
StackMap stack:
aload 7
aload 13
iload 14
baload
i2c
invokevirtual java.lang.StringBuilder.append:(C)Ljava/lang/StringBuilder;
pop
32: iinc 14 1
StackMap locals:
StackMap stack:
33: iload 14
aload 13
arraylength
if_icmplt 31
end local 14 34: aload 7
ldc "?="
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
end local 13 end local 12 end local 11 35: StackMap locals: java.lang.String int java.lang.String int java.lang.String int int java.lang.StringBuilder byte[] int
StackMap stack:
return
end local 9 end local 8 end local 7 end local 6 end local 5 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 36 0 string Ljava/lang/String;
0 36 1 b64 Z
0 36 2 jcharset Ljava/lang/String;
0 36 3 avail I
0 36 4 prefix Ljava/lang/String;
0 36 5 first Z
0 36 6 encodingWord Z
0 36 7 buf Ljava/lang/StringBuilder;
1 36 8 bytes [B
3 4 9 len I
5 36 9 len I
6 14 10 size I
15 35 11 os Ljava/io/ByteArrayOutputStream;
17 18 12 eos Ljava/io/OutputStream;
19 35 12 eos Ljava/io/OutputStream;
24 35 13 encodedBytes [B
30 34 14 i I
Exception table:
from to target type
19 21 22 Class java.io.IOException
Exceptions:
throws java.io.UnsupportedEncodingException
MethodParameters:
Name Flags
string
b64
jcharset
avail
prefix
first
encodingWord
buf
public static java.lang.String decodeWord(java.lang.String);
descriptor: (Ljava/lang/String;)Ljava/lang/String;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=6, locals=12, args_size=1
start local 0 0: aload 0
ldc "=?"
invokevirtual java.lang.String.startsWith:(Ljava/lang/String;)Z
ifne 2
1: new com.sun.xml.internal.messaging.saaj.packaging.mime.internet.ParseException
dup
invokespecial com.sun.xml.internal.messaging.saaj.packaging.mime.internet.ParseException.<init>:()V
athrow
2: StackMap locals:
StackMap stack:
iconst_2
istore 1
start local 1 3: aload 0
bipush 63
iload 1
invokevirtual java.lang.String.indexOf:(II)I
dup
istore 2
start local 2 4: iconst_m1
if_icmpne 6
5: new com.sun.xml.internal.messaging.saaj.packaging.mime.internet.ParseException
dup
invokespecial com.sun.xml.internal.messaging.saaj.packaging.mime.internet.ParseException.<init>:()V
athrow
6: StackMap locals: int int
StackMap stack:
aload 0
iload 1
iload 2
invokevirtual java.lang.String.substring:(II)Ljava/lang/String;
invokestatic com.sun.xml.internal.messaging.saaj.packaging.mime.internet.MimeUtility.javaCharset:(Ljava/lang/String;)Ljava/lang/String;
astore 3
start local 3 7: iload 2
iconst_1
iadd
istore 1
8: aload 0
bipush 63
iload 1
invokevirtual java.lang.String.indexOf:(II)I
dup
istore 2
iconst_m1
if_icmpne 10
9: new com.sun.xml.internal.messaging.saaj.packaging.mime.internet.ParseException
dup
invokespecial com.sun.xml.internal.messaging.saaj.packaging.mime.internet.ParseException.<init>:()V
athrow
10: StackMap locals: java.lang.String
StackMap stack:
aload 0
iload 1
iload 2
invokevirtual java.lang.String.substring:(II)Ljava/lang/String;
astore 4
start local 4 11: iload 2
iconst_1
iadd
istore 1
12: aload 0
ldc "?="
iload 1
invokevirtual java.lang.String.indexOf:(Ljava/lang/String;I)I
dup
istore 2
iconst_m1
if_icmpne 14
13: new com.sun.xml.internal.messaging.saaj.packaging.mime.internet.ParseException
dup
invokespecial com.sun.xml.internal.messaging.saaj.packaging.mime.internet.ParseException.<init>:()V
athrow
14: StackMap locals: java.lang.String
StackMap stack:
aload 0
iload 1
iload 2
invokevirtual java.lang.String.substring:(II)Ljava/lang/String;
astore 5
start local 5 15: new java.io.ByteArrayInputStream
dup
aload 5
invokestatic com.sun.xml.internal.messaging.saaj.packaging.mime.util.ASCIIUtility.getBytes:(Ljava/lang/String;)[B
invokespecial java.io.ByteArrayInputStream.<init>:([B)V
16: astore 6
start local 6 17: aload 4
ldc "B"
invokevirtual java.lang.String.equalsIgnoreCase:(Ljava/lang/String;)Z
ifeq 20
18: new com.sun.xml.internal.messaging.saaj.packaging.mime.util.BASE64DecoderStream
dup
aload 6
invokespecial com.sun.xml.internal.messaging.saaj.packaging.mime.util.BASE64DecoderStream.<init>:(Ljava/io/InputStream;)V
astore 7
start local 7 19: goto 26
end local 7 20: StackMap locals: java.lang.String java.io.ByteArrayInputStream
StackMap stack:
aload 4
ldc "Q"
invokevirtual java.lang.String.equalsIgnoreCase:(Ljava/lang/String;)Z
ifeq 23
21: new com.sun.xml.internal.messaging.saaj.packaging.mime.util.QDecoderStream
dup
aload 6
invokespecial com.sun.xml.internal.messaging.saaj.packaging.mime.util.QDecoderStream.<init>:(Ljava/io/InputStream;)V
astore 7
start local 7 22: goto 26
end local 7 23: StackMap locals:
StackMap stack:
new java.io.UnsupportedEncodingException
dup
24: new java.lang.StringBuilder
dup
ldc "unknown encoding: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 4
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
25: invokespecial java.io.UnsupportedEncodingException.<init>:(Ljava/lang/String;)V
athrow
start local 7 26: StackMap locals: java.io.InputStream
StackMap stack:
aload 6
invokevirtual java.io.ByteArrayInputStream.available:()I
istore 8
start local 8 27: iload 8
newarray 8
astore 9
start local 9 28: aload 7
aload 9
iconst_0
iload 8
invokevirtual java.io.InputStream.read:([BII)I
istore 8
29: new java.lang.String
dup
aload 9
iconst_0
iload 8
aload 3
invokespecial java.lang.String.<init>:([BIILjava/lang/String;)V
astore 10
start local 10 30: iload 2
iconst_2
iadd
aload 0
invokevirtual java.lang.String.length:()I
if_icmpge 35
31: aload 0
iload 2
iconst_2
iadd
invokevirtual java.lang.String.substring:(I)Ljava/lang/String;
astore 11
start local 11 32: getstatic com.sun.xml.internal.messaging.saaj.packaging.mime.internet.MimeUtility.decodeStrict:Z
ifne 34
33: aload 11
invokestatic com.sun.xml.internal.messaging.saaj.packaging.mime.internet.MimeUtility.decodeInnerWords:(Ljava/lang/String;)Ljava/lang/String;
astore 11
34: StackMap locals: java.lang.String int int java.lang.String java.lang.String java.lang.String java.io.ByteArrayInputStream java.io.InputStream int byte[] java.lang.String java.lang.String
StackMap stack:
new java.lang.StringBuilder
dup
aload 10
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 11
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
astore 10
end local 11 35: StackMap locals:
StackMap stack:
aload 10
36: areturn
end local 10 end local 9 end local 8 end local 7 end local 6 37: StackMap locals: java.lang.String int int java.lang.String java.lang.String java.lang.String
StackMap stack: java.io.UnsupportedEncodingException
astore 6
start local 6 38: aload 6
athrow
end local 6 39: StackMap locals:
StackMap stack: java.io.IOException
pop
40: new com.sun.xml.internal.messaging.saaj.packaging.mime.internet.ParseException
dup
invokespecial com.sun.xml.internal.messaging.saaj.packaging.mime.internet.ParseException.<init>:()V
athrow
41: StackMap locals:
StackMap stack: java.lang.IllegalArgumentException
pop
42: new java.io.UnsupportedEncodingException
dup
invokespecial java.io.UnsupportedEncodingException.<init>:()V
athrow
end local 5 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 43 0 eword Ljava/lang/String;
3 43 1 start I
4 43 2 pos I
7 43 3 charset Ljava/lang/String;
11 43 4 encoding Ljava/lang/String;
15 43 5 word Ljava/lang/String;
17 37 6 bis Ljava/io/ByteArrayInputStream;
19 20 7 is Ljava/io/InputStream;
22 23 7 is Ljava/io/InputStream;
26 37 7 is Ljava/io/InputStream;
27 37 8 count I
28 37 9 bytes [B
30 37 10 s Ljava/lang/String;
32 35 11 rest Ljava/lang/String;
38 39 6 uex Ljava/io/UnsupportedEncodingException;
Exception table:
from to target type
15 36 37 Class java.io.UnsupportedEncodingException
15 36 39 Class java.io.IOException
15 36 41 Class java.lang.IllegalArgumentException
Exceptions:
throws com.sun.xml.internal.messaging.saaj.packaging.mime.internet.ParseException, java.io.UnsupportedEncodingException
MethodParameters:
Name Flags
eword
private static java.lang.String decodeInnerWords(java.lang.String);
descriptor: (Ljava/lang/String;)Ljava/lang/String;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=4, locals=6, args_size=1
start local 0 0: iconst_0
istore 1
start local 1 1: new java.lang.StringBuilder
dup
invokespecial java.lang.StringBuilder.<init>:()V
astore 3
start local 3 2: goto 13
start local 2 3: StackMap locals: int int java.lang.StringBuilder
StackMap stack:
aload 3
aload 0
iload 1
iload 2
invokevirtual java.lang.String.substring:(II)Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
4: aload 0
ldc "?="
iload 2
invokevirtual java.lang.String.indexOf:(Ljava/lang/String;I)I
istore 4
start local 4 5: iload 4
ifge 7
6: goto 15
7: StackMap locals: int
StackMap stack:
aload 0
iload 2
iload 4
iconst_2
iadd
invokevirtual java.lang.String.substring:(II)Ljava/lang/String;
astore 5
start local 5 8: aload 5
invokestatic com.sun.xml.internal.messaging.saaj.packaging.mime.internet.MimeUtility.decodeWord:(Ljava/lang/String;)Ljava/lang/String;
astore 5
9: goto 11
StackMap locals: java.lang.String int int java.lang.StringBuilder int java.lang.String
StackMap stack: com.sun.xml.internal.messaging.saaj.packaging.mime.internet.ParseException
10: pop
11: StackMap locals:
StackMap stack:
aload 3
aload 5
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
12: iload 4
iconst_2
iadd
istore 1
end local 5 end local 4 end local 2 13: StackMap locals: java.lang.String int top java.lang.StringBuilder
StackMap stack:
aload 0
ldc "=?"
iload 1
invokevirtual java.lang.String.indexOf:(Ljava/lang/String;I)I
dup
istore 2
start local 2 14: ifge 3
15: StackMap locals: java.lang.String int int java.lang.StringBuilder
StackMap stack:
iload 1
ifne 17
16: aload 0
areturn
17: StackMap locals:
StackMap stack:
iload 1
aload 0
invokevirtual java.lang.String.length:()I
if_icmpge 19
18: aload 3
aload 0
iload 1
invokevirtual java.lang.String.substring:(I)Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
19: StackMap locals:
StackMap stack:
aload 3
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 20 0 word Ljava/lang/String;
1 20 1 start I
3 13 2 i I
14 20 2 i I
2 20 3 buf Ljava/lang/StringBuilder;
5 13 4 end I
8 13 5 s Ljava/lang/String;
Exception table:
from to target type
8 9 10 Class com.sun.xml.internal.messaging.saaj.packaging.mime.internet.ParseException
Exceptions:
throws java.io.UnsupportedEncodingException
MethodParameters:
Name Flags
word
public static java.lang.String quote(java.lang.String, java.lang.String);
descriptor: (Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=4, locals=10, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual java.lang.String.length:()I
istore 2
start local 2 1: iconst_0
istore 3
start local 3 2: iconst_0
istore 4
start local 4 3: goto 27
4: StackMap locals: int int int
StackMap stack:
aload 0
iload 4
invokevirtual java.lang.String.charAt:(I)C
istore 5
start local 5 5: iload 5
bipush 34
if_icmpeq 6
iload 5
bipush 92
if_icmpeq 6
iload 5
bipush 13
if_icmpeq 6
iload 5
bipush 10
if_icmpne 24
6: StackMap locals: int
StackMap stack:
new java.lang.StringBuilder
dup
iload 2
iconst_3
iadd
invokespecial java.lang.StringBuilder.<init>:(I)V
astore 6
start local 6 7: aload 6
bipush 34
invokevirtual java.lang.StringBuilder.append:(C)Ljava/lang/StringBuilder;
pop
8: aload 6
aload 0
iconst_0
iload 4
invokevirtual java.lang.String.substring:(II)Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
9: iconst_0
istore 7
start local 7 10: iload 4
istore 8
start local 8 11: goto 21
12: StackMap locals: java.lang.StringBuilder int int
StackMap stack:
aload 0
iload 8
invokevirtual java.lang.String.charAt:(I)C
istore 9
start local 9 13: iload 9
bipush 34
if_icmpeq 15
iload 9
bipush 92
if_icmpeq 15
14: iload 9
bipush 13
if_icmpeq 15
iload 9
bipush 10
if_icmpne 18
15: StackMap locals: int
StackMap stack:
iload 9
bipush 10
if_icmpne 17
iload 7
bipush 13
if_icmpne 17
16: goto 18
17: StackMap locals:
StackMap stack:
aload 6
bipush 92
invokevirtual java.lang.StringBuilder.append:(C)Ljava/lang/StringBuilder;
pop
18: StackMap locals:
StackMap stack:
aload 6
iload 9
invokevirtual java.lang.StringBuilder.append:(C)Ljava/lang/StringBuilder;
pop
19: iload 9
istore 7
end local 9 20: iinc 8 1
StackMap locals:
StackMap stack:
21: iload 8
iload 2
if_icmplt 12
end local 8 22: aload 6
bipush 34
invokevirtual java.lang.StringBuilder.append:(C)Ljava/lang/StringBuilder;
pop
23: aload 6
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
areturn
end local 7 end local 6 24: StackMap locals:
StackMap stack:
iload 5
bipush 32
if_icmplt 25
iload 5
bipush 127
if_icmpge 25
aload 1
iload 5
invokevirtual java.lang.String.indexOf:(I)I
iflt 26
25: StackMap locals:
StackMap stack:
iconst_1
istore 3
end local 5 26: StackMap locals:
StackMap stack:
iinc 4 1
StackMap locals:
StackMap stack:
27: iload 4
iload 2
if_icmplt 4
end local 4 28: iload 3
ifeq 32
29: new java.lang.StringBuilder
dup
iload 2
iconst_2
iadd
invokespecial java.lang.StringBuilder.<init>:(I)V
astore 4
start local 4 30: aload 4
bipush 34
invokevirtual java.lang.StringBuilder.append:(C)Ljava/lang/StringBuilder;
aload 0
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
bipush 34
invokevirtual java.lang.StringBuilder.append:(C)Ljava/lang/StringBuilder;
pop
31: aload 4
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
areturn
end local 4 32: StackMap locals:
StackMap stack:
aload 0
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 33 0 word Ljava/lang/String;
0 33 1 specials Ljava/lang/String;
1 33 2 len I
2 33 3 needQuoting Z
3 28 4 i I
5 26 5 c C
7 24 6 sb Ljava/lang/StringBuilder;
10 24 7 lastc I
11 22 8 j I
13 20 9 cc C
30 32 4 sb Ljava/lang/StringBuilder;
MethodParameters:
Name Flags
word
specials
static java.lang.String fold(int, java.lang.String);
descriptor: (ILjava/lang/String;)Ljava/lang/String;
flags: (0x0008) ACC_STATIC
Code:
stack=4, locals=8, args_size=2
start local 0 start local 1 0: getstatic com.sun.xml.internal.messaging.saaj.packaging.mime.internet.MimeUtility.foldText:Z
ifne 2
1: aload 1
areturn
2: StackMap locals:
StackMap stack:
aload 1
invokevirtual java.lang.String.length:()I
iconst_1
isub
istore 2
start local 2 3: goto 8
4: StackMap locals: int
StackMap stack:
aload 1
iload 2
invokevirtual java.lang.String.charAt:(I)C
istore 3
start local 3 5: iload 3
bipush 32
if_icmpeq 7
iload 3
bipush 9
if_icmpeq 7
6: goto 9
7: StackMap locals: int
StackMap stack:
iinc 2 -1
end local 3 StackMap locals:
StackMap stack:
8: iload 2
ifge 4
9: StackMap locals:
StackMap stack:
iload 2
aload 1
invokevirtual java.lang.String.length:()I
iconst_1
isub
if_icmpeq 11
10: aload 1
iconst_0
iload 2
iconst_1
iadd
invokevirtual java.lang.String.substring:(II)Ljava/lang/String;
astore 1
11: StackMap locals:
StackMap stack:
iload 0
aload 1
invokevirtual java.lang.String.length:()I
iadd
bipush 76
if_icmpgt 13
12: aload 1
areturn
13: StackMap locals:
StackMap stack:
new java.lang.StringBuilder
dup
aload 1
invokevirtual java.lang.String.length:()I
iconst_4
iadd
invokespecial java.lang.StringBuilder.<init>:(I)V
astore 4
start local 4 14: iconst_0
istore 5
start local 5 15: goto 39
16: StackMap locals: int java.lang.String int top java.lang.StringBuilder int
StackMap stack:
iconst_m1
istore 6
start local 6 17: iconst_0
istore 7
start local 7 18: goto 27
19: StackMap locals: int int
StackMap stack:
iload 6
iconst_m1
if_icmpeq 21
iload 0
iload 7
iadd
bipush 76
if_icmple 21
20: goto 28
21: StackMap locals:
StackMap stack:
aload 1
iload 7
invokevirtual java.lang.String.charAt:(I)C
istore 3
start local 3 22: iload 3
bipush 32
if_icmpeq 23
iload 3
bipush 9
if_icmpne 25
23: StackMap locals: int java.lang.String int int java.lang.StringBuilder int int int
StackMap stack:
iload 5
bipush 32
if_icmpeq 25
iload 5
bipush 9
if_icmpeq 25
24: iload 7
istore 6
25: StackMap locals:
StackMap stack:
iload 3
istore 5
26: iinc 7 1
end local 3 StackMap locals: int java.lang.String int top java.lang.StringBuilder int int int
StackMap stack:
27: iload 7
aload 1
invokevirtual java.lang.String.length:()I
if_icmplt 19
end local 7 28: StackMap locals:
StackMap stack:
iload 6
iconst_m1
if_icmpne 33
29: aload 4
aload 1
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
30: ldc ""
astore 1
31: iconst_0
istore 0
32: goto 40
33: StackMap locals:
StackMap stack:
aload 4
aload 1
iconst_0
iload 6
invokevirtual java.lang.String.substring:(II)Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
34: aload 4
ldc "\r\n"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
35: aload 1
iload 6
invokevirtual java.lang.String.charAt:(I)C
istore 5
36: aload 4
iload 5
invokevirtual java.lang.StringBuilder.append:(C)Ljava/lang/StringBuilder;
pop
37: aload 1
iload 6
iconst_1
iadd
invokevirtual java.lang.String.substring:(I)Ljava/lang/String;
astore 1
38: iconst_1
istore 0
end local 6 39: StackMap locals:
StackMap stack:
iload 0
aload 1
invokevirtual java.lang.String.length:()I
iadd
bipush 76
if_icmpgt 16
40: StackMap locals:
StackMap stack:
aload 4
aload 1
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
41: aload 4
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
areturn
end local 5 end local 4 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 42 0 used I
0 42 1 s Ljava/lang/String;
3 42 2 end I
5 8 3 c C
22 27 3 c C
14 42 4 sb Ljava/lang/StringBuilder;
15 42 5 lastc C
17 39 6 lastspace I
18 28 7 i I
MethodParameters:
Name Flags
used
s
static java.lang.String unfold(java.lang.String);
descriptor: (Ljava/lang/String;)Ljava/lang/String;
flags: (0x0008) ACC_STATIC
Code:
stack=5, locals=6, args_size=1
start local 0 0: getstatic com.sun.xml.internal.messaging.saaj.packaging.mime.internet.MimeUtility.foldText:Z
ifne 2
1: aload 0
areturn
2: StackMap locals:
StackMap stack:
aconst_null
astore 1
start local 1 3: goto 33
start local 2 4: StackMap locals: java.lang.StringBuilder int
StackMap stack:
iload 2
istore 3
start local 3 5: aload 0
invokevirtual java.lang.String.length:()I
istore 4
start local 4 6: iinc 2 1
7: iload 2
iload 4
if_icmpge 9
aload 0
iload 2
iconst_1
isub
invokevirtual java.lang.String.charAt:(I)C
bipush 13
if_icmpne 9
aload 0
iload 2
invokevirtual java.lang.String.charAt:(I)C
bipush 10
if_icmpne 9
8: iinc 2 1
9: StackMap locals: int int
StackMap stack:
iload 3
ifeq 10
aload 0
iload 3
iconst_1
isub
invokevirtual java.lang.String.charAt:(I)C
bipush 92
if_icmpeq 28
10: StackMap locals:
StackMap stack:
iload 2
iload 4
if_icmpge 23
aload 0
iload 2
invokevirtual java.lang.String.charAt:(I)C
dup
istore 5
start local 5 11: bipush 32
if_icmpeq 12
iload 5
bipush 9
if_icmpne 23
12: StackMap locals: int
StackMap stack:
iinc 2 1
13: goto 15
14: StackMap locals:
StackMap stack:
iinc 2 1
15: StackMap locals:
StackMap stack:
iload 2
iload 4
if_icmpge 16
aload 0
iload 2
invokevirtual java.lang.String.charAt:(I)C
dup
istore 5
bipush 32
if_icmpeq 14
iload 5
bipush 9
if_icmpeq 14
16: StackMap locals:
StackMap stack:
aload 1
ifnonnull 18
17: new java.lang.StringBuilder
dup
aload 0
invokevirtual java.lang.String.length:()I
invokespecial java.lang.StringBuilder.<init>:(I)V
astore 1
18: StackMap locals:
StackMap stack:
iload 3
ifeq 21
19: aload 1
aload 0
iconst_0
iload 3
invokevirtual java.lang.String.substring:(II)Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
20: aload 1
bipush 32
invokevirtual java.lang.StringBuilder.append:(C)Ljava/lang/StringBuilder;
pop
21: StackMap locals:
StackMap stack:
aload 0
iload 2
invokevirtual java.lang.String.substring:(I)Ljava/lang/String;
astore 0
22: goto 33
end local 5 23: StackMap locals:
StackMap stack:
aload 1
ifnonnull 25
24: new java.lang.StringBuilder
dup
aload 0
invokevirtual java.lang.String.length:()I
invokespecial java.lang.StringBuilder.<init>:(I)V
astore 1
25: StackMap locals:
StackMap stack:
aload 1
aload 0
iconst_0
iload 2
invokevirtual java.lang.String.substring:(II)Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
26: aload 0
iload 2
invokevirtual java.lang.String.substring:(I)Ljava/lang/String;
astore 0
27: goto 33
28: StackMap locals:
StackMap stack:
aload 1
ifnonnull 30
29: new java.lang.StringBuilder
dup
aload 0
invokevirtual java.lang.String.length:()I
invokespecial java.lang.StringBuilder.<init>:(I)V
astore 1
30: StackMap locals:
StackMap stack:
aload 1
aload 0
iconst_0
iload 3
iconst_1
isub
invokevirtual java.lang.String.substring:(II)Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
31: aload 1
aload 0
iload 3
iload 2
invokevirtual java.lang.String.substring:(II)Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
32: aload 0
iload 2
invokevirtual java.lang.String.substring:(I)Ljava/lang/String;
astore 0
end local 4 end local 3 end local 2 33: StackMap locals:
StackMap stack:
aload 0
ldc "\r\n"
invokestatic com.sun.xml.internal.messaging.saaj.packaging.mime.internet.MimeUtility.indexOfAny:(Ljava/lang/String;Ljava/lang/String;)I
dup
istore 2
start local 2 34: ifge 4
35: aload 1
ifnull 38
36: aload 1
aload 0
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
37: aload 1
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
areturn
38: StackMap locals: int
StackMap stack:
aload 0
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 39 0 s Ljava/lang/String;
3 39 1 sb Ljava/lang/StringBuilder;
4 33 2 i I
34 39 2 i I
5 33 3 start I
6 33 4 l I
11 23 5 c C
MethodParameters:
Name Flags
s
private static int indexOfAny(java.lang.String, java.lang.String);
descriptor: (Ljava/lang/String;Ljava/lang/String;)I
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
iconst_0
invokestatic com.sun.xml.internal.messaging.saaj.packaging.mime.internet.MimeUtility.indexOfAny:(Ljava/lang/String;Ljava/lang/String;I)I
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 s Ljava/lang/String;
0 1 1 any Ljava/lang/String;
MethodParameters:
Name Flags
s
any
private static int indexOfAny(java.lang.String, java.lang.String, int);
descriptor: (Ljava/lang/String;Ljava/lang/String;I)I
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=3, locals=5, args_size=3
start local 0 start local 1 start local 2 0: aload 0
invokevirtual java.lang.String.length:()I
istore 3
start local 3 1: iload 2
istore 4
start local 4 2: goto 7
3: StackMap locals: int int
StackMap stack:
aload 1
aload 0
iload 4
invokevirtual java.lang.String.charAt:(I)C
invokevirtual java.lang.String.indexOf:(I)I
iflt 6
4: iload 4
5: ireturn
6: StackMap locals:
StackMap stack:
iinc 4 1
StackMap locals:
StackMap stack:
7: iload 4
iload 3
if_icmplt 3
end local 4 8: iconst_m1
ireturn
end local 3 9: StackMap locals: java.lang.String java.lang.String int
StackMap stack: java.lang.StringIndexOutOfBoundsException
pop
10: iconst_m1
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 11 0 s Ljava/lang/String;
0 11 1 any Ljava/lang/String;
0 11 2 start I
1 9 3 len I
2 8 4 i I
Exception table:
from to target type
0 5 9 Class java.lang.StringIndexOutOfBoundsException
6 8 9 Class java.lang.StringIndexOutOfBoundsException
MethodParameters:
Name Flags
s
any
start
public static java.lang.String javaCharset(java.lang.String);
descriptor: (Ljava/lang/String;)Ljava/lang/String;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=2, args_size=1
start local 0 0: getstatic com.sun.xml.internal.messaging.saaj.packaging.mime.internet.MimeUtility.mime2java:Ljava/util/Hashtable;
ifnull 1
aload 0
ifnonnull 2
1: StackMap locals:
StackMap stack:
aload 0
areturn
2: StackMap locals:
StackMap stack:
getstatic com.sun.xml.internal.messaging.saaj.packaging.mime.internet.MimeUtility.mime2java:Ljava/util/Hashtable;
aload 0
invokevirtual java.lang.String.toLowerCase:()Ljava/lang/String;
invokevirtual java.util.Hashtable.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast java.lang.String
astore 1
start local 1 3: aload 1
ifnonnull 4
aload 0
goto 5
StackMap locals: java.lang.String
StackMap stack:
4: aload 1
StackMap locals:
StackMap stack: java.lang.String
5: areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 charset Ljava/lang/String;
3 6 1 alias Ljava/lang/String;
MethodParameters:
Name Flags
charset
public static java.lang.String mimeCharset(java.lang.String);
descriptor: (Ljava/lang/String;)Ljava/lang/String;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=2, args_size=1
start local 0 0: getstatic com.sun.xml.internal.messaging.saaj.packaging.mime.internet.MimeUtility.java2mime:Ljava/util/Hashtable;
ifnull 1
aload 0
ifnonnull 2
1: StackMap locals:
StackMap stack:
aload 0
areturn
2: StackMap locals:
StackMap stack:
getstatic com.sun.xml.internal.messaging.saaj.packaging.mime.internet.MimeUtility.java2mime:Ljava/util/Hashtable;
aload 0
invokevirtual java.lang.String.toLowerCase:()Ljava/lang/String;
invokevirtual java.util.Hashtable.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast java.lang.String
astore 1
start local 1 3: aload 1
ifnonnull 4
aload 0
goto 5
StackMap locals: java.lang.String
StackMap stack:
4: aload 1
StackMap locals:
StackMap stack: java.lang.String
5: areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 charset Ljava/lang/String;
3 6 1 alias Ljava/lang/String;
MethodParameters:
Name Flags
charset
public static java.lang.String getDefaultJavaCharset();
descriptor: ()Ljava/lang/String;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=4, locals=2, args_size=0
0: getstatic com.sun.xml.internal.messaging.saaj.packaging.mime.internet.MimeUtility.defaultJavaCharset:Ljava/lang/String;
ifnonnull 16
1: aconst_null
astore 0
start local 0 2: ldc "mail.mime.charset"
invokestatic com.sun.xml.internal.messaging.saaj.util.SAAJUtil.getSystemProperty:(Ljava/lang/String;)Ljava/lang/String;
astore 0
3: aload 0
ifnull 6
aload 0
invokevirtual java.lang.String.length:()I
ifle 6
4: aload 0
invokestatic com.sun.xml.internal.messaging.saaj.packaging.mime.internet.MimeUtility.javaCharset:(Ljava/lang/String;)Ljava/lang/String;
putstatic com.sun.xml.internal.messaging.saaj.packaging.mime.internet.MimeUtility.defaultJavaCharset:Ljava/lang/String;
5: getstatic com.sun.xml.internal.messaging.saaj.packaging.mime.internet.MimeUtility.defaultJavaCharset:Ljava/lang/String;
areturn
6: StackMap locals: java.lang.String
StackMap stack:
ldc "file.encoding"
7: ldc "8859_1"
8: invokestatic java.lang.System.getProperty:(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
putstatic com.sun.xml.internal.messaging.saaj.packaging.mime.internet.MimeUtility.defaultJavaCharset:Ljava/lang/String;
9: goto 16
StackMap locals:
StackMap stack: java.lang.SecurityException
10: pop
11: new java.io.InputStreamReader
dup
new com.sun.xml.internal.messaging.saaj.packaging.mime.internet.MimeUtility$1NullInputStream
dup
invokespecial com.sun.xml.internal.messaging.saaj.packaging.mime.internet.MimeUtility$1NullInputStream.<init>:()V
invokespecial java.io.InputStreamReader.<init>:(Ljava/io/InputStream;)V
12: astore 1
start local 1 13: aload 1
invokevirtual java.io.InputStreamReader.getEncoding:()Ljava/lang/String;
putstatic com.sun.xml.internal.messaging.saaj.packaging.mime.internet.MimeUtility.defaultJavaCharset:Ljava/lang/String;
14: getstatic com.sun.xml.internal.messaging.saaj.packaging.mime.internet.MimeUtility.defaultJavaCharset:Ljava/lang/String;
ifnonnull 16
15: ldc "8859_1"
putstatic com.sun.xml.internal.messaging.saaj.packaging.mime.internet.MimeUtility.defaultJavaCharset:Ljava/lang/String;
end local 1 end local 0 16: StackMap locals:
StackMap stack:
getstatic com.sun.xml.internal.messaging.saaj.packaging.mime.internet.MimeUtility.defaultJavaCharset:Ljava/lang/String;
areturn
LocalVariableTable:
Start End Slot Name Signature
2 16 0 mimecs Ljava/lang/String;
13 16 1 reader Ljava/io/InputStreamReader;
Exception table:
from to target type
6 9 10 Class java.lang.SecurityException
static java.lang.String getDefaultMIMECharset();
descriptor: ()Ljava/lang/String;
flags: (0x0008) ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: getstatic com.sun.xml.internal.messaging.saaj.packaging.mime.internet.MimeUtility.defaultMIMECharset:Ljava/lang/String;
ifnonnull 2
1: ldc "mail.mime.charset"
invokestatic com.sun.xml.internal.messaging.saaj.util.SAAJUtil.getSystemProperty:(Ljava/lang/String;)Ljava/lang/String;
putstatic com.sun.xml.internal.messaging.saaj.packaging.mime.internet.MimeUtility.defaultMIMECharset:Ljava/lang/String;
2: StackMap locals:
StackMap stack:
getstatic com.sun.xml.internal.messaging.saaj.packaging.mime.internet.MimeUtility.defaultMIMECharset:Ljava/lang/String;
ifnonnull 4
3: invokestatic com.sun.xml.internal.messaging.saaj.packaging.mime.internet.MimeUtility.getDefaultJavaCharset:()Ljava/lang/String;
invokestatic com.sun.xml.internal.messaging.saaj.packaging.mime.internet.MimeUtility.mimeCharset:(Ljava/lang/String;)Ljava/lang/String;
putstatic com.sun.xml.internal.messaging.saaj.packaging.mime.internet.MimeUtility.defaultMIMECharset:Ljava/lang/String;
4: StackMap locals:
StackMap stack:
getstatic com.sun.xml.internal.messaging.saaj.packaging.mime.internet.MimeUtility.defaultMIMECharset:Ljava/lang/String;
areturn
LocalVariableTable:
Start End Slot Name Signature
private static void loadMappings(com.sun.xml.internal.messaging.saaj.packaging.mime.util.LineInputStream, java.util.Hashtable<java.lang.String, java.lang.String>);
descriptor: (Lcom/sun/xml/internal/messaging/saaj/packaging/mime/util/LineInputStream;Ljava/util/Hashtable;)V
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=4, locals=6, args_size=2
start local 0 start local 1 0: StackMap locals:
StackMap stack:
aload 0
invokevirtual com.sun.xml.internal.messaging.saaj.packaging.mime.util.LineInputStream.readLine:()Ljava/lang/String;
astore 2
start local 2 1: goto 4
end local 2 StackMap locals:
StackMap stack: java.io.IOException
2: pop
3: goto 17
start local 2 4: StackMap locals: java.lang.String
StackMap stack:
aload 2
ifnonnull 6
5: goto 17
6: StackMap locals:
StackMap stack:
aload 2
ldc "--"
invokevirtual java.lang.String.startsWith:(Ljava/lang/String;)Z
ifeq 8
aload 2
ldc "--"
invokevirtual java.lang.String.endsWith:(Ljava/lang/String;)Z
ifeq 8
7: goto 17
8: StackMap locals:
StackMap stack:
aload 2
invokevirtual java.lang.String.trim:()Ljava/lang/String;
invokevirtual java.lang.String.length:()I
ifeq 0
aload 2
ldc "#"
invokevirtual java.lang.String.startsWith:(Ljava/lang/String;)Z
ifeq 10
9: goto 0
10: StackMap locals:
StackMap stack:
new java.util.StringTokenizer
dup
aload 2
ldc " \t"
invokespecial java.util.StringTokenizer.<init>:(Ljava/lang/String;Ljava/lang/String;)V
astore 3
start local 3 11: aload 3
invokevirtual java.util.StringTokenizer.nextToken:()Ljava/lang/String;
astore 4
start local 4 12: aload 3
invokevirtual java.util.StringTokenizer.nextToken:()Ljava/lang/String;
astore 5
start local 5 13: aload 1
aload 4
invokevirtual java.lang.String.toLowerCase:()Ljava/lang/String;
aload 5
invokevirtual java.util.Hashtable.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
end local 5 end local 4 14: goto 0
StackMap locals: com.sun.xml.internal.messaging.saaj.packaging.mime.util.LineInputStream java.util.Hashtable java.lang.String java.util.StringTokenizer
StackMap stack: java.util.NoSuchElementException
15: pop
end local 3 end local 2 16: goto 0
17: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 18 0 is Lcom/sun/xml/internal/messaging/saaj/packaging/mime/util/LineInputStream;
0 18 1 table Ljava/util/Hashtable<Ljava/lang/String;Ljava/lang/String;>;
1 2 2 currLine Ljava/lang/String;
4 16 2 currLine Ljava/lang/String;
11 16 3 tk Ljava/util/StringTokenizer;
12 14 4 key Ljava/lang/String;
13 14 5 value Ljava/lang/String;
Exception table:
from to target type
0 1 2 Class java.io.IOException
11 14 15 Class java.util.NoSuchElementException
Signature: (Lcom/sun/xml/internal/messaging/saaj/packaging/mime/util/LineInputStream;Ljava/util/Hashtable<Ljava/lang/String;Ljava/lang/String;>;)V
MethodParameters:
Name Flags
is
table
static int checkAscii(java.lang.String);
descriptor: (Ljava/lang/String;)I
flags: (0x0008) ACC_STATIC
Code:
stack=2, locals=5, args_size=1
start local 0 0: iconst_0
istore 1
start local 1 1: iconst_0
istore 2
start local 2 2: aload 0
invokevirtual java.lang.String.length:()I
istore 3
start local 3 3: iconst_0
istore 4
start local 4 4: goto 9
5: StackMap locals: java.lang.String int int int int
StackMap stack:
aload 0
iload 4
invokevirtual java.lang.String.charAt:(I)C
invokestatic com.sun.xml.internal.messaging.saaj.packaging.mime.internet.MimeUtility.nonascii:(I)Z
ifeq 7
6: iinc 2 1
goto 8
7: StackMap locals:
StackMap stack:
iinc 1 1
8: StackMap locals:
StackMap stack:
iinc 4 1
StackMap locals:
StackMap stack:
9: iload 4
iload 3
if_icmplt 5
end local 4 10: iload 2
ifne 12
11: iconst_1
ireturn
12: StackMap locals:
StackMap stack:
iload 1
iload 2
if_icmple 14
13: iconst_2
ireturn
14: StackMap locals:
StackMap stack:
iconst_3
ireturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 15 0 s Ljava/lang/String;
1 15 1 ascii I
2 15 2 non_ascii I
3 15 3 l I
4 10 4 i I
MethodParameters:
Name Flags
s
static int checkAscii(byte[]);
descriptor: ([B)I
flags: (0x0008) ACC_STATIC
Code:
stack=2, locals=4, args_size=1
start local 0 0: iconst_0
istore 1
start local 1 1: iconst_0
istore 2
start local 2 2: iconst_0
istore 3
start local 3 3: goto 8
4: StackMap locals: int int int
StackMap stack:
aload 0
iload 3
baload
sipush 255
iand
invokestatic com.sun.xml.internal.messaging.saaj.packaging.mime.internet.MimeUtility.nonascii:(I)Z
ifeq 6
5: iinc 2 1
goto 7
6: StackMap locals:
StackMap stack:
iinc 1 1
7: StackMap locals:
StackMap stack:
iinc 3 1
StackMap locals:
StackMap stack:
8: iload 3
aload 0
arraylength
if_icmplt 4
end local 3 9: iload 2
ifne 11
10: iconst_1
ireturn
11: StackMap locals:
StackMap stack:
iload 1
iload 2
if_icmple 13
12: iconst_2
ireturn
13: StackMap locals:
StackMap stack:
iconst_3
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 14 0 b [B
1 14 1 ascii I
2 14 2 non_ascii I
3 9 3 i I
MethodParameters:
Name Flags
b
static int checkAscii(java.io.InputStream, int, boolean);
descriptor: (Ljava/io/InputStream;IZ)I
flags: (0x0008) ACC_STATIC
Code:
stack=4, locals=15, args_size=3
start local 0 start local 1 start local 2 0: iconst_0
istore 3
start local 3 1: iconst_0
istore 4
start local 4 2: sipush 4096
istore 6
start local 6 3: iconst_0
istore 7
start local 7 4: iconst_0
istore 8
start local 8 5: iconst_0
istore 9
start local 9 6: getstatic com.sun.xml.internal.messaging.saaj.packaging.mime.internet.MimeUtility.encodeEolStrict:Z
ifeq 7
iload 2
ifeq 7
iconst_1
goto 8
StackMap locals: java.io.InputStream int int int int top int int int int
StackMap stack:
7: iconst_0
StackMap locals:
StackMap stack: int
8: istore 10
start local 10 9: aconst_null
astore 11
start local 11 10: iload 1
ifeq 46
11: iload 1
iconst_m1
if_icmpne 12
sipush 4096
goto 13
StackMap locals: int byte[]
StackMap stack:
12: iload 1
sipush 4096
invokestatic java.lang.Math.min:(II)I
StackMap locals:
StackMap stack: int
13: istore 6
14: iload 6
newarray 8
astore 11
15: goto 46
16: StackMap locals:
StackMap stack:
aload 0
aload 11
iconst_0
iload 6
invokevirtual java.io.InputStream.read:([BII)I
dup
istore 5
start local 5 17: iconst_m1
if_icmpne 19
18: goto 47
19: StackMap locals: java.io.InputStream int int int int int int int int int int byte[]
StackMap stack:
iconst_0
istore 12
start local 12 20: iconst_0
istore 13
start local 13 21: goto 40
22: StackMap locals: int int
StackMap stack:
aload 11
iload 13
baload
sipush 255
iand
istore 14
start local 14 23: iload 10
ifeq 27
24: iload 12
bipush 13
if_icmpne 25
iload 14
bipush 10
if_icmpne 26
25: StackMap locals: int
StackMap stack:
iload 12
bipush 13
if_icmpeq 27
iload 14
bipush 10
if_icmpne 27
26: StackMap locals:
StackMap stack:
iconst_1
istore 9
27: StackMap locals:
StackMap stack:
iload 14
bipush 13
if_icmpeq 28
iload 14
bipush 10
if_icmpne 29
28: StackMap locals:
StackMap stack:
iconst_0
istore 7
goto 32
29: StackMap locals:
StackMap stack:
iinc 7 1
30: iload 7
sipush 998
if_icmple 32
31: iconst_1
istore 8
32: StackMap locals:
StackMap stack:
iload 14
invokestatic com.sun.xml.internal.messaging.saaj.packaging.mime.internet.MimeUtility.nonascii:(I)Z
ifeq 37
33: iload 2
ifeq 35
34: iconst_3
ireturn
35: StackMap locals:
StackMap stack:
iinc 4 1
36: goto 38
37: StackMap locals:
StackMap stack:
iinc 3 1
38: StackMap locals:
StackMap stack:
iload 14
istore 12
end local 14 39: iinc 13 1
StackMap locals:
StackMap stack:
40: iload 13
iload 5
if_icmplt 22
end local 13 end local 12 41: goto 44
end local 5 StackMap locals: java.io.InputStream int int int int top int int int int int byte[]
StackMap stack: java.io.IOException
42: pop
43: goto 47
start local 5 44: StackMap locals: java.io.InputStream int int int int int int int int int int byte[]
StackMap stack:
iload 1
iconst_m1
if_icmpeq 46
45: iload 1
iload 5
isub
istore 1
end local 5 46: StackMap locals: java.io.InputStream int int int int top int int int int int byte[]
StackMap stack:
iload 1
ifne 16
47: StackMap locals:
StackMap stack:
iload 1
ifne 49
iload 2
ifeq 49
48: iconst_3
ireturn
49: StackMap locals:
StackMap stack:
iload 4
ifne 55
50: iload 9
ifeq 52
51: iconst_3
ireturn
52: StackMap locals:
StackMap stack:
iload 8
ifeq 54
53: iconst_2
ireturn
54: StackMap locals:
StackMap stack:
iconst_1
ireturn
55: StackMap locals:
StackMap stack:
iload 3
iload 4
if_icmple 57
56: iconst_2
ireturn
57: StackMap locals:
StackMap stack:
iconst_3
ireturn
end local 11 end local 10 end local 9 end local 8 end local 7 end local 6 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 58 0 is Ljava/io/InputStream;
0 58 1 max I
0 58 2 breakOnNonAscii Z
1 58 3 ascii I
2 58 4 non_ascii I
17 42 5 len I
44 46 5 len I
3 58 6 block I
4 58 7 linelen I
5 58 8 longLine Z
6 58 9 badEOL Z
9 58 10 checkEOL Z
10 58 11 buf [B
20 41 12 lastb I
21 41 13 i I
23 39 14 b I
Exception table:
from to target type
16 18 42 Class java.io.IOException
19 34 42 Class java.io.IOException
35 41 42 Class java.io.IOException
MethodParameters:
Name Flags
is
max
breakOnNonAscii
static final boolean nonascii(int);
descriptor: (I)Z
flags: (0x0018) ACC_STATIC, ACC_FINAL
Code:
stack=2, locals=1, args_size=1
start local 0 0: iload 0
bipush 127
if_icmpge 2
iload 0
bipush 32
if_icmpge 1
iload 0
bipush 13
if_icmpeq 1
iload 0
bipush 10
if_icmpeq 1
iload 0
bipush 9
if_icmpne 2
StackMap locals:
StackMap stack:
1: iconst_0
ireturn
StackMap locals:
StackMap stack:
2: iconst_1
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 b I
MethodParameters:
Name Flags
b
}
SourceFile: "MimeUtility.java"
NestMembers:
com.sun.xml.internal.messaging.saaj.packaging.mime.internet.MimeUtility$1NullInputStream
InnerClasses:
NullInputStream = com.sun.xml.internal.messaging.saaj.packaging.mime.internet.MimeUtility$1NullInputStream