From 61cccd70f4a39dfbdb66ba714fa235bb6db0d52b Mon Sep 17 00:00:00 2001 From: dhgarrette Date: Tue, 14 Apr 2009 14:55:35 +0000 Subject: [PATCH] Updated FlatFileItemReader properties --- .../docbook/reference/readersAndWriters.xml | 60 ++++++++++++------- 1 file changed, 38 insertions(+), 22 deletions(-) diff --git a/src/site/docbook/reference/readersAndWriters.xml b/src/site/docbook/reference/readersAndWriters.xml index e19424bc6..0f5f3b738 100644 --- a/src/site/docbook/reference/readersAndWriters.xml +++ b/src/site/docbook/reference/readersAndWriters.xml @@ -487,7 +487,7 @@ The other properties in FlatFileItemReader allow you to further specify how your data will be interpreted: - Flat File Item Reader Properties + FlatFileItemReader Properties @@ -503,6 +503,15 @@ + + comments + + String[] + + Specifies line prefixes that indicate + comment rows + + encoding @@ -513,12 +522,13 @@ - comments + lineMapper - String[] + LineMapper - Specifies line prefixes that indicate - comment rows + Converts a String + to an Object representing the + item. @@ -531,7 +541,25 @@ - skippedLinesCallbackHandler + recordSeparatorPolicy + + RecordSeparatorPolicy + + Used to determine where the line endings + are and do things like continue over a line ending if inside a + quoted string. + + + + resource + + Resource + + The resource from which to read. + + + + skippedLinesCallback LineCallbackHandler @@ -541,25 +569,13 @@ - firstLineIsHeader + strict boolean - Indicates that the first line of the file - is a header containing field names. If the column names have - not been set yet and the tokenizer extends - AbstractLineTokenizer, field names will be set automatically - from this line - - - - recordSeparatorPolicy - - RecordSeparatorPolicy - - Used to determine where the line endings - are and do things like continue over a line ending if inside a - quoted string. + In strict mode, the reader will throw an + exception on ExecutionContext if the input resource does not + exist.