Variable flat file writer

The flat file writer exports the information located in a Collection into a flat file. The exported flat file has a similar structure to the flat file supported at import time: linear structure, one line for each Object or Element and attributes separated by specific characters. The XSD file is used here to write fields in the right order and make sure that they comply with the rules.

The Java class called FlatFileWriter must be declared in the interplayPublicContext.xml file as follows:

<bean id="flatFileWriter"

lazy-init="true"

scope="prototype"

class="com.axway.interplay.core.externaldata.exportdata.writers.FlatFileWriter">

<property name="writerType" value="VariableFlatFile" />

</bean>

The writer configuration must be set on the Collection Type.

Related Links