public class NormalizedFilesInDirectoryCasConsumer
extends CasConsumer_ImplBase
For each CAS a local file with the document text is written to a directory specifed by a parameter.
This CAS consumer does not make use of any annotation information in the cas except for the document
id specified the CommonTypeSystem.xml descriptor. The document id will be the name of the file written
for each CAS.
This CAS consumer may be useful if you want to write the results of a collection reader and/or CAS
initializer to the local file system. For example, a JDBC Collection Reader may read XML documents
from a database and a specialized cas initializer may convert the XML to plain text. The
FilesInDirectoryCasConsumer can now be used to write the plain text to local plain text files.