Class BufferedWrite


  • public class BufferedWrite
    extends java.lang.Object
    Buffered Write Class

    Contains the details and data for a buffered write.

    Author:
    gkspencer
    • Constructor Summary

      Constructors 
      Constructor Description
      BufferedWrite​(byte[] buf, long offset)
      Class constructor
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      byte[] getData()
      Return the write data
      int getDataLength()
      Return the data length
      long getOffset()
      Return the file offset
      java.lang.String toString()
      Return the buffered write details as a string
      • Methods inherited from class java.lang.Object

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

      • BufferedWrite

        public BufferedWrite​(byte[] buf,
                             long offset)
        Class constructor
        Parameters:
        buf - byte[]
        offset - long
    • Method Detail

      • getOffset

        public final long getOffset()
        Return the file offset
        Returns:
        long
      • getData

        public final byte[] getData()
        Return the write data
        Returns:
        byte[]
      • getDataLength

        public final int getDataLength()
        Return the data length
        Returns:
        int
      • toString

        public java.lang.String toString()
        Return the buffered write details as a string
        Overrides:
        toString in class java.lang.Object
        Returns:
        String