public abstract class sun.net.ftp.FtpClient implements java.io.Closeable
minor version: 0
major version: 59
flags: flags: (0x0421) ACC_PUBLIC, ACC_SUPER, ACC_ABSTRACT
this_class: sun.net.ftp.FtpClient
super_class: java.lang.Object
{
private static final int FTP_PORT;
descriptor: I
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: 21
public static final int defaultPort();
descriptor: ()I
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
Code:
stack=1, locals=0, args_size=0
0: bipush 21
ireturn
LocalVariableTable:
Start End Slot Name Signature
protected void <init>();
descriptor: ()V
flags: (0x0004) ACC_PROTECTED
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lsun/net/ftp/FtpClient;
public static sun.net.ftp.FtpClient create();
descriptor: ()Lsun/net/ftp/FtpClient;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=1, locals=1, args_size=0
0: invokestatic sun.net.ftp.FtpClientProvider.provider:()Lsun/net/ftp/FtpClientProvider;
astore 0
start local 0 1: aload 0
invokevirtual sun.net.ftp.FtpClientProvider.createFtpClient:()Lsun/net/ftp/FtpClient;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
1 2 0 provider Lsun/net/ftp/FtpClientProvider;
public static sun.net.ftp.FtpClient create(java.net.InetSocketAddress);
descriptor: (Ljava/net/InetSocketAddress;)Lsun/net/ftp/FtpClient;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=2, args_size=1
start local 0 0: invokestatic sun.net.ftp.FtpClient.create:()Lsun/net/ftp/FtpClient;
astore 1
start local 1 1: aload 0
ifnull 3
2: aload 1
aload 0
invokevirtual sun.net.ftp.FtpClient.connect:(Ljava/net/SocketAddress;)Lsun/net/ftp/FtpClient;
pop
3: StackMap locals: sun.net.ftp.FtpClient
StackMap stack:
aload 1
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 dest Ljava/net/InetSocketAddress;
1 4 1 client Lsun/net/ftp/FtpClient;
Exceptions:
throws sun.net.ftp.FtpProtocolException, java.io.IOException
MethodParameters:
Name Flags
dest
public static sun.net.ftp.FtpClient create(java.lang.String);
descriptor: (Ljava/lang/String;)Lsun/net/ftp/FtpClient;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=4, locals=1, args_size=1
start local 0 0: new java.net.InetSocketAddress
dup
aload 0
bipush 21
invokespecial java.net.InetSocketAddress.<init>:(Ljava/lang/String;I)V
invokestatic sun.net.ftp.FtpClient.create:(Ljava/net/InetSocketAddress;)Lsun/net/ftp/FtpClient;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 dest Ljava/lang/String;
Exceptions:
throws sun.net.ftp.FtpProtocolException, java.io.IOException
MethodParameters:
Name Flags
dest
public abstract sun.net.ftp.FtpClient enablePassiveMode(boolean);
descriptor: (Z)Lsun/net/ftp/FtpClient;
flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
MethodParameters:
Name Flags
passive
public abstract boolean isPassiveModeEnabled();
descriptor: ()Z
flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
public abstract sun.net.ftp.FtpClient setConnectTimeout(int);
descriptor: (I)Lsun/net/ftp/FtpClient;
flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
MethodParameters:
Name Flags
timeout
public abstract int getConnectTimeout();
descriptor: ()I
flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
public abstract sun.net.ftp.FtpClient setReadTimeout(int);
descriptor: (I)Lsun/net/ftp/FtpClient;
flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
MethodParameters:
Name Flags
timeout
public abstract int getReadTimeout();
descriptor: ()I
flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
public abstract sun.net.ftp.FtpClient setProxy(java.net.Proxy);
descriptor: (Ljava/net/Proxy;)Lsun/net/ftp/FtpClient;
flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
MethodParameters:
Name Flags
p
public abstract java.net.Proxy getProxy();
descriptor: ()Ljava/net/Proxy;
flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
public abstract boolean isConnected();
descriptor: ()Z
flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
public abstract sun.net.ftp.FtpClient connect(java.net.SocketAddress);
descriptor: (Ljava/net/SocketAddress;)Lsun/net/ftp/FtpClient;
flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
Exceptions:
throws sun.net.ftp.FtpProtocolException, java.io.IOException
MethodParameters:
Name Flags
dest
public abstract sun.net.ftp.FtpClient connect(java.net.SocketAddress, int);
descriptor: (Ljava/net/SocketAddress;I)Lsun/net/ftp/FtpClient;
flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
Exceptions:
throws sun.net.ftp.FtpProtocolException, java.io.IOException
MethodParameters:
Name Flags
dest
timeout
public abstract java.net.SocketAddress getServerAddress();
descriptor: ()Ljava/net/SocketAddress;
flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
public abstract sun.net.ftp.FtpClient login(java.lang.String, char[]);
descriptor: (Ljava/lang/String;[C)Lsun/net/ftp/FtpClient;
flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
Exceptions:
throws sun.net.ftp.FtpProtocolException, java.io.IOException
MethodParameters:
Name Flags
user
password
public abstract sun.net.ftp.FtpClient login(java.lang.String, char[], java.lang.String);
descriptor: (Ljava/lang/String;[CLjava/lang/String;)Lsun/net/ftp/FtpClient;
flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
Exceptions:
throws sun.net.ftp.FtpProtocolException, java.io.IOException
MethodParameters:
Name Flags
user
password
account
public abstract void close();
descriptor: ()V
flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
Exceptions:
throws java.io.IOException
public abstract boolean isLoggedIn();
descriptor: ()Z
flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
public abstract sun.net.ftp.FtpClient changeDirectory(java.lang.String);
descriptor: (Ljava/lang/String;)Lsun/net/ftp/FtpClient;
flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
Exceptions:
throws sun.net.ftp.FtpProtocolException, java.io.IOException
MethodParameters:
Name Flags
remoteDirectory
public abstract sun.net.ftp.FtpClient changeToParentDirectory();
descriptor: ()Lsun/net/ftp/FtpClient;
flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
Exceptions:
throws sun.net.ftp.FtpProtocolException, java.io.IOException
public abstract java.lang.String getWorkingDirectory();
descriptor: ()Ljava/lang/String;
flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
Exceptions:
throws sun.net.ftp.FtpProtocolException, java.io.IOException
public abstract sun.net.ftp.FtpClient setRestartOffset(long);
descriptor: (J)Lsun/net/ftp/FtpClient;
flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
MethodParameters:
Name Flags
offset
public abstract sun.net.ftp.FtpClient getFile(java.lang.String, java.io.OutputStream);
descriptor: (Ljava/lang/String;Ljava/io/OutputStream;)Lsun/net/ftp/FtpClient;
flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
Exceptions:
throws sun.net.ftp.FtpProtocolException, java.io.IOException
MethodParameters:
Name Flags
name
local
public abstract java.io.InputStream getFileStream(java.lang.String);
descriptor: (Ljava/lang/String;)Ljava/io/InputStream;
flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
Exceptions:
throws sun.net.ftp.FtpProtocolException, java.io.IOException
MethodParameters:
Name Flags
name
public java.io.OutputStream putFileStream(java.lang.String);
descriptor: (Ljava/lang/String;)Ljava/io/OutputStream;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
iconst_0
invokevirtual sun.net.ftp.FtpClient.putFileStream:(Ljava/lang/String;Z)Ljava/io/OutputStream;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/net/ftp/FtpClient;
0 1 1 name Ljava/lang/String;
Exceptions:
throws sun.net.ftp.FtpProtocolException, java.io.IOException
MethodParameters:
Name Flags
name
public abstract java.io.OutputStream putFileStream(java.lang.String, boolean);
descriptor: (Ljava/lang/String;Z)Ljava/io/OutputStream;
flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
Exceptions:
throws sun.net.ftp.FtpProtocolException, java.io.IOException
MethodParameters:
Name Flags
name
unique
public sun.net.ftp.FtpClient putFile(java.lang.String, java.io.InputStream);
descriptor: (Ljava/lang/String;Ljava/io/InputStream;)Lsun/net/ftp/FtpClient;
flags: (0x0001) ACC_PUBLIC
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
invokevirtual sun.net.ftp.FtpClient.putFile:(Ljava/lang/String;Ljava/io/InputStream;Z)Lsun/net/ftp/FtpClient;
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/net/ftp/FtpClient;
0 1 1 name Ljava/lang/String;
0 1 2 local Ljava/io/InputStream;
Exceptions:
throws sun.net.ftp.FtpProtocolException, java.io.IOException
MethodParameters:
Name Flags
name
local
public abstract sun.net.ftp.FtpClient putFile(java.lang.String, java.io.InputStream, boolean);
descriptor: (Ljava/lang/String;Ljava/io/InputStream;Z)Lsun/net/ftp/FtpClient;
flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
Exceptions:
throws sun.net.ftp.FtpProtocolException, java.io.IOException
MethodParameters:
Name Flags
name
local
unique
public abstract sun.net.ftp.FtpClient appendFile(java.lang.String, java.io.InputStream);
descriptor: (Ljava/lang/String;Ljava/io/InputStream;)Lsun/net/ftp/FtpClient;
flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
Exceptions:
throws sun.net.ftp.FtpProtocolException, java.io.IOException
MethodParameters:
Name Flags
name
local
public abstract sun.net.ftp.FtpClient rename(java.lang.String, java.lang.String);
descriptor: (Ljava/lang/String;Ljava/lang/String;)Lsun/net/ftp/FtpClient;
flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
Exceptions:
throws sun.net.ftp.FtpProtocolException, java.io.IOException
MethodParameters:
Name Flags
from
to
public abstract sun.net.ftp.FtpClient deleteFile(java.lang.String);
descriptor: (Ljava/lang/String;)Lsun/net/ftp/FtpClient;
flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
Exceptions:
throws sun.net.ftp.FtpProtocolException, java.io.IOException
MethodParameters:
Name Flags
name
public abstract sun.net.ftp.FtpClient makeDirectory(java.lang.String);
descriptor: (Ljava/lang/String;)Lsun/net/ftp/FtpClient;
flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
Exceptions:
throws sun.net.ftp.FtpProtocolException, java.io.IOException
MethodParameters:
Name Flags
name
public abstract sun.net.ftp.FtpClient removeDirectory(java.lang.String);
descriptor: (Ljava/lang/String;)Lsun/net/ftp/FtpClient;
flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
Exceptions:
throws sun.net.ftp.FtpProtocolException, java.io.IOException
MethodParameters:
Name Flags
name
public abstract sun.net.ftp.FtpClient noop();
descriptor: ()Lsun/net/ftp/FtpClient;
flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
Exceptions:
throws sun.net.ftp.FtpProtocolException, java.io.IOException
public abstract java.lang.String getStatus(java.lang.String);
descriptor: (Ljava/lang/String;)Ljava/lang/String;
flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
Exceptions:
throws sun.net.ftp.FtpProtocolException, java.io.IOException
MethodParameters:
Name Flags
name
public abstract java.util.List<java.lang.String> getFeatures();
descriptor: ()Ljava/util/List;
flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
Exceptions:
throws sun.net.ftp.FtpProtocolException, java.io.IOException
Signature: ()Ljava/util/List<Ljava/lang/String;>;
public abstract sun.net.ftp.FtpClient abort();
descriptor: ()Lsun/net/ftp/FtpClient;
flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
Exceptions:
throws sun.net.ftp.FtpProtocolException, java.io.IOException
public abstract sun.net.ftp.FtpClient completePending();
descriptor: ()Lsun/net/ftp/FtpClient;
flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
Exceptions:
throws sun.net.ftp.FtpProtocolException, java.io.IOException
public abstract sun.net.ftp.FtpClient reInit();
descriptor: ()Lsun/net/ftp/FtpClient;
flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
Exceptions:
throws sun.net.ftp.FtpProtocolException, java.io.IOException
public abstract sun.net.ftp.FtpClient setType(sun.net.ftp.FtpClient$TransferType);
descriptor: (Lsun/net/ftp/FtpClient$TransferType;)Lsun/net/ftp/FtpClient;
flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
Exceptions:
throws sun.net.ftp.FtpProtocolException, java.io.IOException
MethodParameters:
Name Flags
type
public sun.net.ftp.FtpClient setBinaryType();
descriptor: ()Lsun/net/ftp/FtpClient;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getstatic sun.net.ftp.FtpClient$TransferType.BINARY:Lsun/net/ftp/FtpClient$TransferType;
invokevirtual sun.net.ftp.FtpClient.setType:(Lsun/net/ftp/FtpClient$TransferType;)Lsun/net/ftp/FtpClient;
pop
1: aload 0
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lsun/net/ftp/FtpClient;
Exceptions:
throws sun.net.ftp.FtpProtocolException, java.io.IOException
public sun.net.ftp.FtpClient setAsciiType();
descriptor: ()Lsun/net/ftp/FtpClient;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getstatic sun.net.ftp.FtpClient$TransferType.ASCII:Lsun/net/ftp/FtpClient$TransferType;
invokevirtual sun.net.ftp.FtpClient.setType:(Lsun/net/ftp/FtpClient$TransferType;)Lsun/net/ftp/FtpClient;
pop
1: aload 0
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lsun/net/ftp/FtpClient;
Exceptions:
throws sun.net.ftp.FtpProtocolException, java.io.IOException
public abstract java.io.InputStream list(java.lang.String);
descriptor: (Ljava/lang/String;)Ljava/io/InputStream;
flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
Exceptions:
throws sun.net.ftp.FtpProtocolException, java.io.IOException
MethodParameters:
Name Flags
path
public abstract java.io.InputStream nameList(java.lang.String);
descriptor: (Ljava/lang/String;)Ljava/io/InputStream;
flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
Exceptions:
throws sun.net.ftp.FtpProtocolException, java.io.IOException
MethodParameters:
Name Flags
path
public abstract long getSize(java.lang.String);
descriptor: (Ljava/lang/String;)J
flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
Exceptions:
throws sun.net.ftp.FtpProtocolException, java.io.IOException
MethodParameters:
Name Flags
path
public abstract java.util.Date getLastModified(java.lang.String);
descriptor: (Ljava/lang/String;)Ljava/util/Date;
flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
Exceptions:
throws sun.net.ftp.FtpProtocolException, java.io.IOException
MethodParameters:
Name Flags
path
public abstract sun.net.ftp.FtpClient setDirParser(sun.net.ftp.FtpDirParser);
descriptor: (Lsun/net/ftp/FtpDirParser;)Lsun/net/ftp/FtpClient;
flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
MethodParameters:
Name Flags
p
public abstract java.util.Iterator<sun.net.ftp.FtpDirEntry> listFiles(java.lang.String);
descriptor: (Ljava/lang/String;)Ljava/util/Iterator;
flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
Exceptions:
throws sun.net.ftp.FtpProtocolException, java.io.IOException
Signature: (Ljava/lang/String;)Ljava/util/Iterator<Lsun/net/ftp/FtpDirEntry;>;
MethodParameters:
Name Flags
path
public abstract sun.net.ftp.FtpClient useKerberos();
descriptor: ()Lsun/net/ftp/FtpClient;
flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
Exceptions:
throws sun.net.ftp.FtpProtocolException, java.io.IOException
public abstract java.lang.String getWelcomeMsg();
descriptor: ()Ljava/lang/String;
flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
public abstract sun.net.ftp.FtpReplyCode getLastReplyCode();
descriptor: ()Lsun/net/ftp/FtpReplyCode;
flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
public abstract java.lang.String getLastResponseString();
descriptor: ()Ljava/lang/String;
flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
public abstract long getLastTransferSize();
descriptor: ()J
flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
public abstract java.lang.String getLastFileName();
descriptor: ()Ljava/lang/String;
flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
public abstract sun.net.ftp.FtpClient startSecureSession();
descriptor: ()Lsun/net/ftp/FtpClient;
flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
Exceptions:
throws sun.net.ftp.FtpProtocolException, java.io.IOException
public abstract sun.net.ftp.FtpClient endSecureSession();
descriptor: ()Lsun/net/ftp/FtpClient;
flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
Exceptions:
throws sun.net.ftp.FtpProtocolException, java.io.IOException
public abstract sun.net.ftp.FtpClient allocate(long);
descriptor: (J)Lsun/net/ftp/FtpClient;
flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
Exceptions:
throws sun.net.ftp.FtpProtocolException, java.io.IOException
MethodParameters:
Name Flags
size
public abstract sun.net.ftp.FtpClient structureMount(java.lang.String);
descriptor: (Ljava/lang/String;)Lsun/net/ftp/FtpClient;
flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
Exceptions:
throws sun.net.ftp.FtpProtocolException, java.io.IOException
MethodParameters:
Name Flags
struct
public abstract java.lang.String getSystem();
descriptor: ()Ljava/lang/String;
flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
Exceptions:
throws sun.net.ftp.FtpProtocolException, java.io.IOException
public abstract java.lang.String getHelp(java.lang.String);
descriptor: (Ljava/lang/String;)Ljava/lang/String;
flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
Exceptions:
throws sun.net.ftp.FtpProtocolException, java.io.IOException
MethodParameters:
Name Flags
cmd
public abstract sun.net.ftp.FtpClient siteCmd(java.lang.String);
descriptor: (Ljava/lang/String;)Lsun/net/ftp/FtpClient;
flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
Exceptions:
throws sun.net.ftp.FtpProtocolException, java.io.IOException
MethodParameters:
Name Flags
cmd
}
SourceFile: "FtpClient.java"
NestMembers:
sun.net.ftp.FtpClient$TransferType
InnerClasses:
public final TransferType = sun.net.ftp.FtpClient$TransferType of sun.net.ftp.FtpClient