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 aBeanReaderorUnmarshaller.Unmarshaller Interface for unmarshalling single records. -
Class Summary Class Description BeanReaderErrorHandlerSupport Provides support forBeanReaderErrorHandlerimplementations.StreamFactory AStreamFactoryis used to load BeanIO mapping files and createBeanReader,BeanWriter,UnmarshallerandMarshallerinstances. -
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 aBeanReaderorUnmarshaller.BeanReaderIOException Exception thrown when aBeanReader's underlying input stream throws anIOException.BeanWriterException Exception thrown by aBeanWriterorMarshaller.BeanWriterIOException Exception thrown when aBeanWriter's underlying output stream throws anIOException.InvalidBeanException Exception thrown by aBeanWriterorMarshaller, 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 aBeanReaderis 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 aBeanReadercould not be determined.