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
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected final String
final TraceFileHeader
protected final String
getNextFormatFileName
(String previous) protected final String
protected final BigInteger
readBigInteger
(int size) protected final int
readI()
protected final long
readL()
protected final String
readString
(int Length) protected final long
protected final void
setBigEndian
(boolean endian) final String
toString()
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.Object
Answers a string containing a concise, human-readable description of the receiver. -
getHeader
-