クラス SftpInboundFileSynchronizer
java.lang.ObjectSE
org.springframework.integration.file.remote.synchronizer.AbstractInboundFileSynchronizer<org.apache.sshd.sftp.client.SftpClient.DirEntry>
org.springframework.integration.sftp.inbound.SftpInboundFileSynchronizer
- 実装されたすべてのインターフェース:
CloseableSE
、AutoCloseableSE
、Aware
、BeanFactoryAware
、BeanNameAware
、InitializingBean
、InboundFileSynchronizer
public class SftpInboundFileSynchronizer
extends AbstractInboundFileSynchronizer<org.apache.sshd.sftp.client.SftpClient.DirEntry>
リモート SFTP ディレクトリとローカルマウント間の同期を処理します。
- 導入:
- 2.0
- 作成者:
- Josh Long, Oleg Zhurakousky, Mark Fisher, Artem Bilan
フィールドのサマリー
クラス org.springframework.integration.file.remote.synchronizer.AbstractInboundFileSynchronizer から継承されたフィールド
EXPRESSION_PARSER, logger
コンストラクターの概要
コンストラクターコンストラクター説明SftpInboundFileSynchronizer
(SessionFactory<org.apache.sshd.sftp.client.SftpClient.DirEntry> sessionFactory) Session
インスタンスの取得に使用されるSessionFactory
を使用してシンクロナイザーを作成します。メソッドのサマリー
修飾子と型メソッド説明protected StringSE
getFilename
(org.apache.sshd.sftp.client.SftpClient.DirEntry file) protected long
getModified
(org.apache.sshd.sftp.client.SftpClient.DirEntry file) protected boolean
isFile
(org.apache.sshd.sftp.client.SftpClient.DirEntry file) protected StringSE
protocol()
このシンクロナイザーが動作するプロトコルを返します。クラス org.springframework.integration.file.remote.synchronizer.AbstractInboundFileSynchronizer から継承されたメソッド
afterPropertiesSet, close, copyFileToLocalDirectory, doInit, doSetFilter, doSetRemoteDirectoryExpression, filterFiles, getComparator, getRemoteFileMetadata, getTemporaryFileSuffix, removeRemoteFileMetadata, rollbackFromFileToListEnd, setBeanFactory, setBeanName, setComparator, setDeleteRemoteFiles, setFilter, setLocalFilenameGeneratorExpression, setLocalFilenameGeneratorExpressionString, setMetadataStorePrefix, setPreserveTimestamp, setRemoteDirectory, setRemoteDirectoryExpression, setRemoteDirectoryExpressionString, setRemoteFileMetadataStore, setRemoteFileSeparator, setTemporaryFileSuffix, synchronizeToLocalDirectory, synchronizeToLocalDirectory
コンストラクターの詳細
SftpInboundFileSynchronizer
public SftpInboundFileSynchronizer(SessionFactory<org.apache.sshd.sftp.client.SftpClient.DirEntry> sessionFactory) Session
インスタンスの取得に使用されるSessionFactory
を使用してシンクロナイザーを作成します。- パラメーター:
sessionFactory
- セッションファクトリ。
メソッドの詳細
isFile
protected boolean isFile(org.apache.sshd.sftp.client.SftpClient.DirEntry file) - 次で指定:
- クラス
AbstractInboundFileSynchronizer<org.apache.sshd.sftp.client.SftpClient.DirEntry>
のisFile
getFilename
- 次で指定:
- クラス
AbstractInboundFileSynchronizer<org.apache.sshd.sftp.client.SftpClient.DirEntry>
のgetFilename
getModified
protected long getModified(org.apache.sshd.sftp.client.SftpClient.DirEntry file) - 次で指定:
- クラス
AbstractInboundFileSynchronizer<org.apache.sshd.sftp.client.SftpClient.DirEntry>
のgetModified
protocol
クラスからコピーされた説明:AbstractInboundFileSynchronizer
このシンクロナイザーが動作するプロトコルを返します。- 次で指定:
- クラス
AbstractInboundFileSynchronizer<org.apache.sshd.sftp.client.SftpClient.DirEntry>
のprotocol
- 戻り値:
- このシンクロナイザが使用するプロトコル。