public class org.bouncycastle.mime.BasicMimeParser implements org.bouncycastle.mime.MimeParser
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.bouncycastle.mime.BasicMimeParser
super_class: java.lang.Object
{
private final java.io.InputStream src;
descriptor: Ljava/io/InputStream;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final org.bouncycastle.mime.MimeParserContext parserContext;
descriptor: Lorg/bouncycastle/mime/MimeParserContext;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final java.lang.String defaultContentTransferEncoding;
descriptor: Ljava/lang/String;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private org.bouncycastle.mime.Headers ;
descriptor: Lorg/bouncycastle/mime/Headers;
flags: (0x0002) ACC_PRIVATE
private boolean isMultipart;
descriptor: Z
flags: (0x0002) ACC_PRIVATE
private final java.lang.String boundary;
descriptor: Ljava/lang/String;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
public void <init>(java.io.InputStream);
descriptor: (Ljava/io/InputStream;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aconst_null
new org.bouncycastle.mime.Headers
dup
aload 1
ldc "7bit"
invokespecial org.bouncycastle.mime.Headers.<init>:(Ljava/io/InputStream;Ljava/lang/String;)V
aload 1
invokespecial org.bouncycastle.mime.BasicMimeParser.<init>:(Lorg/bouncycastle/mime/MimeParserContext;Lorg/bouncycastle/mime/Headers;Ljava/io/InputStream;)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/bouncycastle/mime/BasicMimeParser;
0 2 1 src Ljava/io/InputStream;
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
src
public void <init>(org.bouncycastle.mime.MimeParserContext, java.io.InputStream);
descriptor: (Lorg/bouncycastle/mime/MimeParserContext;Ljava/io/InputStream;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 1
new org.bouncycastle.mime.Headers
dup
aload 2
aload 1
invokeinterface org.bouncycastle.mime.MimeParserContext.getDefaultContentTransferEncoding:()Ljava/lang/String;
invokespecial org.bouncycastle.mime.Headers.<init>:(Ljava/io/InputStream;Ljava/lang/String;)V
aload 2
invokespecial org.bouncycastle.mime.BasicMimeParser.<init>:(Lorg/bouncycastle/mime/MimeParserContext;Lorg/bouncycastle/mime/Headers;Ljava/io/InputStream;)V
1: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/bouncycastle/mime/BasicMimeParser;
0 2 1 parserContext Lorg/bouncycastle/mime/MimeParserContext;
0 2 2 src Ljava/io/InputStream;
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
parserContext
src
public void (org.bouncycastle.mime.Headers, java.io.InputStream);
descriptor: (Lorg/bouncycastle/mime/Headers;Ljava/io/InputStream;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aconst_null
aload 1
aload 2
invokespecial org.bouncycastle.mime.BasicMimeParser.<init>:(Lorg/bouncycastle/mime/MimeParserContext;Lorg/bouncycastle/mime/Headers;Ljava/io/InputStream;)V
1: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/bouncycastle/mime/BasicMimeParser;
0 2 1 headers Lorg/bouncycastle/mime/Headers;
0 2 2 content Ljava/io/InputStream;
MethodParameters:
Name Flags
headers
content
public void (org.bouncycastle.mime.MimeParserContext, org.bouncycastle.mime.Headers, java.io.InputStream);
descriptor: (Lorg/bouncycastle/mime/MimeParserContext;Lorg/bouncycastle/mime/Headers;Ljava/io/InputStream;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
iconst_0
putfield org.bouncycastle.mime.BasicMimeParser.isMultipart:Z
2: aload 2
invokevirtual org.bouncycastle.mime.Headers.isMultipart:()Z
ifeq 6
3: aload 0
iconst_1
putfield org.bouncycastle.mime.BasicMimeParser.isMultipart:Z
4: aload 0
aload 2
invokevirtual org.bouncycastle.mime.Headers.getBoundary:()Ljava/lang/String;
putfield org.bouncycastle.mime.BasicMimeParser.boundary:Ljava/lang/String;
5: goto 7
6: StackMap locals: org.bouncycastle.mime.BasicMimeParser org.bouncycastle.mime.MimeParserContext org.bouncycastle.mime.Headers java.io.InputStream
StackMap stack:
aload 0
aconst_null
putfield org.bouncycastle.mime.BasicMimeParser.boundary:Ljava/lang/String;
7: StackMap locals:
StackMap stack:
aload 0
aload 2
putfield org.bouncycastle.mime.BasicMimeParser.headers:Lorg/bouncycastle/mime/Headers;
8: aload 0
aload 1
putfield org.bouncycastle.mime.BasicMimeParser.parserContext:Lorg/bouncycastle/mime/MimeParserContext;
9: aload 0
aload 3
putfield org.bouncycastle.mime.BasicMimeParser.src:Ljava/io/InputStream;
10: aload 0
aload 1
ifnull 11
aload 1
invokeinterface org.bouncycastle.mime.MimeParserContext.getDefaultContentTransferEncoding:()Ljava/lang/String;
goto 12
StackMap locals:
StackMap stack: org.bouncycastle.mime.BasicMimeParser
11: ldc "7bit"
StackMap locals: org.bouncycastle.mime.BasicMimeParser org.bouncycastle.mime.MimeParserContext org.bouncycastle.mime.Headers java.io.InputStream
StackMap stack: org.bouncycastle.mime.BasicMimeParser java.lang.String
12: putfield org.bouncycastle.mime.BasicMimeParser.defaultContentTransferEncoding:Ljava/lang/String;
13: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 14 0 this Lorg/bouncycastle/mime/BasicMimeParser;
0 14 1 parserContext Lorg/bouncycastle/mime/MimeParserContext;
0 14 2 headers Lorg/bouncycastle/mime/Headers;
0 14 3 src Ljava/io/InputStream;
MethodParameters:
Name Flags
parserContext
headers
src
public void parse(org.bouncycastle.mime.MimeParserListener);
descriptor: (Lorg/bouncycastle/mime/MimeParserListener;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=12, args_size=2
start local 0 start local 1 0: aload 1
aload 0
getfield org.bouncycastle.mime.BasicMimeParser.parserContext:Lorg/bouncycastle/mime/MimeParserContext;
aload 0
getfield org.bouncycastle.mime.BasicMimeParser.headers:Lorg/bouncycastle/mime/Headers;
invokeinterface org.bouncycastle.mime.MimeParserListener.createContext:(Lorg/bouncycastle/mime/MimeParserContext;Lorg/bouncycastle/mime/Headers;)Lorg/bouncycastle/mime/MimeContext;
astore 2
start local 2 1: aload 0
getfield org.bouncycastle.mime.BasicMimeParser.isMultipart:Z
ifeq 28
2: aload 2
checkcast org.bouncycastle.mime.MimeMultipartContext
astore 4
start local 4 3: new java.lang.StringBuilder
dup
ldc "--"
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
getfield org.bouncycastle.mime.BasicMimeParser.boundary:Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
astore 5
start local 5 4: iconst_0
istore 6
start local 6 5: iconst_0
istore 7
start local 7 6: new org.bouncycastle.mime.LineReader
dup
aload 0
getfield org.bouncycastle.mime.BasicMimeParser.src:Ljava/io/InputStream;
invokespecial org.bouncycastle.mime.LineReader.<init>:(Ljava/io/InputStream;)V
astore 8
start local 8 7: goto 25
start local 3 8: StackMap locals: org.bouncycastle.mime.BasicMimeParser org.bouncycastle.mime.MimeParserListener org.bouncycastle.mime.MimeContext java.lang.String org.bouncycastle.mime.MimeMultipartContext java.lang.String int int org.bouncycastle.mime.LineReader
StackMap stack:
iload 6
ifeq 16
9: new org.bouncycastle.mime.BoundaryLimitedInputStream
dup
aload 0
getfield org.bouncycastle.mime.BasicMimeParser.src:Ljava/io/InputStream;
aload 0
getfield org.bouncycastle.mime.BasicMimeParser.boundary:Ljava/lang/String;
invokespecial org.bouncycastle.mime.BoundaryLimitedInputStream.<init>:(Ljava/io/InputStream;Ljava/lang/String;)V
astore 9
start local 9 10: new org.bouncycastle.mime.Headers
dup
aload 9
aload 0
getfield org.bouncycastle.mime.BasicMimeParser.defaultContentTransferEncoding:Ljava/lang/String;
invokespecial org.bouncycastle.mime.Headers.<init>:(Ljava/io/InputStream;Ljava/lang/String;)V
astore 10
start local 10 11: aload 4
iload 7
iinc 7 1
invokeinterface org.bouncycastle.mime.MimeMultipartContext.createContext:(I)Lorg/bouncycastle/mime/MimeContext;
astore 11
start local 11 12: aload 11
aload 10
aload 9
invokeinterface org.bouncycastle.mime.MimeContext.applyContext:(Lorg/bouncycastle/mime/Headers;Ljava/io/InputStream;)Ljava/io/InputStream;
astore 9
13: aload 1
aload 0
getfield org.bouncycastle.mime.BasicMimeParser.parserContext:Lorg/bouncycastle/mime/MimeParserContext;
aload 10
aload 0
aload 10
aload 9
invokevirtual org.bouncycastle.mime.BasicMimeParser.processStream:(Lorg/bouncycastle/mime/Headers;Ljava/io/InputStream;)Ljava/io/InputStream;
invokeinterface org.bouncycastle.mime.MimeParserListener.object:(Lorg/bouncycastle/mime/MimeParserContext;Lorg/bouncycastle/mime/Headers;Ljava/io/InputStream;)V
14: aload 9
invokevirtual java.io.InputStream.read:()I
iflt 25
15: new java.io.IOException
dup
ldc "MIME object not fully processed"
invokespecial java.io.IOException.<init>:(Ljava/lang/String;)V
athrow
end local 11 end local 10 end local 9 16: StackMap locals:
StackMap stack:
aload 5
aload 3
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 25
17: iconst_1
istore 6
18: new org.bouncycastle.mime.BoundaryLimitedInputStream
dup
aload 0
getfield org.bouncycastle.mime.BasicMimeParser.src:Ljava/io/InputStream;
aload 0
getfield org.bouncycastle.mime.BasicMimeParser.boundary:Ljava/lang/String;
invokespecial org.bouncycastle.mime.BoundaryLimitedInputStream.<init>:(Ljava/io/InputStream;Ljava/lang/String;)V
astore 9
start local 9 19: new org.bouncycastle.mime.Headers
dup
aload 9
aload 0
getfield org.bouncycastle.mime.BasicMimeParser.defaultContentTransferEncoding:Ljava/lang/String;
invokespecial org.bouncycastle.mime.Headers.<init>:(Ljava/io/InputStream;Ljava/lang/String;)V
astore 10
start local 10 20: aload 4
iload 7
iinc 7 1
invokeinterface org.bouncycastle.mime.MimeMultipartContext.createContext:(I)Lorg/bouncycastle/mime/MimeContext;
astore 11
start local 11 21: aload 11
aload 10
aload 9
invokeinterface org.bouncycastle.mime.MimeContext.applyContext:(Lorg/bouncycastle/mime/Headers;Ljava/io/InputStream;)Ljava/io/InputStream;
astore 9
22: aload 1
aload 0
getfield org.bouncycastle.mime.BasicMimeParser.parserContext:Lorg/bouncycastle/mime/MimeParserContext;
aload 10
aload 0
aload 10
aload 9
invokevirtual org.bouncycastle.mime.BasicMimeParser.processStream:(Lorg/bouncycastle/mime/Headers;Ljava/io/InputStream;)Ljava/io/InputStream;
invokeinterface org.bouncycastle.mime.MimeParserListener.object:(Lorg/bouncycastle/mime/MimeParserContext;Lorg/bouncycastle/mime/Headers;Ljava/io/InputStream;)V
23: aload 9
invokevirtual java.io.InputStream.read:()I
iflt 25
24: new java.io.IOException
dup
ldc "MIME object not fully processed"
invokespecial java.io.IOException.<init>:(Ljava/lang/String;)V
athrow
end local 11 end local 10 end local 9 end local 3 25: StackMap locals: org.bouncycastle.mime.BasicMimeParser org.bouncycastle.mime.MimeParserListener org.bouncycastle.mime.MimeContext top org.bouncycastle.mime.MimeMultipartContext java.lang.String int int org.bouncycastle.mime.LineReader
StackMap stack:
aload 8
invokevirtual org.bouncycastle.mime.LineReader.readLine:()Ljava/lang/String;
dup
astore 3
start local 3 26: ifnull 30
ldc "--"
aload 3
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 8
end local 8 end local 7 end local 6 end local 5 end local 4 27: goto 30
end local 3 28: StackMap locals: org.bouncycastle.mime.BasicMimeParser org.bouncycastle.mime.MimeParserListener org.bouncycastle.mime.MimeContext
StackMap stack:
aload 2
aload 0
getfield org.bouncycastle.mime.BasicMimeParser.headers:Lorg/bouncycastle/mime/Headers;
aload 0
getfield org.bouncycastle.mime.BasicMimeParser.src:Ljava/io/InputStream;
invokeinterface org.bouncycastle.mime.MimeContext.applyContext:(Lorg/bouncycastle/mime/Headers;Ljava/io/InputStream;)Ljava/io/InputStream;
astore 4
start local 4 29: aload 1
aload 0
getfield org.bouncycastle.mime.BasicMimeParser.parserContext:Lorg/bouncycastle/mime/MimeParserContext;
aload 0
getfield org.bouncycastle.mime.BasicMimeParser.headers:Lorg/bouncycastle/mime/Headers;
aload 0
aload 0
getfield org.bouncycastle.mime.BasicMimeParser.headers:Lorg/bouncycastle/mime/Headers;
aload 4
invokevirtual org.bouncycastle.mime.BasicMimeParser.processStream:(Lorg/bouncycastle/mime/Headers;Ljava/io/InputStream;)Ljava/io/InputStream;
invokeinterface org.bouncycastle.mime.MimeParserListener.object:(Lorg/bouncycastle/mime/MimeParserContext;Lorg/bouncycastle/mime/Headers;Ljava/io/InputStream;)V
end local 4 30: StackMap locals:
StackMap stack:
return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 31 0 this Lorg/bouncycastle/mime/BasicMimeParser;
0 31 1 listener Lorg/bouncycastle/mime/MimeParserListener;
1 31 2 context Lorg/bouncycastle/mime/MimeContext;
8 25 3 s Ljava/lang/String;
26 28 3 s Ljava/lang/String;
3 27 4 mContext Lorg/bouncycastle/mime/MimeMultipartContext;
4 27 5 startBoundary Ljava/lang/String;
5 27 6 startFound Z
6 27 7 partNo I
7 27 8 rd Lorg/bouncycastle/mime/LineReader;
10 16 9 inputStream Ljava/io/InputStream;
11 16 10 headers Lorg/bouncycastle/mime/Headers;
12 16 11 partContext Lorg/bouncycastle/mime/MimeContext;
19 25 9 inputStream Ljava/io/InputStream;
20 25 10 headers Lorg/bouncycastle/mime/Headers;
21 25 11 partContext Lorg/bouncycastle/mime/MimeContext;
29 30 4 inputStream Ljava/io/InputStream;
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
listener
public boolean isMultipart();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.bouncycastle.mime.BasicMimeParser.isMultipart:Z
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/bouncycastle/mime/BasicMimeParser;
private java.io.InputStream (org.bouncycastle.mime.Headers, java.io.InputStream);
descriptor: (Lorg/bouncycastle/mime/Headers;Ljava/io/InputStream;)Ljava/io/InputStream;
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 1
invokevirtual org.bouncycastle.mime.Headers.getContentTransferEncoding:()Ljava/lang/String;
ldc "base64"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 2
1: new org.bouncycastle.mime.encoding.Base64InputStream
dup
aload 2
invokespecial org.bouncycastle.mime.encoding.Base64InputStream.<init>:(Ljava/io/InputStream;)V
areturn
2: StackMap locals:
StackMap stack:
aload 1
invokevirtual org.bouncycastle.mime.Headers.getContentTransferEncoding:()Ljava/lang/String;
ldc "quoted-printable"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 4
3: new org.bouncycastle.mime.encoding.QuotedPrintableInputStream
dup
aload 2
invokespecial org.bouncycastle.mime.encoding.QuotedPrintableInputStream.<init>:(Ljava/io/InputStream;)V
areturn
4: StackMap locals:
StackMap stack:
aload 2
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lorg/bouncycastle/mime/BasicMimeParser;
0 5 1 headers Lorg/bouncycastle/mime/Headers;
0 5 2 inputStream Ljava/io/InputStream;
MethodParameters:
Name Flags
headers
inputStream
}
SourceFile: "BasicMimeParser.java"