Index
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form
A
- AbstractBaseCsvCallbackHandler<T> - Class in de.siegmar.fastcsv.reader
-
Base class for
CsvCallbackHandlerimplementations that handles their own field storage and record building. - AbstractBaseCsvCallbackHandler() - Constructor for class de.siegmar.fastcsv.reader.AbstractBaseCsvCallbackHandler
-
Constructs a new instance.
- AbstractInternalCsvCallbackHandler<T> - Class in de.siegmar.fastcsv.reader
-
Abstract base class for
CsvCallbackHandlerimplementations. - AbstractInternalCsvCallbackHandler(int, int, int, FieldModifier) - Constructor for class de.siegmar.fastcsv.reader.AbstractInternalCsvCallbackHandler
-
Constructs a new instance with the given configuration.
- AbstractInternalCsvCallbackHandler.AbstractInternalCsvCallbackHandlerBuilder<T> - Class in de.siegmar.fastcsv.reader
-
Abstract builder for
AbstractInternalCsvCallbackHandlersubclasses. - AbstractInternalCsvCallbackHandlerBuilder() - Constructor for class de.siegmar.fastcsv.reader.AbstractInternalCsvCallbackHandler.AbstractInternalCsvCallbackHandlerBuilder
-
Constructs a new default instance.
- addField(char[], int, int, boolean) - Method in class de.siegmar.fastcsv.reader.AbstractBaseCsvCallbackHandler
-
Called for each field in the record.
- addField(char[], int, int, boolean) - Method in class de.siegmar.fastcsv.reader.AbstractInternalCsvCallbackHandler
-
Called for each field in the record.
- addField(char[], int, int, boolean) - Method in class de.siegmar.fastcsv.reader.CsvCallbackHandler
-
Called for each field in the record.
- allowDuplicateHeaderFields(boolean) - Method in class de.siegmar.fastcsv.reader.NamedCsvRecordHandler.NamedCsvRecordHandlerBuilder
-
Sets whether duplicate header fields are allowed.
- allowExtraCharsAfterClosingQuote(boolean) - Method in class de.siegmar.fastcsv.reader.CsvReader.CsvReaderBuilder
-
Specifies whether the presence of characters between a closing quote and a field separator or the end of a line should be treated as an error or not.
- allowExtraCharsAfterClosingQuote(boolean) - Method in class de.siegmar.fastcsv.reader.IndexedCsvReader.IndexedCsvReaderBuilder
-
Specifies whether the presence of characters between a closing quote and a field separator or the end of a line should be treated as an error or not.
- allowExtraFields(boolean) - Method in class de.siegmar.fastcsv.reader.CsvReader.CsvReaderBuilder
-
Defines whether a
CsvParseExceptionshould be thrown if records contain more fields than the first record. - allowMissingFields(boolean) - Method in class de.siegmar.fastcsv.reader.CsvReader.CsvReaderBuilder
-
Defines whether a
CsvParseExceptionshould be thrown if records contain fewer fields than the first record. - ALWAYS - Enum constant in enum class de.siegmar.fastcsv.writer.QuoteStrategies
-
Enclose any field with quotes regardless of its content (even empty and
nullfields). - andThen(FieldModifier) - Method in interface de.siegmar.fastcsv.reader.FieldModifier
-
Chains multiple modifiers.
- autoFlush(boolean) - Method in class de.siegmar.fastcsv.writer.CsvWriter.CsvWriterBuilder
-
Configures whether data should be flushed after each record write operation.
B
- beginRecord(long) - Method in class de.siegmar.fastcsv.reader.AbstractBaseCsvCallbackHandler
-
Called at the beginning of each record.
- beginRecord(long) - Method in class de.siegmar.fastcsv.reader.AbstractInternalCsvCallbackHandler
-
Called at the beginning of each record.
- beginRecord(long) - Method in class de.siegmar.fastcsv.reader.CsvCallbackHandler
-
Called at the beginning of each record.
- bomHeaderLength() - Method in record class de.siegmar.fastcsv.reader.CsvIndex
-
Returns the value of the
bomHeaderLengthrecord component. - bufferSize(int) - Method in class de.siegmar.fastcsv.writer.CsvWriter.CsvWriterBuilder
-
Configures the size of the internal buffer.
- build() - Method in class de.siegmar.fastcsv.reader.CsvRecordHandler.CsvRecordHandlerBuilder
-
Builds the
CsvRecordHandlerinstance. - build() - Method in class de.siegmar.fastcsv.reader.NamedCsvRecordHandler.NamedCsvRecordHandlerBuilder
-
Builds the
NamedCsvRecordHandlerinstance. - build() - Method in class de.siegmar.fastcsv.reader.StringArrayHandler.StringArrayHandlerBuilder
-
Builds the
StringArrayHandlerinstance. - build(CsvCallbackHandler, InputStream) - Method in class de.siegmar.fastcsv.reader.CsvReader.CsvReaderBuilder
-
Constructs a new callback-based
CsvReaderfor the specified input stream. - build(CsvCallbackHandler, InputStream, Charset) - Method in class de.siegmar.fastcsv.reader.CsvReader.CsvReaderBuilder
-
Constructs a new callback-based
CsvReaderfor the specified input stream and character set. - build(CsvCallbackHandler, Reader) - Method in class de.siegmar.fastcsv.reader.CsvReader.CsvReaderBuilder
-
Constructs a new callback-based
CsvReaderfor the specified reader. - build(CsvCallbackHandler, String) - Method in class de.siegmar.fastcsv.reader.CsvReader.CsvReaderBuilder
-
Constructs a new callback-based
CsvReaderfor the specified String. - build(CsvCallbackHandler, Path) - Method in class de.siegmar.fastcsv.reader.CsvReader.CsvReaderBuilder
-
Constructs a new callback-based
CsvReaderfor the specified file. - build(CsvCallbackHandler, Path) - Method in class de.siegmar.fastcsv.reader.IndexedCsvReader.IndexedCsvReaderBuilder
-
Constructs a new
IndexedCsvReaderfor the specified callback handler and path using UTF-8 as the character set. - build(CsvCallbackHandler, Path, Charset) - Method in class de.siegmar.fastcsv.reader.CsvReader.CsvReaderBuilder
-
Constructs a new callback-based
CsvReaderfor the specified file and character set. - build(CsvCallbackHandler, Path, Charset) - Method in class de.siegmar.fastcsv.reader.IndexedCsvReader.IndexedCsvReaderBuilder
-
Constructs a new
IndexedCsvReaderfor the specified arguments. - build(OutputStream) - Method in class de.siegmar.fastcsv.writer.CsvWriter.CsvWriterBuilder
-
Constructs a
CsvWriterfor the specified OutputStream. - build(OutputStream, Charset) - Method in class de.siegmar.fastcsv.writer.CsvWriter.CsvWriterBuilder
-
Constructs a
CsvWriterfor the specified OutputStream and character set. - build(Writer) - Method in class de.siegmar.fastcsv.writer.CsvWriter.CsvWriterBuilder
-
Constructs a
CsvWriterfor the specified Writer. - build(Path, Charset, OpenOption...) - Method in class de.siegmar.fastcsv.writer.CsvWriter.CsvWriterBuilder
-
Constructs a
CsvWriterfor the specified Path. - build(Path, OpenOption...) - Method in class de.siegmar.fastcsv.writer.CsvWriter.CsvWriterBuilder
-
Constructs a
CsvWriterfor the specified Path. - builder() - Static method in class de.siegmar.fastcsv.reader.CsvReader
-
Constructs a
CsvReader.CsvReaderBuilderto configure and build instances of this class. - builder() - Static method in class de.siegmar.fastcsv.reader.CsvRecordHandler
-
Constructs a new builder instance for this class.
- builder() - Static method in class de.siegmar.fastcsv.reader.IndexedCsvReader
-
Constructs a
IndexedCsvReader.IndexedCsvReaderBuilderto configure and build instances of this class. - builder() - Static method in class de.siegmar.fastcsv.reader.NamedCsvRecordHandler
-
Constructs a new builder instance for this class.
- builder() - Static method in class de.siegmar.fastcsv.reader.StringArrayHandler
-
Constructs a new builder instance for this class.
- builder() - Static method in class de.siegmar.fastcsv.writer.CsvWriter
-
Creates a
CsvWriter.CsvWriterBuilderinstance used to configure and create instances of this class. - buildRecord() - Method in class de.siegmar.fastcsv.reader.CsvCallbackHandler
-
Called at the end of each CSV record to build the actual record representation.
- buildRecord() - Method in class de.siegmar.fastcsv.reader.CsvRecordHandler
- buildRecord() - Method in class de.siegmar.fastcsv.reader.NamedCsvRecordHandler
- buildRecord() - Method in class de.siegmar.fastcsv.reader.StringArrayHandler
C
- checkArgument(boolean, String) - Static method in class de.siegmar.fastcsv.util.Preconditions
-
Checks the given argument and throws an exception if not met.
- checkArgument(boolean, Supplier) - Static method in class de.siegmar.fastcsv.util.Preconditions
-
Checks the given argument and throws an exception if not met.
- close() - Method in class de.siegmar.fastcsv.reader.CsvReader
- close() - Method in class de.siegmar.fastcsv.reader.IndexedCsvReader
- close() - Method in class de.siegmar.fastcsv.writer.CsvWriter
- CloseableIterator<E> - Interface in de.siegmar.fastcsv.reader
-
Iterator that supports closing underlying resources.
- CollectingStatusListener - Class in de.siegmar.fastcsv.reader
-
Implementation of
StatusListenerthat collects updates. - CollectingStatusListener() - Constructor for class de.siegmar.fastcsv.reader.CollectingStatusListener
-
Default constructor.
- COMMENT - Enum constant in enum class de.siegmar.fastcsv.reader.RecordType
-
A record that is a comment.
- commentCharacter() - Method in record class de.siegmar.fastcsv.reader.CsvIndex
-
Returns the value of the
commentCharacterrecord component. - commentCharacter(char) - Method in class de.siegmar.fastcsv.reader.CsvReader.CsvReaderBuilder
-
Sets the
commentCharacterused to comment lines. - commentCharacter(char) - Method in class de.siegmar.fastcsv.reader.IndexedCsvReader.IndexedCsvReaderBuilder
-
Sets the
commentCharacterused to comment lines. - commentCharacter(char) - Method in class de.siegmar.fastcsv.writer.CsvWriter.CsvWriterBuilder
-
Sets the character used to prepend commented lines – default:
#(hash/number). - commentStrategy() - Method in record class de.siegmar.fastcsv.reader.CsvIndex
-
Returns the value of the
commentStrategyrecord component. - commentStrategy(CommentStrategy) - Method in class de.siegmar.fastcsv.reader.CsvReader.CsvReaderBuilder
-
Sets the strategy that defines how (and if) commented lines should be handled (default:
CommentStrategy.NONEas comments are not defined in RFC 4180). - commentStrategy(CommentStrategy) - Method in class de.siegmar.fastcsv.reader.IndexedCsvReader.IndexedCsvReaderBuilder
-
Sets the strategy that defines how (and if) commented lines should be handled (default:
CommentStrategy.NONEas comments are not defined in RFC 4180). - CommentStrategy - Enum Class in de.siegmar.fastcsv.reader
-
This is an enumeration that defines the strategies for handling comments in CSV data that does not conform to RFC.
- compactFields() - Method in class de.siegmar.fastcsv.reader.AbstractInternalCsvCallbackHandler
-
Builds a compact fields array (a copy of the internal fields array with the length of the current record).
- containsDupe(char...) - Static method in class de.siegmar.fastcsv.util.Util
-
Checks if the given array of characters contains any duplicate characters.
- containsNewline(String) - Static method in class de.siegmar.fastcsv.util.Util
-
Checks if the given string contains any newline characters.
- CR - Enum constant in enum class de.siegmar.fastcsv.writer.LineDelimiter
-
Carriage Return - (Mac classic).
- CR - Static variable in class de.siegmar.fastcsv.util.Util
-
Carriage return.
- CRLF - Enum constant in enum class de.siegmar.fastcsv.writer.LineDelimiter
-
Carriage Return and Line Feed (Windows).
- CsvCallbackHandler<T> - Class in de.siegmar.fastcsv.reader
-
This class defines the methods that are called during the CSV reading process.
- CsvCallbackHandler() - Constructor for class de.siegmar.fastcsv.reader.CsvCallbackHandler
-
Default constructor.
- CsvIndex - Record Class in de.siegmar.fastcsv.reader
-
Index built by
IndexedCsvReaderto access large CSV data files. - CsvIndex(int, long, byte, byte, CommentStrategy, byte, long, List) - Constructor for record class de.siegmar.fastcsv.reader.CsvIndex
-
Constructor for the
CsvIndexclass. - CsvIndex.CsvPage - Record Class in de.siegmar.fastcsv.reader
-
Represents a page of the CSV file.
- CsvPage(long, long) - Constructor for record class de.siegmar.fastcsv.reader.CsvIndex.CsvPage
-
Creates an instance of a
CsvPagerecord class. - CsvParseException - Exception Class in de.siegmar.fastcsv.reader
-
Exception to be thrown when malformed csv data is read.
- CsvParseException(String) - Constructor for exception class de.siegmar.fastcsv.reader.CsvParseException
-
Construct exception with a message.
- CsvParseException(String, Throwable) - Constructor for exception class de.siegmar.fastcsv.reader.CsvParseException
-
Construct exception with message and cause.
- CsvReader<T> - Class in de.siegmar.fastcsv.reader
-
This is the main class for reading CSV data.
- CsvReader.CsvReaderBuilder - Class in de.siegmar.fastcsv.reader
-
This builder is used to create configured instances of
CsvReader. - CsvRecord - Class in de.siegmar.fastcsv.reader
-
Represents an immutable CSV record with unnamed (indexed) fields.
- CsvRecordHandler - Class in de.siegmar.fastcsv.reader
-
A
CsvCallbackHandlerimplementation that returns aCsvRecordfor each record. - CsvRecordHandler.CsvRecordHandlerBuilder - Class in de.siegmar.fastcsv.reader
-
A builder for
CsvRecordHandler. - CsvWriter - Class in de.siegmar.fastcsv.writer
-
This is the main class for writing CSV data.
- CsvWriter.CsvWriterBuilder - Class in de.siegmar.fastcsv.writer
-
This builder is used to create configured instances of
CsvWriter. - CsvWriter.CsvWriterRecord - Class in de.siegmar.fastcsv.writer
-
This class is used to write a record field by field.
D
- DATA - Enum constant in enum class de.siegmar.fastcsv.reader.RecordType
-
A data record containing actual CSV data.
- de.siegmar.fastcsv - module de.siegmar.fastcsv
-
FastCSV
- de.siegmar.fastcsv.reader - package de.siegmar.fastcsv.reader
-
FastCSV reader.
- de.siegmar.fastcsv.util - package de.siegmar.fastcsv.util
-
Internal FastCSV utilities.
- de.siegmar.fastcsv.writer - package de.siegmar.fastcsv.writer
-
FastCSV writer.
- detectBomHeader(boolean) - Method in class de.siegmar.fastcsv.reader.CsvReader.CsvReaderBuilder
-
Defines if an optional BOM (Byte order mark) header should be detected.
E
- EMPTY - Enum constant in enum class de.siegmar.fastcsv.reader.RecordType
-
An empty line was encountered, without any data or comment.
- EMPTY - Enum constant in enum class de.siegmar.fastcsv.writer.QuoteStrategies
-
Enclose empty but not
nullfields to differentiate them. - endRecord() - Method in class de.siegmar.fastcsv.writer.CsvWriter.CsvWriterRecord
-
Ends the current record.
- equals(Object) - Method in record class de.siegmar.fastcsv.reader.CsvIndex.CsvPage
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class de.siegmar.fastcsv.reader.CsvIndex
-
Indicates whether some other object is "equal to" this one.
F
- fieldIdx - Variable in class de.siegmar.fastcsv.reader.AbstractInternalCsvCallbackHandler
-
The current index in the internal fields array.
- fieldModifier - Variable in class de.siegmar.fastcsv.reader.AbstractInternalCsvCallbackHandler.AbstractInternalCsvCallbackHandlerBuilder
-
The field modifier.
- fieldModifier - Variable in class de.siegmar.fastcsv.reader.AbstractInternalCsvCallbackHandler
-
The field modifier.
- fieldModifier(FieldModifier) - Method in class de.siegmar.fastcsv.reader.AbstractInternalCsvCallbackHandler.AbstractInternalCsvCallbackHandlerBuilder
-
Sets the field modifier.
- FieldModifier - Interface in de.siegmar.fastcsv.reader
-
Implementations of this class are used within
CsvCallbackHandlerimplementations to modify the fields of a CSV record before storing them in the resulting object. - FieldModifiers - Enum Class in de.siegmar.fastcsv.reader
-
Provides some common
FieldModifierimplementations. - fields - Variable in class de.siegmar.fastcsv.reader.AbstractInternalCsvCallbackHandler
-
The internal fields array.
- fieldSeparator() - Method in record class de.siegmar.fastcsv.reader.CsvIndex
-
Returns the value of the
fieldSeparatorrecord component. - fieldSeparator(char) - Method in class de.siegmar.fastcsv.reader.CsvReader.CsvReaderBuilder
-
Sets the
fieldSeparatorused when reading CSV data. - fieldSeparator(char) - Method in class de.siegmar.fastcsv.reader.IndexedCsvReader.IndexedCsvReaderBuilder
-
Sets the
fieldSeparatorused when reading CSV data. - fieldSeparator(char) - Method in class de.siegmar.fastcsv.writer.CsvWriter.CsvWriterBuilder
-
Sets the character that is used to separate fields – default:
,(comma). - fieldSeparator(String) - Method in class de.siegmar.fastcsv.reader.CsvReader.CsvReaderBuilder
-
Sets the
fieldSeparatorused when reading CSV data. - fileSize() - Method in record class de.siegmar.fastcsv.reader.CsvIndex
-
Returns the value of the
fileSizerecord component. - findField(String) - Method in class de.siegmar.fastcsv.reader.NamedCsvRecord
-
Retrieves the value of a field by its case-sensitive name, considering the first occurrence in case of duplicates.
- findFields(String) - Method in class de.siegmar.fastcsv.reader.NamedCsvRecord
-
Collects all field values with the given name (case-sensitive) in the order they appear in the header.
- flush() - Method in class de.siegmar.fastcsv.writer.CsvWriter
G
- getByteCount() - Method in class de.siegmar.fastcsv.reader.CollectingStatusListener
-
Get the number of bytes already read.
- getField(int) - Method in class de.siegmar.fastcsv.reader.CsvRecord
-
Retrieves the value of a field based on its index, with indexing starting from 0.
- getField(String) - Method in class de.siegmar.fastcsv.reader.NamedCsvRecord
-
Retrieves the value of a field by its case-sensitive name, considering the first occurrence in case of duplicates.
- getFieldCount() - Method in class de.siegmar.fastcsv.reader.AbstractBaseCsvCallbackHandler
-
Returns the number of fields in the current record..
- getFieldCount() - Method in class de.siegmar.fastcsv.reader.AbstractInternalCsvCallbackHandler
- getFieldCount() - Method in class de.siegmar.fastcsv.reader.CsvCallbackHandler
-
Returns the number of fields in the record.
- getFieldCount() - Method in class de.siegmar.fastcsv.reader.CsvRecord
-
Gets the count of fields in this record.
- getFields() - Method in class de.siegmar.fastcsv.reader.CsvRecord
-
Retrieves all fields of this record as an unmodifiable list.
- getFieldsAsMap() - Method in class de.siegmar.fastcsv.reader.NamedCsvRecord
-
Constructs an ordered map, associating header names with corresponding field values of this record, considering the first occurrence in case of duplicates.
- getFieldsAsMapList() - Method in class de.siegmar.fastcsv.reader.NamedCsvRecord
-
Constructs an unordered map, associating header names with an ordered list of corresponding field values in this record.
- getFileSize() - Method in class de.siegmar.fastcsv.reader.CollectingStatusListener
-
Get the total size in bytes.
- getHeader() - Method in class de.siegmar.fastcsv.reader.NamedCsvRecord
-
Retrieves the header names of this record.
- getIndex() - Method in class de.siegmar.fastcsv.reader.IndexedCsvReader
-
Get the index used for accessing the CSV file.
- getRecordCount() - Method in class de.siegmar.fastcsv.reader.CollectingStatusListener
-
Get the number of records already indexed.
- getRecordType() - Method in class de.siegmar.fastcsv.reader.AbstractBaseCsvCallbackHandler
-
Returns the type of the record that is built from the CSV data.
- getRecordType() - Method in class de.siegmar.fastcsv.reader.AbstractInternalCsvCallbackHandler
- getRecordType() - Method in class de.siegmar.fastcsv.reader.CsvCallbackHandler
-
Returns the type of the record that is built from the CSV data.
- getStartingLineNumber() - Method in class de.siegmar.fastcsv.reader.AbstractBaseCsvCallbackHandler
-
The starting line number of the current record.
- getStartingLineNumber() - Method in class de.siegmar.fastcsv.reader.CsvRecord
-
Provides the line number at which this record originated, starting from 1.
- getThrowable() - Method in class de.siegmar.fastcsv.reader.CollectingStatusListener
-
Get the throwable that occurred while indexing.
H
- handleBegin(long) - Method in class de.siegmar.fastcsv.reader.AbstractBaseCsvCallbackHandler
-
Handles the beginning of a record.
- handleComment(char[], int, int) - Method in class de.siegmar.fastcsv.reader.AbstractBaseCsvCallbackHandler
-
Handles a comment.
- handleEmpty() - Method in class de.siegmar.fastcsv.reader.AbstractBaseCsvCallbackHandler
-
Handles an empty line.
- handleField(int, char[], int, int, boolean) - Method in class de.siegmar.fastcsv.reader.AbstractBaseCsvCallbackHandler
-
Handles a field.
- hashCode() - Method in record class de.siegmar.fastcsv.reader.CsvIndex.CsvPage
-
Returns a hash code value for this object.
- hashCode() - Method in record class de.siegmar.fastcsv.reader.CsvIndex
-
Returns a hash code value for this object.
- header(String...) - Method in class de.siegmar.fastcsv.reader.NamedCsvRecordHandler.NamedCsvRecordHandlerBuilder
-
Sets a predefined header.
- header(List) - Method in class de.siegmar.fastcsv.reader.NamedCsvRecordHandler.NamedCsvRecordHandlerBuilder
-
Sets the header.
I
- index(CsvIndex) - Method in class de.siegmar.fastcsv.reader.IndexedCsvReader.IndexedCsvReaderBuilder
-
Sets a prebuilt index that should be used for accessing the file.
- IndexedCsvReader<T> - Class in de.siegmar.fastcsv.reader
-
CSV reader implementation for indexed based access.
- IndexedCsvReader.IndexedCsvReaderBuilder - Class in de.siegmar.fastcsv.reader
-
This builder is used to create configured instances of
IndexedCsvReader. - isComment() - Method in class de.siegmar.fastcsv.reader.CsvRecord
-
Indicates whether the record is a commented record.
- isCompleted() - Method in class de.siegmar.fastcsv.reader.CollectingStatusListener
-
Get the completion status.
- isNewline(char) - Static method in class de.siegmar.fastcsv.util.Util
-
Checks if the given character is a newline character.
- iterator() - Method in class de.siegmar.fastcsv.reader.CsvReader
-
Returns an iterator over elements of type
CsvRecord..
L
- LF - Enum constant in enum class de.siegmar.fastcsv.writer.LineDelimiter
-
Line Feed - (UNIX).
- LF - Static variable in class de.siegmar.fastcsv.util.Util
-
Line feed.
- lineDelimiter(LineDelimiter) - Method in class de.siegmar.fastcsv.writer.CsvWriter.CsvWriterBuilder
-
Sets the delimiter used to separate lines (default:
LineDelimiter.CRLF). - LineDelimiter - Enum Class in de.siegmar.fastcsv.writer
-
Enumeration for different line delimiters (LF, CR, CRLF, platform default).
M
- maxBufferSize(int) - Method in class de.siegmar.fastcsv.reader.CsvReader.CsvReaderBuilder
-
Defines the maximum buffer size used when parsing data.
- maxBufferSize(int) - Method in class de.siegmar.fastcsv.reader.IndexedCsvReader.IndexedCsvReaderBuilder
-
Defines the maximum buffer size used when parsing data.
- maxFields - Variable in class de.siegmar.fastcsv.reader.AbstractInternalCsvCallbackHandler.AbstractInternalCsvCallbackHandlerBuilder
-
The maximum number of fields a single record may have.
- maxFields - Variable in class de.siegmar.fastcsv.reader.AbstractInternalCsvCallbackHandler
-
The maximum number of fields a single record may have.
- maxFields(int) - Method in class de.siegmar.fastcsv.reader.AbstractInternalCsvCallbackHandler.AbstractInternalCsvCallbackHandlerBuilder
-
Defines the maximum number of fields a single record may have.
- maxFieldSize - Variable in class de.siegmar.fastcsv.reader.AbstractInternalCsvCallbackHandler.AbstractInternalCsvCallbackHandlerBuilder
-
The maximum number of characters a single field may have.
- maxFieldSize - Variable in class de.siegmar.fastcsv.reader.AbstractInternalCsvCallbackHandler
-
The maximum number of characters a single field may have.
- maxFieldSize(int) - Method in class de.siegmar.fastcsv.reader.AbstractInternalCsvCallbackHandler.AbstractInternalCsvCallbackHandlerBuilder
-
Defines the maximum number of characters a single field may have.
- maxRecordSize - Variable in class de.siegmar.fastcsv.reader.AbstractInternalCsvCallbackHandler.AbstractInternalCsvCallbackHandlerBuilder
-
The maximum number of characters a single record may have.
- maxRecordSize - Variable in class de.siegmar.fastcsv.reader.AbstractInternalCsvCallbackHandler
-
The maximum number of characters a single record may have.
- maxRecordSize(int) - Method in class de.siegmar.fastcsv.reader.AbstractInternalCsvCallbackHandler.AbstractInternalCsvCallbackHandlerBuilder
-
Defines the maximum number of characters a single record may have.
- modify(long, int, boolean, String) - Method in interface de.siegmar.fastcsv.reader.FieldModifier
-
Gets called for every single field (that is not a comment).
- modify(Function) - Static method in interface de.siegmar.fastcsv.reader.FieldModifier
-
Builds a modifier that modifies the field value using the provided function.
- modifyComment(long, String) - Method in interface de.siegmar.fastcsv.reader.FieldModifier
-
Gets called for every comment.
- modifyComment(String) - Method in class de.siegmar.fastcsv.reader.AbstractInternalCsvCallbackHandler
-
Modifies comment value.
- modifyField(String, boolean) - Method in class de.siegmar.fastcsv.reader.AbstractInternalCsvCallbackHandler
-
Modifies field value.
N
- NamedCsvRecord - Class in de.siegmar.fastcsv.reader
-
Represents an immutable CSV record with named (and indexed) fields.
- NamedCsvRecordHandler - Class in de.siegmar.fastcsv.reader
-
A callback handler that returns a
NamedCsvRecordfor each record. - NamedCsvRecordHandler.NamedCsvRecordHandlerBuilder - Class in de.siegmar.fastcsv.reader
-
A builder for
NamedCsvRecordHandler. - NON_EMPTY - Enum constant in enum class de.siegmar.fastcsv.writer.QuoteStrategies
-
Enclose any field with quotes if it has content (is not empty or
null). - NONE - Enum constant in enum class de.siegmar.fastcsv.reader.CommentStrategy
-
This strategy does not detect comments.
- NOP - Enum constant in enum class de.siegmar.fastcsv.reader.FieldModifiers
-
Modifier that does not modify anything.
- Nullable - Annotation Interface in de.siegmar.fastcsv.util
-
Annotation to indicate that a method parameter, return value, or field can be null.
O
- of() - Static method in class de.siegmar.fastcsv.reader.CsvRecordHandler
-
Constructs a new instance of this class with default settings.
- of() - Static method in class de.siegmar.fastcsv.reader.NamedCsvRecordHandler
-
Constructs a new instance of this class with default settings.
- of() - Static method in class de.siegmar.fastcsv.reader.StringArrayHandler
-
Constructs a new instance of this class with default settings.
- of(String) - Static method in enum class de.siegmar.fastcsv.writer.LineDelimiter
-
Build an enum based on the given string.
- of(Consumer) - Static method in class de.siegmar.fastcsv.reader.CsvRecordHandler
-
Constructs a new instance of this class with the given configuration.
- of(Consumer) - Static method in class de.siegmar.fastcsv.reader.NamedCsvRecordHandler
-
Constructs a new instance of this class with the given configuration.
- of(Consumer) - Static method in class de.siegmar.fastcsv.reader.StringArrayHandler
-
Constructs a new instance of this class with the given configuration.
- ofCsvRecord(InputStream) - Method in class de.siegmar.fastcsv.reader.CsvReader.CsvReaderBuilder
-
Constructs a new index-based
CsvReaderfor the specified input stream. - ofCsvRecord(InputStream, Charset) - Method in class de.siegmar.fastcsv.reader.CsvReader.CsvReaderBuilder
-
Constructs a new index-based
CsvReaderfor the specified input stream and character set. - ofCsvRecord(Reader) - Method in class de.siegmar.fastcsv.reader.CsvReader.CsvReaderBuilder
-
Constructs a new index-based
CsvReaderfor the specified reader. - ofCsvRecord(String) - Method in class de.siegmar.fastcsv.reader.CsvReader.CsvReaderBuilder
-
Constructs a new index-based
CsvReaderfor the specified String. - ofCsvRecord(Path) - Method in class de.siegmar.fastcsv.reader.CsvReader.CsvReaderBuilder
-
Constructs a new index-based
CsvReaderfor the specified file. - ofCsvRecord(Path) - Method in class de.siegmar.fastcsv.reader.IndexedCsvReader.IndexedCsvReaderBuilder
-
Constructs a new
IndexedCsvReaderofCsvRecordfor the specified path using UTF-8 as the character set. - ofCsvRecord(Path, Charset) - Method in class de.siegmar.fastcsv.reader.CsvReader.CsvReaderBuilder
-
Constructs a new index-based
CsvReaderfor the specified file and character set. - ofCsvRecord(Path, Charset) - Method in class de.siegmar.fastcsv.reader.IndexedCsvReader.IndexedCsvReaderBuilder
-
Constructs a new
IndexedCsvReaderofCsvRecordfor the specified arguments. - offset() - Method in record class de.siegmar.fastcsv.reader.CsvIndex.CsvPage
-
Returns the value of the
offsetrecord component. - ofNamedCsvRecord(InputStream) - Method in class de.siegmar.fastcsv.reader.CsvReader.CsvReaderBuilder
-
Constructs a new name-based
CsvReaderfor the specified input stream. - ofNamedCsvRecord(InputStream, Charset) - Method in class de.siegmar.fastcsv.reader.CsvReader.CsvReaderBuilder
-
Constructs a new name-based
CsvReaderfor the specified input stream and character set. - ofNamedCsvRecord(Reader) - Method in class de.siegmar.fastcsv.reader.CsvReader.CsvReaderBuilder
-
Constructs a new name-based
CsvReaderfor the specified reader. - ofNamedCsvRecord(String) - Method in class de.siegmar.fastcsv.reader.CsvReader.CsvReaderBuilder
-
Constructs a new name-based
CsvReaderfor the specified String. - ofNamedCsvRecord(Path) - Method in class de.siegmar.fastcsv.reader.CsvReader.CsvReaderBuilder
-
Constructs a new name-based
CsvReaderfor the specified file. - ofNamedCsvRecord(Path, Charset) - Method in class de.siegmar.fastcsv.reader.CsvReader.CsvReaderBuilder
-
Constructs a new name-based
CsvReaderfor the specified file and character set. - ofSingleCsvRecord(CsvCallbackHandler, String) - Method in class de.siegmar.fastcsv.reader.CsvReader.CsvReaderBuilder
-
Convenience method to read a single CSV record using a custom callback handler.
- ofSingleCsvRecord(String) - Method in class de.siegmar.fastcsv.reader.CsvReader.CsvReaderBuilder
-
Convenience method to read a single CSV record from the specified string.
- onComplete() - Method in class de.siegmar.fastcsv.reader.CollectingStatusListener
- onComplete() - Method in interface de.siegmar.fastcsv.reader.StatusListener
-
Called when the indexing finished successfully (without an exception).
- onError(Throwable) - Method in class de.siegmar.fastcsv.reader.CollectingStatusListener
- onError(Throwable) - Method in interface de.siegmar.fastcsv.reader.StatusListener
-
Called when there was an error while indexing.
- onInit(long) - Method in class de.siegmar.fastcsv.reader.CollectingStatusListener
- onInit(long) - Method in interface de.siegmar.fastcsv.reader.StatusListener
-
Called on initialization.
- onReadBytes(int) - Method in class de.siegmar.fastcsv.reader.CollectingStatusListener
- onReadBytes(int) - Method in interface de.siegmar.fastcsv.reader.StatusListener
-
Called when a new read operation has been performend.
- onReadRecord() - Method in class de.siegmar.fastcsv.reader.CollectingStatusListener
- onReadRecord() - Method in interface de.siegmar.fastcsv.reader.StatusListener
-
Called when a new record has been read.
P
- pages() - Method in record class de.siegmar.fastcsv.reader.CsvIndex
-
Returns the value of the
pagesrecord component. - pageSize(int) - Method in class de.siegmar.fastcsv.reader.IndexedCsvReader.IndexedCsvReaderBuilder
-
Sets the
pageSizefor pages returned byIndexedCsvReader.readPage(int)(default:IndexedCsvReader.IndexedCsvReaderBuilder.DEFAULT_PAGE_SIZE). - PLATFORM - Enum constant in enum class de.siegmar.fastcsv.writer.LineDelimiter
-
Use current platform default (
System.lineSeparator(). - Preconditions - Class in de.siegmar.fastcsv.util
-
Internal utility class.
Q
- quoteCharacter() - Method in record class de.siegmar.fastcsv.reader.CsvIndex
-
Returns the value of the
quoteCharacterrecord component. - quoteCharacter(char) - Method in class de.siegmar.fastcsv.reader.CsvReader.CsvReaderBuilder
-
Sets the
quoteCharacterused when reading CSV data. - quoteCharacter(char) - Method in class de.siegmar.fastcsv.reader.IndexedCsvReader.IndexedCsvReaderBuilder
-
Sets the
quoteCharacterused when reading CSV data. - quoteCharacter(char) - Method in class de.siegmar.fastcsv.writer.CsvWriter.CsvWriterBuilder
-
Sets the character used to quote values – default:
"(double quote). - quoteEmpty(int, int) - Method in interface de.siegmar.fastcsv.writer.QuoteStrategy
-
Determine if an empty (not
null) field should be quoted. - quoteNull(int, int) - Method in interface de.siegmar.fastcsv.writer.QuoteStrategy
-
Determine if a
nullfield should be quoted. - QuoteStrategies - Enum Class in de.siegmar.fastcsv.writer
-
Provides some common
QuoteStrategyimplementations. - quoteStrategy(QuoteStrategy) - Method in class de.siegmar.fastcsv.writer.CsvWriter.CsvWriterBuilder
-
Sets the strategy that defines when optional quoting has to be performed (default:
QuoteStrategies.REQUIRED). - QuoteStrategy - Interface in de.siegmar.fastcsv.writer
-
A quote strategy is used to decide whether to quote fields if quoting is optional (as per RFC 4180).
- quoteValue(int, int, String) - Method in interface de.siegmar.fastcsv.writer.QuoteStrategy
-
Determine if a data containing field (neither
nullnor empty) should be quoted.
R
- READ - Enum constant in enum class de.siegmar.fastcsv.reader.CommentStrategy
-
This strategy detects and returns the commented lines.
- readPage(int) - Method in class de.siegmar.fastcsv.reader.IndexedCsvReader
-
Reads a page of records.
- recordCount() - Method in record class de.siegmar.fastcsv.reader.CsvIndex
-
Returns the value of the
recordCountrecord component. - recordSize - Variable in class de.siegmar.fastcsv.reader.AbstractInternalCsvCallbackHandler
-
The total size (sum of all characters) of the current record.
- recordType - Variable in class de.siegmar.fastcsv.reader.AbstractInternalCsvCallbackHandler
-
The type of the current record.
- RecordType - Enum Class in de.siegmar.fastcsv.reader
-
Represents the type of record in a CSV file.
- REQUIRED - Enum constant in enum class de.siegmar.fastcsv.writer.QuoteStrategies
-
Enclose fields only if quoting is required.
- returnHeader(boolean) - Method in class de.siegmar.fastcsv.reader.NamedCsvRecordHandler.NamedCsvRecordHandlerBuilder
-
Sets whether the header itself should be returned as the first record.
S
- self() - Method in class de.siegmar.fastcsv.reader.AbstractInternalCsvCallbackHandler.AbstractInternalCsvCallbackHandlerBuilder
-
Method to be implemented by subclasses to return the correct type.
- self() - Method in class de.siegmar.fastcsv.reader.CsvRecordHandler.CsvRecordHandlerBuilder
- self() - Method in class de.siegmar.fastcsv.reader.NamedCsvRecordHandler.NamedCsvRecordHandlerBuilder
- self() - Method in class de.siegmar.fastcsv.reader.StringArrayHandler.StringArrayHandlerBuilder
- setComment(char[], int, int) - Method in class de.siegmar.fastcsv.reader.AbstractBaseCsvCallbackHandler
-
Called for each comment line.
- setComment(char[], int, int) - Method in class de.siegmar.fastcsv.reader.AbstractInternalCsvCallbackHandler
-
Called for each comment line.
- setComment(char[], int, int) - Method in class de.siegmar.fastcsv.reader.CsvCallbackHandler
-
Called for each comment line.
- setEmpty() - Method in class de.siegmar.fastcsv.reader.AbstractBaseCsvCallbackHandler
-
Called for each empty line.
- setEmpty() - Method in class de.siegmar.fastcsv.reader.AbstractInternalCsvCallbackHandler
- setEmpty() - Method in class de.siegmar.fastcsv.reader.CsvCallbackHandler
-
Called for each empty line.
- SKIP - Enum constant in enum class de.siegmar.fastcsv.reader.CommentStrategy
-
This strategy detects comments but does not return the commented lines.
- skipEmptyLines(boolean) - Method in class de.siegmar.fastcsv.reader.CsvReader.CsvReaderBuilder
-
Defines whether empty lines should be skipped when reading data.
- skipLines(int) - Method in class de.siegmar.fastcsv.reader.CsvReader
-
Skips the specified number of lines.
- skipLines(Predicate, int) - Method in class de.siegmar.fastcsv.reader.CsvReader
-
Skip lines until the specified predicate matches.
- spliterator() - Method in class de.siegmar.fastcsv.reader.CsvReader
-
Constructs a
Spliteratorfor splitting and traversing the elements of this reader. - startingLineNumber - Variable in class de.siegmar.fastcsv.reader.AbstractInternalCsvCallbackHandler
-
The starting line number of the current record.
- startingLineNumber() - Method in record class de.siegmar.fastcsv.reader.CsvIndex.CsvPage
-
Returns the value of the
startingLineNumberrecord component. - statusListener(StatusListener) - Method in class de.siegmar.fastcsv.reader.IndexedCsvReader.IndexedCsvReaderBuilder
-
Sets the
statusListenerto listen for indexer status updates. - StatusListener - Interface in de.siegmar.fastcsv.reader
-
Custom status listeners have to implement this interface.
- stream() - Method in class de.siegmar.fastcsv.reader.CsvReader
-
Constructs a new sequential
Streamwith this reader as its source. - StringArrayHandler - Class in de.siegmar.fastcsv.reader
-
A
CsvCallbackHandlerimplementation that returns the fields of each record as an array of Strings. - StringArrayHandler.StringArrayHandlerBuilder - Class in de.siegmar.fastcsv.reader
-
A builder for
StringArrayHandler. - STRIP - Enum constant in enum class de.siegmar.fastcsv.reader.FieldModifiers
-
Modifier that modifies the field value with
String.strip().
T
- terminate() - Method in class de.siegmar.fastcsv.reader.CsvCallbackHandler
-
Called at the end of the CSV reading process.
- toConsole() - Method in class de.siegmar.fastcsv.writer.CsvWriter.CsvWriterBuilder
-
Convenience method to write to the console (standard output).
- toString() - Method in class de.siegmar.fastcsv.reader.CollectingStatusListener
- toString() - Method in record class de.siegmar.fastcsv.reader.CsvIndex.CsvPage
-
Returns a string representation of this record class.
- toString() - Method in record class de.siegmar.fastcsv.reader.CsvIndex
-
Returns string representation of this index without the pages themselves.
- toString() - Method in class de.siegmar.fastcsv.reader.CsvReader.CsvReaderBuilder
- toString() - Method in class de.siegmar.fastcsv.reader.CsvReader
- toString() - Method in class de.siegmar.fastcsv.reader.CsvRecord
- toString() - Method in class de.siegmar.fastcsv.reader.IndexedCsvReader
- toString() - Method in class de.siegmar.fastcsv.reader.NamedCsvRecord
- toString() - Method in class de.siegmar.fastcsv.writer.CsvWriter.CsvWriterBuilder
- toString() - Method in class de.siegmar.fastcsv.writer.CsvWriter
- toString() - Method in enum class de.siegmar.fastcsv.writer.LineDelimiter
- TRIM - Enum constant in enum class de.siegmar.fastcsv.reader.FieldModifiers
-
Modifier that modifies the field value with
String.trim(). - trimWhitespacesAroundQuotes(boolean) - Method in class de.siegmar.fastcsv.reader.CsvReader.CsvReaderBuilder
-
Defines whether whitespaces before an opening quote and after a closing quote should be allowed and trimmed.
U
- Util - Class in de.siegmar.fastcsv.util
-
Internal utility class.
V
- valueOf(String) - Static method in enum class de.siegmar.fastcsv.reader.CommentStrategy
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class de.siegmar.fastcsv.reader.FieldModifiers
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class de.siegmar.fastcsv.reader.RecordType
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class de.siegmar.fastcsv.writer.LineDelimiter
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class de.siegmar.fastcsv.writer.QuoteStrategies
-
Returns the enum constant of this class with the specified name.
- values() - Static method in enum class de.siegmar.fastcsv.reader.CommentStrategy
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class de.siegmar.fastcsv.reader.FieldModifiers
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class de.siegmar.fastcsv.reader.RecordType
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class de.siegmar.fastcsv.writer.LineDelimiter
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class de.siegmar.fastcsv.writer.QuoteStrategies
-
Returns an array containing the constants of this enum class, in the order they are declared.
W
- writeComment(String) - Method in class de.siegmar.fastcsv.writer.CsvWriter
-
Writes a comment line and new line character(s) at the end.
- writeField(String) - Method in class de.siegmar.fastcsv.writer.CsvWriter.CsvWriterRecord
-
Writes a field to the current record.
- writeRecord() - Method in class de.siegmar.fastcsv.writer.CsvWriter
-
Starts a new record.
- writeRecord(Iterable) - Method in class de.siegmar.fastcsv.writer.CsvWriter
-
Writes a complete line - one or more fields and new line character(s) at the end.
- writeRecord(String...) - Method in class de.siegmar.fastcsv.writer.CsvWriter
-
Writes a complete line - one or more fields and new line character(s) at the end.
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form