Top Description Interfaces Classes Enums
module de.siegmar.fastcsv

Package de.siegmar.fastcsv.reader


FastCSV reader.

Obtain reader via de.siegmar.fastcsv.reader.CsvReader#builder().

Interface Summary

Modifier and TypeInterface and Description
public interface
CloseableIterator<
the type of elements returned by this iterator
E
>

Iterator that supports closing underlying resources.

pack-priv interface
public interface
FieldModifier

Implementations of this class are used within CsvCallbackHandler implementations to modify the fields of a CSV record before storing them in the resulting object.

public interface
StatusListener

Custom status listeners have to implement this interface.

Class Summary

Modifier and TypeClass and Description
public abstract class
AbstractBaseCsvCallbackHandler<
the type of the record
T
>

Base class for CsvCallbackHandler implementations that handles their own field storage and record building.

public abstract class
AbstractInternalCsvCallbackHandler<
the type of the resulting records
T
>

Abstract base class for CsvCallbackHandler implementations.

pack-priv class
pack-priv class
BomInputStreamReader

InputStreamReader that is capable of detecting and handling BOM headers.

pack-priv class
pack-priv class
public class
CollectingStatusListener

Implementation of StatusListener that collects updates.

public abstract class
CsvCallbackHandler<
the type of the record that is built from the CSV data
T
>

This class defines the methods that are called during the CSV reading process.

public class
CsvParseException

Exception to be thrown when malformed csv data is read.

public class
CsvReader<
the type of the CSV record.
T
>

This is the main class for reading CSV data.

public class
CsvRecord

Represents an immutable CSV record with unnamed (indexed) fields.

public class
CsvRecordHandler

A CsvCallbackHandler implementation that returns a CsvRecord for each record.

pack-priv class
public class
IndexedCsvReader<
the type of the CSV record.
T
>

CSV reader implementation for indexed based access.

public class
NamedCsvRecord

Represents an immutable CSV record with named (and indexed) fields.

public class
NamedCsvRecordHandler

A callback handler that returns a NamedCsvRecord for each record.

pack-priv class
pack-priv class
RelaxedCsvParser

Less strict but also less performant CSV parser.

pack-priv class
public class
StringArrayHandler

A CsvCallbackHandler implementation that returns the fields of each record as an array of Strings.

Enum Summary

Modifier and TypeEnum and Description
pack-priv enum
public enum
CommentStrategy

This is an enumeration that defines the strategies for handling comments in CSV data that does not conform to RFC.

public enum
FieldModifiers

Provides some common FieldModifier implementations.

public enum
RecordType

Represents the type of record in a CSV file.