クラス SmbOutboundGateway

実装済みのインターフェース一覧:
org.reactivestreams.Subscriber<Message<?>>, Aware, BeanClassLoaderAware, BeanFactoryAware, BeanNameAware, DisposableBean, InitializingBean, ApplicationContextAware, Ordered, ComponentSourceAware, ExpressionCapable, Orderable, MessageProducer, HeaderPropagationAware, IntegrationPattern, NamedComponent, IntegrationManagement, TrackableComponent, MessageHandler, reactor.core.CoreSubscriber<Message<?>>

public class SmbOutboundGateway extends AbstractRemoteFileOutboundGateway<org.codelibs.jcifs.smb.impl.SmbFile>
SMB 経由で リモートファイル操作を実行するための送信 ゲートウェイ。
導入:
6.0
作成者:
Gregory Bragg, Artem Bilan, Daniel Frey
  • コンストラクターの詳細

    • SmbOutboundGateway

      public SmbOutboundGateway(SessionFactory<org.codelibs.jcifs.smb.impl.SmbFile> sessionFactory, MessageSessionCallback<org.codelibs.jcifs.smb.impl.SmbFile, ?> messageSessionCallback)
      提供されたセッションファクトリとセッションで操作を実行するためのコールバックを使用してインスタンスを構築します。
      パラメーター:
      sessionFactory - セッションファクトリ。
      messageSessionCallback - コールバック。
    • SmbOutboundGateway

      public SmbOutboundGateway(RemoteFileTemplate<org.codelibs.jcifs.smb.impl.SmbFile> remoteFileTemplate, MessageSessionCallback<org.codelibs.jcifs.smb.impl.SmbFile, ?> messageSessionCallback)
      提供されたリモートファイルテンプレートと、セッションで操作を実行するためのコールバックを使用してインスタンスを構築します。
      パラメーター:
      remoteFileTemplate - リモートファイルテンプレート。
      messageSessionCallback - コールバック。
    • SmbOutboundGateway

      public SmbOutboundGateway(SessionFactory<org.codelibs.jcifs.smb.impl.SmbFile> sessionFactory, StringSE command, @Nullable StringSE expression)
      提供されたセッションファクトリ、コマンド ( "ls"、"get" など)、リモートパスを決定する式を使用してインスタンスを構築します。
      パラメーター:
      sessionFactory - セッションファクトリ。
      command - コマンド。
      expression - リモートパス式。
    • SmbOutboundGateway

      public SmbOutboundGateway(RemoteFileTemplate<org.codelibs.jcifs.smb.impl.SmbFile> remoteFileTemplate, StringSE command, @Nullable StringSE expression)
      提供された リモートファイルテンプレート、コマンド ('ls'、'get' など)、リモートパスを決定する式を使用してインスタンスを構築します。
      パラメーター:
      remoteFileTemplate - リモートファイルテンプレート。
      command - コマンド。
      expression - リモートパス式。
    • SmbOutboundGateway

      public SmbOutboundGateway(SessionFactory<org.codelibs.jcifs.smb.impl.SmbFile> sessionFactory, StringSE command)
      提供されたセッションファクトリとコマンド('ls'、'nlst'、'put' または 'mput' )を使用してインスタンスを構築します。

      remoteDirectory 式は、SMB クライアントから workingDirectory を使用することを想定した null です。

      パラメーター:
      sessionFactory - セッションファクトリ。
      command - コマンド。
    • SmbOutboundGateway

      public SmbOutboundGateway(RemoteFileTemplate<org.codelibs.jcifs.smb.impl.SmbFile> remoteFileTemplate, StringSE command)
      提供されたリモートファイルテンプレートとコマンド('ls'、'nlst'、'put' または 'mput' )を使用してインスタンスを構築します。

      remoteDirectory 式は、SMB クライアントから workingDirectory を使用することを想定した null です。

      パラメーター:
      remoteFileTemplate - リモートファイルテンプレート。
      command - コマンド。
  • 方法の詳細

    • getComponentType

      public StringSE getComponentType()
      次で指定:
      インターフェース NamedComponent 内の getComponentType 
      オーバーライド:
      クラス MessageHandlerSupportgetComponentType 
    • isDirectory

      protected boolean isDirectory(org.codelibs.jcifs.smb.impl.SmbFile file)
      次で指定:
      クラス AbstractRemoteFileOutboundGateway<org.codelibs.jcifs.smb.impl.SmbFile>isDirectory 
    • isLink

      protected boolean isLink(org.codelibs.jcifs.smb.impl.SmbFile file)
      現在、シンボリックリンクは JCIFS v2.x.x 依存ライブラリではサポートされていないため、このメソッドは常に false を返します。
      次で指定:
      クラス AbstractRemoteFileOutboundGateway<org.codelibs.jcifs.smb.impl.SmbFile>isLink 
      戻り値:
      false
    • getFilename

      protected StringSE getFilename(AbstractFileInfo<org.codelibs.jcifs.smb.impl.SmbFile> file)
      次で指定:
      クラス AbstractRemoteFileOutboundGateway<org.codelibs.jcifs.smb.impl.SmbFile>getFilename 
    • getFilename

      protected StringSE getFilename(org.codelibs.jcifs.smb.impl.SmbFile file)
      次で指定:
      クラス AbstractRemoteFileOutboundGateway<org.codelibs.jcifs.smb.impl.SmbFile>getFilename 
    • getModified

      protected long getModified(org.codelibs.jcifs.smb.impl.SmbFile file)
      次で指定:
      クラス AbstractRemoteFileOutboundGateway<org.codelibs.jcifs.smb.impl.SmbFile>getModified 
    • asFileInfoList

      protected ListSE<AbstractFileInfo<org.codelibs.jcifs.smb.impl.SmbFile>> asFileInfoList(CollectionSE<org.codelibs.jcifs.smb.impl.SmbFile> files)
      次で指定:
      クラス AbstractRemoteFileOutboundGateway<org.codelibs.jcifs.smb.impl.SmbFile>asFileInfoList 
    • enhanceNameWithSubDirectory

      protected org.codelibs.jcifs.smb.impl.SmbFile enhanceNameWithSubDirectory(org.codelibs.jcifs.smb.impl.SmbFile file, StringSE directory)
      次で指定:
      クラス AbstractRemoteFileOutboundGateway<org.codelibs.jcifs.smb.impl.SmbFile>enhanceNameWithSubDirectory 
    • getFullFileName

      protected StringSE getFullFileName(@Nullable StringSE remoteDirectory, org.codelibs.jcifs.smb.impl.SmbFile smbFile)
      クラスからコピーされた説明: AbstractRemoteFileOutboundGateway
      デフォルトでは、このメソッドは リモートファイル名を使用して リモートディレクトリにアクセスし、完全な リモートファイルパスを構築します。リモートファイルプロトコル固有の実装は、他のアプローチのためにこのメソッドをオーバーライドする場合があります。
      オーバーライド:
      クラス AbstractRemoteFileOutboundGateway<org.codelibs.jcifs.smb.impl.SmbFile>getFullFileName 
      パラメーター:
      remoteDirectory - リモートファイルが属するディレクトリ。
      smbFile - リモートファイルに名前を付け、指定された リモートディレクトリに従ってパスを調整します。
      戻り値:
      リモートファイルのフルパス