java.lang.Object
java.io.RandomAccessFile
com.ibm.jvm.format.TraceFile
- All Implemented Interfaces:
Closeable,DataInput,DataOutput,AutoCloseable
Encapsulates a trace "file" - In this case it is a single file on the disk.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected final Stringfinal TraceFileHeaderprotected final StringgetNextFormatFileName(String previous) protected final Stringprotected final BigIntegerreadBigInteger(int size) protected final intreadI()protected final longreadL()protected final StringreadString(int Length) protected final longprotected final voidsetBigEndian(boolean endian) final StringtoString()Answers a string containing a concise, human-readable description of the receiver.Methods declared in class java.io.RandomAccessFile
close, getChannel, getFD, getFilePointer, length, read, read, read, readBoolean, readByte, readChar, readDouble, readFloat, readFully, readFully, readInt, readLine, readLong, readShort, readUnsignedByte, readUnsignedShort, readUTF, seek, setLength, skipBytes, write, write, write, writeBoolean, writeByte, writeBytes, writeChar, writeChars, writeDouble, writeFloat, writeInt, writeLong, writeShort, writeUTF
-
Field Details
-
traceFileHeader
-
lastWriteSystem
-
wrapOffset
protected long wrapOffset
-
-
Constructor Details
-
TraceFile
- Throws:
Exception
-
-
Method Details
-
readI
- Throws:
IOException
-
readL
- Throws:
IOException
-
readBigInteger
- Throws:
IOException
-
readULong
- Throws:
IOException
-
readString
- Throws:
IOException
-
setBigEndian
protected final void setBigEndian(boolean endian) -
formatFileName
-
getVMLevel
-
getNextFormatFileName
-
toString
Description copied from class:java.lang.ObjectAnswers a string containing a concise, human-readable description of the receiver. -
getHeader
-