Class FileTextWritable

  • All Implemented Interfaces:
    TextWritable

    public class FileTextWritable
    extends java.lang.Object
    implements TextWritable
    An implementation of TextWritable which delegates to a File.
    Author:
    Fabrizio Giudici
    Status: stable API
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.io.Writer openWriter()
      Returns a Writer to write into the object.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • FileTextWritable

        public FileTextWritable()
    • Method Detail

      • openWriter

        @Nonnull
        public java.io.Writer openWriter()
                                  throws java.io.IOException
        Returns a Writer to write into the object.
        Specified by:
        openWriter in interface TextWritable
        Returns:
        the Writer
        Throws:
        java.io.IOException - if the operation can't be performed