クラス FileSplitterSpec
java.lang.ObjectSE
org.springframework.integration.dsl.IntegrationComponentSpec<FileSplitterSpec, FileSplitter>
org.springframework.integration.dsl.MessageHandlerSpec<FileSplitterSpec, FileSplitter>
org.springframework.integration.file.dsl.FileSplitterSpec
- 実装されているすべてのインターフェース:
DisposableBean、FactoryBean<FileSplitter>、InitializingBean、Lifecycle、Phased、SmartLifecycle
- 導入:
- 5.0
- 作成者:
- Artem Bilan
- 関連事項:
フィールドのサマリー
クラス org.springframework.integration.dsl.IntegrationComponentSpec から継承されたフィールド
logger, PARSER, targetインターフェース org.springframework.beans.factory.FactoryBean から継承されたフィールド
OBJECT_TYPE_ATTRIBUTEインターフェース org.springframework.context.SmartLifecycle から継承されたフィールド
DEFAULT_PHASEコンストラクターの概要
コンストラクター修飾子コンストラクター説明protectedprotectedFileSplitterSpec(boolean iterator) protectedFileSplitterSpec(boolean iterator, boolean markers) メソッドのサマリー
修飾子と型メソッド説明applySequence(boolean applySequence) ファイルの行に基づいてメッセージにsequenceDetailsを適用する必要があるかどうかを示すbooleanフラグ。デフォルトの文字セット以外のものが必要な場合に、ファイルを読み取るときに使用する文字セットを設定します。デフォルトの文字セット以外のものが必要な場合に、ファイルを読み取るときに使用する文字セットを設定します。protected FileSplitterdoGet()firstLineAsHeader(StringSE firstLineHeaderName) 残りの行に対して発行されるメッセージのヘッダーとして伝送される最初の行のヘッダー名を指定します。markers()markers(boolean asJson) FileSplitterがFileSplitter.FileMarkerを発行するかどうか、および JSON 文字列表現に変換するかどうかを指定します。クラス org.springframework.integration.dsl.IntegrationComponentSpec から継承されたメソッド
_this, afterPropertiesSet, destroy, getId, getObject, getObjectType, getPhase, id, isAutoStartup, isRunning, start, stop, stopクラス java.lang.ObjectSE から継承されたメソッド
clone, equalsSE, finalize, getClass, hashCode, notify, notifyAll, toString, wait, waitSE, waitSEインターフェース org.springframework.beans.factory.FactoryBean から継承されたメソッド
isSingletonインターフェース org.springframework.context.SmartLifecycle から継承されたメソッド
isPauseable
コンストラクターの詳細
FileSplitterSpec
protected FileSplitterSpec()FileSplitterSpec
protected FileSplitterSpec(boolean iterator) FileSplitterSpec
protected FileSplitterSpec(boolean iterator, boolean markers)
メソッドの詳細
charset
デフォルトの文字セット以外のものが必要な場合に、ファイルを読み取るときに使用する文字セットを設定します。- パラメーター:
charset- 文字セット。- 戻り値:
- FileSplitterSpec
charset
デフォルトの文字セット以外のものが必要な場合に、ファイルを読み取るときに使用する文字セットを設定します。- パラメーター:
charset- 文字セット。- 戻り値:
- FileSplitterSpec
markers
- 戻り値:
- FileSplitterSpec
markers
FileSplitterがFileSplitter.FileMarkerを発行するかどうか、および JSON 文字列表現に変換するかどうかを指定します。マーカーの場合はデフォルトがfalse、markersJson の場合はfalseです。- パラメーター:
asJson- 使用する asJson フラグ。- 戻り値:
- FileSplitterSpec
applySequence
ファイルの行に基づいてメッセージにsequenceDetailsを適用する必要があるかどうかを示すbooleanフラグ。デフォルトはfalseです。- パラメーター:
applySequence- 使用する applySequence フラグ。- 戻り値:
- FileSplitterSpec
- 関連事項:
firstLineAsHeader
残りの行に対して発行されるメッセージのヘッダーとして伝送される最初の行のヘッダー名を指定します。- パラメーター:
firstLineHeaderName- 最初の行を運ぶヘッダー名。- 戻り値:
- FileSplitterSpec
doGet
- オーバーライド:
- クラス
IntegrationComponentSpec<FileSplitterSpec, FileSplitter>のdoGet