Top Description Fields Constructors Methods
de.siegmar.fastcsv.reader

public final Enum CommentStrategy

extends Enum<CommentStrategy>
Class Inheritance

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

Field Summary

Modifier and TypeField and Description
public static final CommentStrategy
NONE

This strategy does not detect comments.

public static final CommentStrategy
READ

This strategy detects and returns the commented lines.

public static final CommentStrategy
SKIP

This strategy detects comments but does not return the commented lines.

Constructor Summary

AccessConstructor and Description
private

Method Summary

Modifier and TypeMethod and Description
public static CommentStrategy
public static CommentStrategy[]
Inherited from java.lang.Enum:
clonecompareTodescribeConstableequalsfinalizegetDeclaringClasshashCodenameordinaltoStringvalueOf

Field Detail

NONEback to summary
public static final CommentStrategy NONE

This strategy does not detect comments. It treats everything as regular fields.

READback to summary
public static final CommentStrategy READ

This strategy detects and returns the commented lines. The entire line is treated as one field. The comment character itself is removed.

SKIPback to summary
public static final CommentStrategy SKIP

This strategy detects comments but does not return the commented lines.

Constructor Detail

CommentStrategyback to summary
private CommentStrategy()

Method Detail

valueOfback to summary
public static CommentStrategy valueOf(String name)
valuesback to summary
public static CommentStrategy[] values()