クラス FtpStreamingMessageSource
java.lang.ObjectSE
org.springframework.integration.util.AbstractExpressionEvaluator
org.springframework.integration.endpoint.AbstractMessageSource<InputStreamSE>
org.springframework.integration.endpoint.AbstractFetchLimitingMessageSource<InputStreamSE>
org.springframework.integration.file.remote.AbstractRemoteFileStreamingMessageSource<org.apache.commons.net.ftp.FTPFile>
org.springframework.integration.ftp.inbound.FtpStreamingMessageSource
- 実装されているすべてのインターフェース:
Aware
、BeanFactoryAware
、BeanNameAware
、DisposableBean
、InitializingBean
、Lifecycle
、MessageSource<InputStreamSE>
、IntegrationPattern
、NamedComponent
、IntegrationInboundManagement
、IntegrationManagement
、ManageableLifecycle
、MessageSourceManagement
public class FtpStreamingMessageSource
extends AbstractRemoteFileStreamingMessageSource<org.apache.commons.net.ftp.FTPFile>
FTP リモートファイルの内容をストリーミングするためのメッセージソース。
- 導入:
- 4.3
- 作成者:
- Gary Russell, Artem Bilan
ネストされたクラスの要約
インターフェース org.springframework.integration.support.management.IntegrationManagement から継承されたネストクラス / インターフェース
IntegrationManagement.ManagementOverrides
フィールドのサマリー
クラス org.springframework.integration.util.AbstractExpressionEvaluator から継承されたフィールド
EXPRESSION_PARSER, logger
インターフェース org.springframework.integration.support.management.IntegrationManagement から継承されたフィールド
METER_PREFIX, RECEIVE_COUNTER_NAME, SEND_TIMER_NAME
コンストラクターの概要
コンストラクターコンストラクター説明FtpStreamingMessageSource
(RemoteFileTemplate<org.apache.commons.net.ftp.FTPFile> template) 提供されたテンプレートを使用してインスタンスを構築します。FtpStreamingMessageSource
(RemoteFileTemplate<org.apache.commons.net.ftp.FTPFile> template, ComparatorSE<org.apache.commons.net.ftp.FTPFile> comparator) 提供されたテンプレートとコンパレータを使用してインスタンスを構築します。メソッドのサマリー
修飾子と型メソッド説明protected ListSE
<AbstractFileInfo<org.apache.commons.net.ftp.FTPFile>> asFileInfoList
(CollectionSE<org.apache.commons.net.ftp.FTPFile> files) protected boolean
isDirectory
(org.apache.commons.net.ftp.FTPFile file) クラス org.springframework.integration.file.remote.AbstractRemoteFileStreamingMessageSource から継承されたメソッド
clearFetchedCache, doInit, doReceive, doSetFilter, getRemoteFileTemplate, isRunning, onInit, poll, remotePath, rollbackFromFileToListEnd, setFileInfoJson, setFilter, setRemoteDirectory, setRemoteDirectoryExpression, setRemoteFileSeparator, setStrictOrder, start, stop
クラス org.springframework.integration.endpoint.AbstractFetchLimitingMessageSource から継承されたメソッド
doReceive, getMaxFetchSize, setMaxFetchSize
クラス org.springframework.integration.endpoint.AbstractMessageSource から継承されたメソッド
buildMessage, destroy, getBeanName, getComponentName, getManagedName, getManagedType, getOverrides, isLoggingEnabled, receive, registerMetricsCaptor, setBeanName, setHeaderExpressions, setLoggingEnabled, setManagedName, setManagedType
クラス org.springframework.integration.util.AbstractExpressionEvaluator から継承されたメソッド
afterPropertiesSet, evaluateExpression, evaluateExpression, evaluateExpression, evaluateExpression, evaluateExpression, evaluateExpression, evaluateExpression, getBeanFactory, getEvaluationContext, getEvaluationContext, getMessageBuilderFactory, setBeanFactory, setConversionService, setSimpleEvaluationContext
クラス java.lang.ObjectSE から継承されたメソッド
clone, equalsSE, finalize, getClass, hashCode, notify, notifyAll, toString, wait, waitSE, waitSE
インターフェース org.springframework.integration.support.management.IntegrationManagement から継承されたメソッド
getThisAs, isObserved, registerObservationRegistry
インターフェース org.springframework.integration.core.MessageSource から継承されたメソッド
getIntegrationPatternType
コンストラクターの詳細
FtpStreamingMessageSource
提供されたテンプレートを使用してインスタンスを構築します。- パラメーター:
template
- テンプレート。
FtpStreamingMessageSource
public FtpStreamingMessageSource(RemoteFileTemplate<org.apache.commons.net.ftp.FTPFile> template, ComparatorSE<org.apache.commons.net.ftp.FTPFile> comparator) 提供されたテンプレートとコンパレータを使用してインスタンスを構築します。注: コンパレーターは、リモートディレクトリがリストされるたびに適用されます。これは、前のリストが使い果たされた場合にのみ発生します。- パラメーター:
template
- テンプレート。comparator
- コンパレータ。
メソッドの詳細
getComponentType
asFileInfoList
protected ListSE<AbstractFileInfo<org.apache.commons.net.ftp.FTPFile>> asFileInfoList(CollectionSE<org.apache.commons.net.ftp.FTPFile> files) - 次で指定:
- クラス
AbstractRemoteFileStreamingMessageSource<org.apache.commons.net.ftp.FTPFile>
のasFileInfoList
isDirectory
protected boolean isDirectory(org.apache.commons.net.ftp.FTPFile file) - 次で指定:
- クラス
AbstractRemoteFileStreamingMessageSource<org.apache.commons.net.ftp.FTPFile>
のisDirectory