class sun.net.smtp.SmtpPrintStream extends java.io.PrintStream
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: sun.net.smtp.SmtpPrintStream
super_class: java.io.PrintStream
{
private sun.net.smtp.SmtpClient target;
descriptor: Lsun/net/smtp/SmtpClient;
flags: (0x0002) ACC_PRIVATE
private int lastc;
descriptor: I
flags: (0x0002) ACC_PRIVATE
void <init>(java.io.OutputStream, sun.net.smtp.SmtpClient);
descriptor: (Ljava/io/OutputStream;Lsun/net/smtp/SmtpClient;)V
flags: (0x0000)
Code:
stack=4, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 1
iconst_0
aload 2
invokevirtual sun.net.smtp.SmtpClient.getEncoding:()Ljava/lang/String;
invokespecial java.io.PrintStream.<init>:(Ljava/io/OutputStream;ZLjava/lang/String;)V
1: aload 0
bipush 10
putfield sun.net.smtp.SmtpPrintStream.lastc:I
2: aload 0
aload 2
putfield sun.net.smtp.SmtpPrintStream.target:Lsun/net/smtp/SmtpClient;
3: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lsun/net/smtp/SmtpPrintStream;
0 4 1 fos Ljava/io/OutputStream;
0 4 2 cl Lsun/net/smtp/SmtpClient;
Exceptions:
throws java.io.UnsupportedEncodingException
MethodParameters:
Name Flags
fos
cl
public void close();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
getfield sun.net.smtp.SmtpPrintStream.target:Lsun/net/smtp/SmtpClient;
ifnonnull 2
1: return
2: StackMap locals:
StackMap stack:
aload 0
getfield sun.net.smtp.SmtpPrintStream.lastc:I
bipush 10
if_icmpeq 4
3: aload 0
bipush 10
invokevirtual sun.net.smtp.SmtpPrintStream.write:(I)V
4: StackMap locals:
StackMap stack:
aload 0
getfield sun.net.smtp.SmtpPrintStream.target:Lsun/net/smtp/SmtpClient;
ldc ".\r\n"
sipush 250
invokevirtual sun.net.smtp.SmtpClient.issueCommand:(Ljava/lang/String;I)V
5: aload 0
getfield sun.net.smtp.SmtpPrintStream.target:Lsun/net/smtp/SmtpClient;
aconst_null
putfield sun.net.smtp.SmtpClient.message:Lsun/net/smtp/SmtpPrintStream;
6: aload 0
aconst_null
putfield sun.net.smtp.SmtpPrintStream.out:Ljava/io/OutputStream;
7: aload 0
aconst_null
putfield sun.net.smtp.SmtpPrintStream.target:Lsun/net/smtp/SmtpClient;
8: goto 10
StackMap locals:
StackMap stack: java.io.IOException
9: pop
10: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 11 0 this Lsun/net/smtp/SmtpPrintStream;
Exception table:
from to target type
4 8 9 Class java.io.IOException
public void write(int);
descriptor: (I)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield sun.net.smtp.SmtpPrintStream.lastc:I
bipush 10
if_icmpne 2
iload 1
bipush 46
if_icmpne 2
1: aload 0
getfield sun.net.smtp.SmtpPrintStream.out:Ljava/io/OutputStream;
bipush 46
invokevirtual java.io.OutputStream.write:(I)V
2: StackMap locals:
StackMap stack:
iload 1
bipush 10
if_icmpne 4
aload 0
getfield sun.net.smtp.SmtpPrintStream.lastc:I
bipush 13
if_icmpeq 4
3: aload 0
getfield sun.net.smtp.SmtpPrintStream.out:Ljava/io/OutputStream;
bipush 13
invokevirtual java.io.OutputStream.write:(I)V
4: StackMap locals:
StackMap stack:
aload 0
getfield sun.net.smtp.SmtpPrintStream.out:Ljava/io/OutputStream;
iload 1
invokevirtual java.io.OutputStream.write:(I)V
5: aload 0
iload 1
putfield sun.net.smtp.SmtpPrintStream.lastc:I
6: goto 8
StackMap locals:
StackMap stack: java.io.IOException
7: pop
8: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Lsun/net/smtp/SmtpPrintStream;
0 9 1 b I
Exception table:
from to target type
0 6 7 Class java.io.IOException
MethodParameters:
Name Flags
b
public void write(byte[], int, int);
descriptor: ([BII)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=6, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
getfield sun.net.smtp.SmtpPrintStream.lastc:I
istore 4
start local 4 1: goto 9
2: StackMap locals: int
StackMap stack:
aload 1
iload 2
iinc 2 1
baload
istore 5
start local 5 3: iload 4
bipush 10
if_icmpne 5
iload 5
bipush 46
if_icmpne 5
4: aload 0
getfield sun.net.smtp.SmtpPrintStream.out:Ljava/io/OutputStream;
bipush 46
invokevirtual java.io.OutputStream.write:(I)V
5: StackMap locals: int
StackMap stack:
iload 5
bipush 10
if_icmpne 7
iload 4
bipush 13
if_icmpeq 7
6: aload 0
getfield sun.net.smtp.SmtpPrintStream.out:Ljava/io/OutputStream;
bipush 13
invokevirtual java.io.OutputStream.write:(I)V
7: StackMap locals:
StackMap stack:
aload 0
getfield sun.net.smtp.SmtpPrintStream.out:Ljava/io/OutputStream;
iload 5
invokevirtual java.io.OutputStream.write:(I)V
8: iload 5
istore 4
end local 5 9: StackMap locals:
StackMap stack:
iinc 3 -1
iload 3
ifge 2
10: aload 0
iload 4
putfield sun.net.smtp.SmtpPrintStream.lastc:I
end local 4 11: goto 13
StackMap locals: sun.net.smtp.SmtpPrintStream byte[] int int
StackMap stack: java.io.IOException
12: pop
13: StackMap locals:
StackMap stack:
return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 14 0 this Lsun/net/smtp/SmtpPrintStream;
0 14 1 b [B
0 14 2 off I
0 14 3 len I
1 11 4 lc I
3 9 5 c I
Exception table:
from to target type
0 11 12 Class java.io.IOException
MethodParameters:
Name Flags
b
off
len
public void print(java.lang.String);
descriptor: (Ljava/lang/String;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=4, args_size=2
start local 0 start local 1 0: aload 1
invokevirtual java.lang.String.length:()I
istore 2
start local 2 1: iconst_0
istore 3
start local 3 2: goto 5
3: StackMap locals: int int
StackMap stack:
aload 0
aload 1
iload 3
invokevirtual java.lang.String.charAt:(I)C
invokevirtual sun.net.smtp.SmtpPrintStream.write:(I)V
4: iinc 3 1
StackMap locals:
StackMap stack:
5: iload 3
iload 2
if_icmplt 3
end local 3 6: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lsun/net/smtp/SmtpPrintStream;
0 7 1 s Ljava/lang/String;
1 7 2 len I
2 6 3 i I
MethodParameters:
Name Flags
s
}
SourceFile: "SmtpClient.java"