Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migration of unmigrated content due to installation of a new plugin

...

BeanIO is configured using a mappings XML file where you define the mapping from the flat format to Objects (POJOs). This mapping file is mandatory to use.

Options

Div
classconfluenceTableSmall

Option

Default

Description

mapping

 

The BeanIO mapping file. The option is mandatory. Is by default loaded from the classpath. You can prefix with file:, http:, or classpath: to denote from where to load the mapping file.

streamName

 

The name of the stream to use. This option is mandatory.

ignoreUnidentifiedRecords

false

Whether to ignore unidentified records.

ignoreUnexpectedRecords

false

Whether to ignore unexpected records.

ignoreInvalidRecords

false

Whether to ignore invalid records.

encoding

Platform default

The charset to use.

Wiki Markup
{div:class=confluenceTableSmall} || Option || Default || Description || | mapping | | The BeanIO mapping file. The option is mandatory. Is by default loaded from the classpath. You can prefix with {{file:}}, {{http:}}, or {{classpath:}} to denote from where to load the mapping file. | | streamName | | The name of the stream to use. This option is mandatory. | | ignoreUnidentifiedRecords | {{false}} | Whether to ignore unidentified records. | | ignoreUnexpectedRecords | {{false}} | Whether to ignore unexpected records. | | ignoreInvalidRecords | {{false}} | Whether to ignore invalid records. | | encoding | Platform default | The charset to use. | {div}

Usage

An example of a mapping file is here.

...