クラスの使用
org.springframework.integration.file.dsl.FileInboundChannelAdapterSpec
FileInboundChannelAdapterSpec を使用するパッケージ
パッケージ
説明
Spring Integration Java DSL のファイルコンポーネントサポートを提供します。
org.springframework.integration.file.dsl 内の FileInboundChannelAdapterSpec 使用
修飾子と型メソッド説明FileInboundChannelAdapterSpec.autoCreateDirectory(boolean autoCreateDirectory) 初期化時にソースディレクトリがまだ存在しない場合に、ソースディレクトリを自動的に作成するかどうかを指定します。FileInboundChannelAdapterSpec.filter(FileListFilter<FileSE> filter) フィルターを設定します。FileInboundChannelAdapterSpec.filterExpression(StringSE expression) ExpressionFileListFilterを構成します。FileInboundChannelAdapterSpec.filterFunction(FunctionSE<FileSE, BooleanSE> filterFunction) ExpressionFileListFilterを構成します。FileInboundChannelAdapterSpec.ignoreHidden(boolean ignoreHidden) ignoreHidden == trueの場合は、IgnoreHiddenFileListFilterを構成します。Files.inboundAdapter(FileSE directory) FileReadingMessageSourceのFileInboundChannelAdapterSpecビルダーを作成します。Files.inboundAdapter(FileSE directory, @Nullable ComparatorSE<FileSE> receptionOrderComparator) FileReadingMessageSourceのFileInboundChannelAdapterSpecビルダーを作成します。Files.inboundAdapter(SupplierSE<FileSE> directorySupplier) FileReadingMessageSourceのFileInboundChannelAdapterSpecビルダーを作成します。Files.inboundAdapter(SupplierSE<FileSE> directorySupplier, @Nullable ComparatorSE<FileSE> receptionOrderComparator) FileReadingMessageSourceのFileInboundChannelAdapterSpecビルダーを作成します。FileInboundChannelAdapterSpec.locker(FileLocker locker) 重複処理からファイルを保護するために使用するFileLockerを設定します。FileInboundChannelAdapterSpec.nioLocker()NioFileLockerを構成します。FileInboundChannelAdapterSpec.patternFilter(StringSE pattern) SimplePatternFileListFilterを構成します。FileInboundChannelAdapterSpec.preventDuplicates(boolean preventDuplicates) preventDuplicates == trueの場合はAcceptOnceFileListFilterを構成し、そうでない場合は -AcceptAllFileListFilterを構成します。FileInboundChannelAdapterSpec.recursive(boolean recursive) ターゲットメッセージソースがRecursiveDirectoryScannerを使用するか、デフォルトのもののままにするかを決定するのに便利なフラグです。FileInboundChannelAdapterSpec.regexFilter(StringSE regex) RegexPatternFileListFilterを構成します。FileInboundChannelAdapterSpec.scanEachPoll(boolean scanEachPoll) 内部キューが各ポーリングで入力ディレクトリの最新のコンテンツでリフレッシュされるようにする場合は、このフラグを設定します。FileInboundChannelAdapterSpec.scanner(DirectoryScanner scanner) カスタムスキャナーを指定します。FileInboundChannelAdapterSpec.useWatchService(boolean useWatchService) このFileReadingMessageSourceを切り替えて、内部WatchServiceSE ディレクトリスキャナーを使用します。FileInboundChannelAdapterSpec.watchDirPredicate(PredicateSE<PathSE> watchDirPredicate) PredicateSE を設定して、WatchServiceSE の対象となるかどうかを確認します。FileInboundChannelAdapterSpec.watchEvents(FileReadingMessageSource.WatchEventType... watchEvents) WatchServiceSE イベント型。FileInboundChannelAdapterSpec.watchMaxDepth(int watchMaxDepth) ファイルウォーク API の深さを設定します。