com.infoteria.asteria.connection
クラス FTPConnection.SFTPClient

java.lang.Object
  |
  +--com.infoteria.asteria.connection.FTPConnection.SFTPClient
すべての実装インタフェース:
FTPConnection.Client
含まれているクラス:
com.infoteria.asteria.connection.FTPConnection

public static class FTPConnection.SFTPClient
extends Object
implements FTPConnection.Client


コンストラクタの概要
FTPConnection.SFTPClient(String hostname, String username, String password, int port)
           
FTPConnection.SFTPClient(String hostname, String username, String password, int port, int timeout)
           
 
メソッドの概要
 void addFtpListener(com.jscape.inet.ftp.FtpListener listener)
           
 void connect()
           
 void deleteDir(String dir)
           
 void deleteDir(String dir, boolean recurse)
           
 void deleteFile(String remoteFile)
           
 void disconnect()
           
 void download(String remoteFile)
           
 void download(String localFile, String remoteFile)
           
 String getDir()
           
 Enumeration getDirListing()
           
 Enumeration getDirListing(String regex)
           
 String getDirListingAsString()
           
 String getDirListingAsString(String regex)
           
 Enumeration getDirListingRegex(String regex)
           
 long getFilesize(String remoteFile)
           
 Date getFileTimestamp(String remoteFile)
           
 File getLocalDir()
           
 Enumeration getNameListing()
           
 Enumeration getNameListing(String filter)
           
 int getResponseCode()
           
 String getSystemType()
           
 boolean isConnected()
           
 void issueCommandCheck(String command)
           
 void makeDir(String dir)
           
 String noop()
           
 void removeFtpListener(com.jscape.inet.ftp.FtpListener listener)
           
 void renameFile(String remoteFile, String newFile)
           
 void setAscii()
           
 void setBinary()
           
 void setDir(String dir)
           
 void setLocalDir(File dir)
           
 void setPassive(boolean passive)
           
 void setTimeout(int timeout)
           
 void setWireEncoding(String encoding)
           
 void upload(byte[] data, String remoteFile)
           
 void upload(byte[] data, String remoteFile, boolean append)
           
 void upload(File localFile, String remoteFile)
           
 void upload(File localFile, String remoteFile, boolean append)
           
 void upload(InputStream inputstream, String remoteFile)
           
 void upload(InputStream inputstream, String remoteFile, boolean append)
           
 void upload(String localFile)
           
 void upload(String localFile, String remoteFile)
           
 void upload(String localFile, String remoteFile, boolean append)
           
 
クラス java.lang.Object から継承したメソッド
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

コンストラクタの詳細

FTPConnection.SFTPClient

public FTPConnection.SFTPClient(String hostname,
                                String username,
                                String password,
                                int port)

FTPConnection.SFTPClient

public FTPConnection.SFTPClient(String hostname,
                                String username,
                                String password,
                                int port,
                                int timeout)
メソッドの詳細

setPassive

public void setPassive(boolean passive)
定義:
インタフェース FTPConnection.Client 内の setPassive

setTimeout

public void setTimeout(int timeout)
定義:
インタフェース FTPConnection.Client 内の setTimeout

setWireEncoding

public void setWireEncoding(String encoding)
定義:
インタフェース FTPConnection.Client 内の setWireEncoding

connect

public void connect()
             throws com.jscape.inet.sftp.SftpException,
                    com.jscape.inet.ftp.FtpException
定義:
インタフェース FTPConnection.Client 内の connect

disconnect

public void disconnect()
定義:
インタフェース FTPConnection.Client 内の disconnect

isConnected

public boolean isConnected()
定義:
インタフェース FTPConnection.Client 内の isConnected

addFtpListener

public void addFtpListener(com.jscape.inet.ftp.FtpListener listener)
定義:
インタフェース FTPConnection.Client 内の addFtpListener

removeFtpListener

public void removeFtpListener(com.jscape.inet.ftp.FtpListener listener)
定義:
インタフェース FTPConnection.Client 内の removeFtpListener

noop

public String noop()
            throws com.jscape.inet.sftp.SftpException,
                   com.jscape.inet.ftp.FtpException
定義:
インタフェース FTPConnection.Client 内の noop

getDir

public String getDir()
              throws com.jscape.inet.sftp.SftpException,
                     com.jscape.inet.ftp.FtpException
定義:
インタフェース FTPConnection.Client 内の getDir

getDirListing

public Enumeration getDirListing()
                          throws com.jscape.inet.sftp.SftpException,
                                 com.jscape.inet.ftp.FtpException
定義:
インタフェース FTPConnection.Client 内の getDirListing

getDirListing

public Enumeration getDirListing(String regex)
                          throws com.jscape.inet.sftp.SftpException,
                                 com.jscape.inet.ftp.FtpException
定義:
インタフェース FTPConnection.Client 内の getDirListing

getDirListingAsString

public String getDirListingAsString()
                             throws com.jscape.inet.sftp.SftpException,
                                    com.jscape.inet.ftp.FtpException
定義:
インタフェース FTPConnection.Client 内の getDirListingAsString

getDirListingAsString

public String getDirListingAsString(String regex)
                             throws com.jscape.inet.sftp.SftpException,
                                    com.jscape.inet.ftp.FtpException
定義:
インタフェース FTPConnection.Client 内の getDirListingAsString

getDirListingRegex

public Enumeration getDirListingRegex(String regex)
                               throws com.jscape.inet.sftp.SftpException,
                                      com.jscape.inet.ftp.FtpException
定義:
インタフェース FTPConnection.Client 内の getDirListingRegex

getNameListing

public Enumeration getNameListing()
                           throws com.jscape.inet.sftp.SftpException,
                                  com.jscape.inet.ftp.FtpException
定義:
インタフェース FTPConnection.Client 内の getNameListing

getNameListing

public Enumeration getNameListing(String filter)
                           throws com.jscape.inet.sftp.SftpException,
                                  com.jscape.inet.ftp.FtpException
定義:
インタフェース FTPConnection.Client 内の getNameListing

getFilesize

public long getFilesize(String remoteFile)
                 throws com.jscape.inet.sftp.SftpException,
                        com.jscape.inet.ftp.FtpException
定義:
インタフェース FTPConnection.Client 内の getFilesize

getFileTimestamp

public Date getFileTimestamp(String remoteFile)
                      throws com.jscape.inet.sftp.SftpException,
                             com.jscape.inet.ftp.FtpException
定義:
インタフェース FTPConnection.Client 内の getFileTimestamp

getResponseCode

public int getResponseCode()
定義:
インタフェース FTPConnection.Client 内の getResponseCode

makeDir

public void makeDir(String dir)
             throws com.jscape.inet.sftp.SftpException,
                    com.jscape.inet.ftp.FtpException
定義:
インタフェース FTPConnection.Client 内の makeDir

deleteDir

public void deleteDir(String dir)
               throws com.jscape.inet.sftp.SftpException,
                      com.jscape.inet.ftp.FtpException
定義:
インタフェース FTPConnection.Client 内の deleteDir

deleteDir

public void deleteDir(String dir,
                      boolean recurse)
               throws com.jscape.inet.sftp.SftpException,
                      com.jscape.inet.ftp.FtpException
定義:
インタフェース FTPConnection.Client 内の deleteDir

setDir

public void setDir(String dir)
            throws com.jscape.inet.sftp.SftpException,
                   com.jscape.inet.ftp.FtpException
定義:
インタフェース FTPConnection.Client 内の setDir

getLocalDir

public File getLocalDir()
定義:
インタフェース FTPConnection.Client 内の getLocalDir

setLocalDir

public void setLocalDir(File dir)
定義:
インタフェース FTPConnection.Client 内の setLocalDir

setAscii

public void setAscii()
              throws com.jscape.inet.sftp.SftpException,
                     com.jscape.inet.ftp.FtpException
定義:
インタフェース FTPConnection.Client 内の setAscii

setBinary

public void setBinary()
               throws com.jscape.inet.sftp.SftpException,
                      com.jscape.inet.ftp.FtpException
定義:
インタフェース FTPConnection.Client 内の setBinary

issueCommandCheck

public void issueCommandCheck(String command)
                       throws com.jscape.inet.sftp.SftpException,
                              com.jscape.inet.ftp.FtpException
定義:
インタフェース FTPConnection.Client 内の issueCommandCheck

deleteFile

public void deleteFile(String remoteFile)
                throws com.jscape.inet.sftp.SftpException,
                       com.jscape.inet.ftp.FtpException
定義:
インタフェース FTPConnection.Client 内の deleteFile

renameFile

public void renameFile(String remoteFile,
                       String newFile)
                throws com.jscape.inet.sftp.SftpException,
                       com.jscape.inet.ftp.FtpException
定義:
インタフェース FTPConnection.Client 内の renameFile

download

public void download(String remoteFile)
              throws com.jscape.inet.sftp.SftpException,
                     com.jscape.inet.ftp.FtpException
定義:
インタフェース FTPConnection.Client 内の download

download

public void download(String localFile,
                     String remoteFile)
              throws com.jscape.inet.sftp.SftpException,
                     com.jscape.inet.ftp.FtpException
定義:
インタフェース FTPConnection.Client 内の download

upload

public void upload(byte[] data,
                   String remoteFile)
            throws com.jscape.inet.sftp.SftpException,
                   com.jscape.inet.ftp.FtpException
定義:
インタフェース FTPConnection.Client 内の upload

upload

public void upload(byte[] data,
                   String remoteFile,
                   boolean append)
            throws com.jscape.inet.sftp.SftpException,
                   com.jscape.inet.ftp.FtpException
定義:
インタフェース FTPConnection.Client 内の upload

upload

public void upload(String localFile)
            throws com.jscape.inet.sftp.SftpException,
                   com.jscape.inet.ftp.FtpException
定義:
インタフェース FTPConnection.Client 内の upload

upload

public void upload(String localFile,
                   String remoteFile)
            throws com.jscape.inet.sftp.SftpException,
                   com.jscape.inet.ftp.FtpException
定義:
インタフェース FTPConnection.Client 内の upload

upload

public void upload(String localFile,
                   String remoteFile,
                   boolean append)
            throws com.jscape.inet.sftp.SftpException,
                   com.jscape.inet.ftp.FtpException
定義:
インタフェース FTPConnection.Client 内の upload

upload

public void upload(InputStream inputstream,
                   String remoteFile)
            throws com.jscape.inet.sftp.SftpException,
                   com.jscape.inet.ftp.FtpException
定義:
インタフェース FTPConnection.Client 内の upload

upload

public void upload(InputStream inputstream,
                   String remoteFile,
                   boolean append)
            throws com.jscape.inet.sftp.SftpException,
                   com.jscape.inet.ftp.FtpException
定義:
インタフェース FTPConnection.Client 内の upload

upload

public void upload(File localFile,
                   String remoteFile)
            throws com.jscape.inet.sftp.SftpException,
                   com.jscape.inet.ftp.FtpException
定義:
インタフェース FTPConnection.Client 内の upload

upload

public void upload(File localFile,
                   String remoteFile,
                   boolean append)
            throws com.jscape.inet.sftp.SftpException,
                   com.jscape.inet.ftp.FtpException
定義:
インタフェース FTPConnection.Client 内の upload

getSystemType

public String getSystemType()
                     throws com.jscape.inet.sftp.SftpException,
                            com.jscape.inet.ftp.FtpException
定義:
インタフェース FTPConnection.Client 内の getSystemType