クラス CachingSessionFactory.CachedSession

java.lang.ObjectSE
org.springframework.integration.file.remote.session.CachingSessionFactory.CachedSession
実装済みのインターフェース一覧:
CloseableSEAutoCloseableSESession<F>
含まれているクラス:
CachingSessionFactory<F>

public class CachingSessionFactory.CachedSession extends ObjectSE implements Session<F>
  • 方法の詳細

    • close

      public void close()
      次で指定:
      インターフェース AutoCloseableSE 内の close 
      次で指定:
      インターフェース CloseableSE 内の close 
      次で指定:
      インターフェース Session<F> 内の close 
    • remove

      public boolean remove(StringSE path) throws IOExceptionSE
      次で指定:
      インターフェース Session<F> 内の remove 
      例外:
      IOExceptionSE
    • list

      public F[] list(StringSE path) throws IOExceptionSE
      次で指定:
      インターフェース Session<F> 内の list 
      例外:
      IOExceptionSE
    • read

      public void read(StringSE source, OutputStreamSE os) throws IOExceptionSE
      次で指定:
      インターフェース Session<F> 内の read 
      例外:
      IOExceptionSE
    • write

      public void write(InputStreamSE inputStream, StringSE destination) throws IOExceptionSE
      次で指定:
      インターフェース Session<F> 内の write 
      例外:
      IOExceptionSE
    • append

      public void append(InputStreamSE inputStream, StringSE destination) throws IOExceptionSE
      インターフェースからコピーされた説明: Session
      ファイルに追加します。
      次で指定:
      インターフェース Session<F> 内の append 
      パラメーター:
      inputStream - ストリーム。
      destination - 宛先。
      例外:
      IOExceptionSE - IO 例外。
    • isOpen

      public boolean isOpen()
      次で指定:
      インターフェース Session<F> 内の isOpen 
    • rename

      public void rename(StringSE pathFrom, StringSE pathTo) throws IOExceptionSE
      次で指定:
      インターフェース Session<F> 内の rename 
      例外:
      IOExceptionSE
    • mkdir

      public boolean mkdir(StringSE directory) throws IOExceptionSE
      次で指定:
      インターフェース Session<F> 内の mkdir 
      例外:
      IOExceptionSE
    • rmdir

      public boolean rmdir(StringSE directory) throws IOExceptionSE
      インターフェースからコピーされた説明: Session
      リモートディレクトリを削除します。
      次で指定:
      インターフェース Session<F> 内の rmdir 
      パラメーター:
      directory - ディレクトリ。
      戻り値:
      ディレクトリが削除された場合は true。
      例外:
      IOExceptionSE - IO 例外。
    • exists

      public boolean exists(StringSE path) throws IOExceptionSE
      インターフェースからコピーされた説明: Session
      リモートファイルまたはディレクトリが存在するかどうかを確認します。
      次で指定:
      インターフェース Session<F> 内の exists 
      パラメーター:
      path - リモートパス。
      戻り値:
      リモートパスが存在するかどうかは、true または false です。
      例外:
      IOExceptionSE - リモート対話中の IO 例外。
    • listNames

      public StringSE[] listNames(StringSE path) throws IOExceptionSE
      次で指定:
      インターフェース Session<F> 内の listNames 
      例外:
      IOExceptionSE
    • readRaw

      public InputStreamSE readRaw(StringSE source) throws IOExceptionSE
      インターフェースからコピーされた説明: Session
      リモートファイルを生の InputStreamSE として取得します。
      次で指定:
      インターフェース Session<F> 内の readRaw 
      パラメーター:
      source - リモートファイルのパス。
      戻り値:
      生の inputStream。
      例外:
      IOExceptionSE - IOException。
    • finalizeRaw

      public boolean finalizeRaw() throws IOExceptionSE
      インターフェースからコピーされた説明: Session
      Session.readRaw(String) から InputStream を閉じた後に呼び出します。一部のセッションプロバイダーで必要です。
      次で指定:
      インターフェース Session<F> 内の finalizeRaw 
      戻り値:
      成功した場合は true。
      例外:
      IOExceptionSE - IOException。
    • dirty

      public void dirty()
      インターフェースからコピーされた説明: Session
      このセッションをダーティとしてマークします。これは、再利用するべきではなく、終了する前に委譲されたセッションを処理する必要があることを示します。
      次で指定:
      インターフェース Session<F> 内の dirty 
      関連事項:
    • getClientInstance

      public ObjectSE getClientInstance()
      インターフェースからコピーされた説明: Session
      このセッションの基礎となるクライアントライブラリのクライアントインスタンスを取得します。-file、-ftp、-sftp モジュールへの大幅な変更を避けるために Object を返します。これは、別のジェネリクスパラメーターを追加した場合に必要になります。実装では、戻り値の型を絞り込む必要があります。
      次で指定:
      インターフェース Session<F> 内の getClientInstance 
      戻り値:
      クライアントインスタンス。
    • getHostPort

      public StringSE getHostPort()
      インターフェースからコピーされた説明: Session
      このセッションが接続されているホストとポートのペアを返します。
      次で指定:
      インターフェース Session<F> 内の getHostPort 
      戻り値:
      このセッションが接続されているホスト: ポートのペア。