Package org.beanio
Core BeanIO API.
-
Interface Summary Interface Description BeanReader Interface for unmarshalling bean objects from an input stream.BeanReaderErrorHandler A callback interface for handling exceptions thrown by aBeanReader
.BeanWriter Interface for marshalling bean objects to an output stream.Marshaller Interface for marshalling bean objects.RecordContext Provides information about a record parsed by aBeanReader
orUnmarshaller
.Unmarshaller Interface for unmarshalling single records. -
Class Summary Class Description BeanReaderErrorHandlerSupport Provides support forBeanReaderErrorHandler
implementations.StreamFactory AStreamFactory
is used to load BeanIO mapping files and createBeanReader
,BeanWriter
,Unmarshaller
andMarshaller
instances. -
Exception Summary Exception Description BeanIOConfigurationException Exception thrown when an invalid BeanIO configuration file is loaded.BeanIOException Base class for all exceptions thrown by the BeanIO framework.BeanReaderException Exception thrown by aBeanReader
orUnmarshaller
.BeanReaderIOException Exception thrown when aBeanReader
's underlying input stream throws anIOException
.BeanWriterException Exception thrown by aBeanWriter
orMarshaller
.BeanWriterIOException Exception thrown when aBeanWriter
's underlying output stream throws anIOException
.InvalidBeanException Exception thrown by aBeanWriter
orMarshaller
, when a bean cannot be marshalled to meet the configured field validation rules.InvalidRecordException Exception thrown when a record or one of its fields does not pass validation during unmarshalling.InvalidRecordGroupException Exception thrown when one or more records fail validation while unmarshalling a record group.MalformedRecordException Exception thrown when a record does not adhere to the expected syntax of the stream format.UnexpectedRecordException Exception thrown when the record type of last record read by aBeanReader
is out of order based on the expected order defined by the stream's mapping file.UnidentifiedRecordException Exception thrown when the record type of the last record read from aBeanReader
could not be determined.