クラス 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 StringSEgetFilename(org.apache.sshd.sftp.client.SftpClient.DirEntry file) protected longgetModified(org.apache.sshd.sftp.client.SftpClient.DirEntry file) protected booleanisFile(org.apache.sshd.sftp.client.SftpClient.DirEntry file) protected StringSEprotocol()このシンクロナイザーが動作するプロトコルを返します。クラス 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 - 戻り値:
- このシンクロナイザが使用するプロトコル。