## Class Volume

- java.lang.Object
- - Volume

-     public class Volume
      extends java.lang.Object

  This class provides a way to open a file, using Random Access and readBytes-only attribute. Which means any point of the file can be readBytes and this doesn't have to be done sequentially.
  Author:
    Petros Soutzis 2017-19

- - ### Field Summary

    Fields
    Modifier and Type | Field and Description
    --- | ---
    `private java.io.RandomAccessFile` | `raf`

  - ### Constructor Summary

    Constructors
    Constructor and Description
    `Volume(java.lang.String filename)` Constructor of the Volume Class

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `(package private) java.io.RandomAccessFile` | `getRandomAccessFile()` Accessor method for the Random Access File

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Field Detail

    - #### raf

          private java.io.RandomAccessFile raf

  - ### Constructor Detail

    - #### Volume

          public Volume(java.lang.String filename)

      Constructor of the Volume Class
      Parameters:
        `filename` - is the name of the file that will be accessed randomly

  - ### Method Detail

    - #### getRandomAccessFile

          java.io.RandomAccessFile getRandomAccessFile()

      Accessor method for the Random Access File
      Returns:
        the Randomly Accessible file