Class TextFileFormat

All Implemented Interfaces:
FileFormat<String>, Serializable

public class TextFileFormat
extends Object
implements FileFormat<String>
FileFormat for text files where the whole file is one String data item. See FileFormat.text() for more details.
See Also:
Serialized Form
  • Field Details

  • Method Details

    • charset

      @Nonnull public Charset charset()
      Returns the configured character encoding.
    • format

      @Nonnull public String format()
      Description copied from interface: FileFormat
      Returns the name of the file format. The convention is to use the well-known filename suffix or, if there is none, a short-form name of the format.
      Specified by:
      format in interface FileFormat<String>