Package org.springframework.batch.item.file

Infrastructure implementations of io file concerns.

See:
          Description

Interface Summary
FlatFileFooterCallback Callback interface for writing a footer to a file.
FlatFileHeaderCallback Callback interface for writing to a header to a file.
LineCallbackHandler Callback interface for handling a line from file.
LineMapper<T> Interface for mapping lines (strings) to domain objects typically used to map lines read from a file to domain objects on a per line basis.
ResourceAwareItemReaderItemStream<T> Interface for ItemReaders that implement ItemStream and read input from Resource.
ResourceAwareItemWriterItemStream<T> Interface for ItemWriters that implement ItemStream and write output to Resource.
ResourceSuffixCreator Strategy interface for translating resource index into unique filename suffix.
 

Class Summary
FlatFileItemReader<T> Restartable ItemReader that reads lines from input FlatFileItemReader.setResource(Resource).
FlatFileItemWriter<T> This class is an item writer that writes data to a file or stream.
MultiResourceItemReader<T> Reads items from multiple resources sequentially - resource list is given by MultiResourceItemReader.setResources(Resource[]), the actual reading is delegated to MultiResourceItemReader.setDelegate(ResourceAwareItemReaderItemStream).
MultiResourceItemWriter<T> Wraps a ResourceAwareItemWriterItemStream and creates a new output resource when the count of items written in current resource exceeds MultiResourceItemWriter.setItemCountLimitPerResource(int).
SimpleResourceSuffixCreator Trivial implementation of ResourceSuffixCreator that uses the index itself as suffix, separated by dot.
 

Exception Summary
FlatFileParseException Exception thrown when errors are encountered parsing flat files.
 

Package org.springframework.batch.item.file Description

Infrastructure implementations of io file concerns.



Copyright © 2009 SpringSource. All Rights Reserved.