Class ReadOptions

    • Method Detail

      • sep

        public final String sep()

        The file's field separator.

        Returns:
        The file's field separator.
      • encoding

        public final String encoding()

        The file's encoding.

        Returns:
        The file's encoding.
      • quote

        public final String quote()

        The file's quote character.

        Returns:
        The file's quote character.
      • quoteAll

        public final Boolean quoteAll()

        Whether all values need to be quoted, or just those that contain quotes.

        Returns:
        Whether all values need to be quoted, or just those that contain quotes.
      • escape

        public final String escape()

        A character for escaping quotes in the file.

        Returns:
        A character for escaping quotes in the file.
      • escapeQuotes

        public final Boolean escapeQuotes()

        Whether quotes need to be escaped in the file.

        Returns:
        Whether quotes need to be escaped in the file.
      • comment

        public final String comment()

        The file's comment character.

        Returns:
        The file's comment character.
      • header

        public final Boolean header()

        Whether the file has a header row.

        Returns:
        Whether the file has a header row.
      • lineSep

        public final String lineSep()

        A line separator for the file.

        Returns:
        A line separator for the file.
      • hashCode

        public final int hashCode()
        Overrides:
        hashCode in class Object
      • equals

        public final boolean equals​(Object obj)
        Overrides:
        equals in class Object
      • toString

        public final String toString()
        Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
        Overrides:
        toString in class Object
      • getValueForField

        public final <T> Optional<T> getValueForField​(String fieldName,
                                                      Class<T> clazz)