Class TextFileFormat

  • All Implemented Interfaces:

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

      Modifier and Type Field Description
      static java.lang.String FORMAT_TXT
      Format ID for text files.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.nio.charset.Charset charset()
      Returns the configured character encoding.
      boolean equals​(java.lang.Object o)  
      java.lang.String format()
      Returns the name of the file format.
      int hashCode()  
      • Methods inherited from class java.lang.Object

        clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • FORMAT_TXT

        public static final java.lang.String FORMAT_TXT
        Format ID for text files.
        See Also:
        Constant Field Values
    • Method Detail

      • charset

        public java.nio.charset.Charset charset()
        Returns the configured character encoding.
      • format

        public java.lang.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<java.lang.String>
      • equals

        public boolean equals​(java.lang.Object o)
        equals in class java.lang.Object
      • hashCode

        public int hashCode()
        hashCode in class java.lang.Object