- 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 Summary
Fields Modifier and Type Field Description protected BigIntegerlastWriteSystemprotected TraceFileHeadertraceFileHeaderprotected longwrapOffset
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected StringformatFileName()TraceFileHeadergetHeader()protected StringgetNextFormatFileName(String previous)protected StringgetVMLevel()protected BigIntegerreadBigInteger(int size)protected intreadI()protected longreadL()protected StringreadString(int Length)protected longreadULong()protected voidsetBigEndian(boolean endian)-
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 Detail
-
traceFileHeader
protected TraceFileHeader traceFileHeader
-
lastWriteSystem
protected BigInteger lastWriteSystem
-
wrapOffset
protected long wrapOffset
-
-
Method Detail
-
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()
-
getHeader
public final TraceFileHeader getHeader()
-
-