class sun.net.ftp.impl.FtpClient$FtpFileIterator implements java.util.Iterator<sun.net.ftp.FtpDirEntry>, java.io.Closeable
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: sun.net.ftp.impl.FtpClient$FtpFileIterator
super_class: java.lang.Object
{
private java.io.BufferedReader in;
descriptor: Ljava/io/BufferedReader;
flags: (0x0002) ACC_PRIVATE
private sun.net.ftp.FtpDirEntry nextFile;
descriptor: Lsun/net/ftp/FtpDirEntry;
flags: (0x0002) ACC_PRIVATE
private sun.net.ftp.FtpDirParser fparser;
descriptor: Lsun/net/ftp/FtpDirParser;
flags: (0x0002) ACC_PRIVATE
private boolean eof;
descriptor: Z
flags: (0x0002) ACC_PRIVATE
final sun.net.ftp.impl.FtpClient this$0;
descriptor: Lsun/net/ftp/impl/FtpClient;
flags: (0x1010) ACC_FINAL, ACC_SYNTHETIC
public void <init>(sun.net.ftp.impl.FtpClient, sun.net.ftp.FtpDirParser, java.io.BufferedReader);
descriptor: (Lsun/net/ftp/impl/FtpClient;Lsun/net/ftp/FtpDirParser;Ljava/io/BufferedReader;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=4, args_size=4
start local 0 start local 2 start local 3 0: aload 0
aload 1
putfield sun.net.ftp.impl.FtpClient$FtpFileIterator.this$0:Lsun/net/ftp/impl/FtpClient;
aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
aconst_null
putfield sun.net.ftp.impl.FtpClient$FtpFileIterator.in:Ljava/io/BufferedReader;
2: aload 0
aconst_null
putfield sun.net.ftp.impl.FtpClient$FtpFileIterator.nextFile:Lsun/net/ftp/FtpDirEntry;
3: aload 0
aconst_null
putfield sun.net.ftp.impl.FtpClient$FtpFileIterator.fparser:Lsun/net/ftp/FtpDirParser;
4: aload 0
iconst_0
putfield sun.net.ftp.impl.FtpClient$FtpFileIterator.eof:Z
5: aload 0
aload 3
putfield sun.net.ftp.impl.FtpClient$FtpFileIterator.in:Ljava/io/BufferedReader;
6: aload 0
aload 2
putfield sun.net.ftp.impl.FtpClient$FtpFileIterator.fparser:Lsun/net/ftp/FtpDirParser;
7: aload 0
invokevirtual sun.net.ftp.impl.FtpClient$FtpFileIterator.readNext:()V
8: return
end local 3 end local 2 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Lsun/net/ftp/impl/FtpClient$FtpFileIterator;
0 9 2 p Lsun/net/ftp/FtpDirParser;
0 9 3 in Ljava/io/BufferedReader;
MethodParameters:
Name Flags
this$0 final
p
in
private void readNext();
descriptor: ()V
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=2, args_size=1
start local 0 0: aload 0
aconst_null
putfield sun.net.ftp.impl.FtpClient$FtpFileIterator.nextFile:Lsun/net/ftp/FtpDirEntry;
1: aload 0
getfield sun.net.ftp.impl.FtpClient$FtpFileIterator.eof:Z
ifeq 3
2: return
3: StackMap locals:
StackMap stack:
aconst_null
astore 1
start local 1 4: StackMap locals: java.lang.String
StackMap stack:
aload 0
getfield sun.net.ftp.impl.FtpClient$FtpFileIterator.in:Ljava/io/BufferedReader;
invokevirtual java.io.BufferedReader.readLine:()Ljava/lang/String;
astore 1
5: aload 1
ifnull 9
6: aload 0
aload 0
getfield sun.net.ftp.impl.FtpClient$FtpFileIterator.fparser:Lsun/net/ftp/FtpDirParser;
aload 1
invokeinterface sun.net.ftp.FtpDirParser.parseLine:(Ljava/lang/String;)Lsun/net/ftp/FtpDirEntry;
putfield sun.net.ftp.impl.FtpClient$FtpFileIterator.nextFile:Lsun/net/ftp/FtpDirEntry;
7: aload 0
getfield sun.net.ftp.impl.FtpClient$FtpFileIterator.nextFile:Lsun/net/ftp/FtpDirEntry;
ifnull 9
8: return
9: StackMap locals:
StackMap stack:
aload 1
ifnonnull 4
10: aload 0
getfield sun.net.ftp.impl.FtpClient$FtpFileIterator.in:Ljava/io/BufferedReader;
invokevirtual java.io.BufferedReader.close:()V
11: goto 13
StackMap locals:
StackMap stack: java.io.IOException
12: pop
13: StackMap locals:
StackMap stack:
aload 0
iconst_1
putfield sun.net.ftp.impl.FtpClient$FtpFileIterator.eof:Z
14: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 15 0 this Lsun/net/ftp/impl/FtpClient$FtpFileIterator;
4 15 1 line Ljava/lang/String;
Exception table:
from to target type
4 8 12 Class java.io.IOException
9 11 12 Class java.io.IOException
public boolean hasNext();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield sun.net.ftp.impl.FtpClient$FtpFileIterator.nextFile:Lsun/net/ftp/FtpDirEntry;
ifnull 1
iconst_1
ireturn
StackMap locals:
StackMap stack:
1: iconst_0
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lsun/net/ftp/impl/FtpClient$FtpFileIterator;
public sun.net.ftp.FtpDirEntry next();
descriptor: ()Lsun/net/ftp/FtpDirEntry;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=2, args_size=1
start local 0 0: aload 0
getfield sun.net.ftp.impl.FtpClient$FtpFileIterator.nextFile:Lsun/net/ftp/FtpDirEntry;
astore 1
start local 1 1: aload 0
invokevirtual sun.net.ftp.impl.FtpClient$FtpFileIterator.readNext:()V
2: aload 1
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lsun/net/ftp/impl/FtpClient$FtpFileIterator;
1 3 1 ret Lsun/net/ftp/FtpDirEntry;
public void remove();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: new java.lang.UnsupportedOperationException
dup
ldc "Not supported yet."
invokespecial java.lang.UnsupportedOperationException.<init>:(Ljava/lang/String;)V
athrow
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/net/ftp/impl/FtpClient$FtpFileIterator;
public void close();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield sun.net.ftp.impl.FtpClient$FtpFileIterator.in:Ljava/io/BufferedReader;
ifnull 2
aload 0
getfield sun.net.ftp.impl.FtpClient$FtpFileIterator.eof:Z
ifne 2
1: aload 0
getfield sun.net.ftp.impl.FtpClient$FtpFileIterator.in:Ljava/io/BufferedReader;
invokevirtual java.io.BufferedReader.close:()V
2: StackMap locals:
StackMap stack:
aload 0
iconst_1
putfield sun.net.ftp.impl.FtpClient$FtpFileIterator.eof:Z
3: aload 0
aconst_null
putfield sun.net.ftp.impl.FtpClient$FtpFileIterator.nextFile:Lsun/net/ftp/FtpDirEntry;
4: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lsun/net/ftp/impl/FtpClient$FtpFileIterator;
Exceptions:
throws java.io.IOException
public java.lang.Object next();
descriptor: ()Ljava/lang/Object;
flags: (0x1041) ACC_PUBLIC, ACC_BRIDGE, ACC_SYNTHETIC
Code:
stack=1, locals=1, args_size=1
0: aload 0
invokevirtual sun.net.ftp.impl.FtpClient$FtpFileIterator.next:()Lsun/net/ftp/FtpDirEntry;
areturn
LocalVariableTable:
Start End Slot Name Signature
}
Signature: Ljava/lang/Object;Ljava/util/Iterator<Lsun/net/ftp/FtpDirEntry;>;Ljava/io/Closeable;
SourceFile: "FtpClient.java"
NestHost: sun.net.ftp.impl.FtpClient
InnerClasses:
private FtpFileIterator = sun.net.ftp.impl.FtpClient$FtpFileIterator of sun.net.ftp.impl.FtpClient