Class CsvReader.CsvToken

java.lang.Object
de.espirit.common.util.CsvReader.CsvToken
Enclosing class:
CsvReader

public static final class CsvReader.CsvToken extends Object
Class representing a single token
Since:
5.1.28
See Also:
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final int
    Token type representing the end of the CSV file.
    static final int
    Token type representing a new line in the CSV file.
    static final int
    Token type representing a value of the CSV file.
  • Method Summary

    Modifier and Type
    Method
    Description
    final int
    Returns the type of the current token
    types: VALUE or NEW_LINEor EOF
    final @Nullable String
    Returns the value of the current token

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

  • Method Details

    • getValue

      @Nullable public final @Nullable String getValue()
      Returns the value of the current token
      Returns:
      value - the value as string
      Since:
      5.1.28
    • getType

      public final int getType()
      Returns the type of the current token
      types: VALUE or NEW_LINEor EOF
      Returns:
      type of the token
      Since:
      5.1.28