Class TraceFile

java.lang.Object
java.io.RandomAccessFile
com.ibm.jvm.format.TraceFile
All Implemented Interfaces:
Closeable, DataInput, DataOutput, AutoCloseable

public final class TraceFile extends RandomAccessFile
Encapsulates a trace "file" - In this case it is a single file on the disk.
  • Field Details

    • traceFileHeader

      protected TraceFileHeader traceFileHeader
    • lastWriteSystem

      protected BigInteger lastWriteSystem
    • wrapOffset

      protected long wrapOffset
  • Constructor Details

  • Method Details

    • readI

      protected final int readI() throws IOException
      Throws:
      IOException
    • readL

      protected final long readL() throws IOException
      Throws:
      IOException
    • readBigInteger

      protected final BigInteger readBigInteger(int size) throws IOException
      Throws:
      IOException
    • readULong

      protected final long readULong() throws IOException
      Throws:
      IOException
    • readString

      protected final String readString(int Length) throws IOException
      Throws:
      IOException
    • setBigEndian

      protected final void setBigEndian(boolean endian)
    • formatFileName

      protected final String formatFileName()
    • getVMLevel

      protected final String getVMLevel()
    • getNextFormatFileName

      protected final String getNextFormatFileName(String previous)
    • toString

      public final String toString()
      Description copied from class: java.lang.Object
      Answers a string containing a concise, human-readable description of the receiver.
      Overrides:
      toString in class Object
      Returns:
      String a printable representation for the receiver.
    • getHeader

      public final TraceFileHeader getHeader()