Class FileBinaryWritable

  • All Implemented Interfaces:
    BinaryWritable

    @Deprecated
    public class FileBinaryWritable
    extends java.lang.Object
    implements BinaryWritable
    Deprecated.
    Use PathBinaryWritable instead
    An implementation of BinaryWritable which delegates to a File.
    Author:
    Fabrizio Giudici
    • Constructor Detail

      • FileBinaryWritable

        public FileBinaryWritable()
        Deprecated.
    • Method Detail

      • openStream

        @Nonnull
        public java.io.OutputStream openStream()
                                        throws java.io.IOException
        Deprecated.
        Returns an OutputStream to write into the object.
        Specified by:
        openStream in interface BinaryWritable
        Returns:
        the OutputStream
        Throws:
        java.io.IOException - if the operation can't be performed