com.caucho.env.hprof
Class HprofParser
java.lang.Object
com.caucho.env.hprof.HprofParser
public class HprofParser
- extends java.lang.Object
Parses the JDK's .hprof file.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
HprofParser
public HprofParser(Path path)
throws java.io.IOException
- Throws:
java.io.IOException
readTagStart
public HprofParser.TagType readTagStart()
throws java.io.IOException
- Throws:
java.io.IOException
getTagTime
public long getTagTime()
skipToTagEnd
public void skipToTagEnd()
throws java.io.IOException
- Throws:
java.io.IOException
readStringInUtf8
public void readStringInUtf8(HprofDumpHandler handler)
throws java.io.IOException
- Throws:
java.io.IOException
readString
public java.lang.String readString(int length)
throws java.io.IOException
- Throws:
java.io.IOException
readLoadClass
public void readLoadClass(HprofDumpHandler handler)
throws java.io.IOException
- Throws:
java.io.IOException
readDump
public void readDump(HprofDumpHandler handler)
throws java.io.IOException
- Throws:
java.io.IOException
basicSize
public int basicSize(int type)
close
public void close()
toString
public java.lang.String toString()
- Overrides:
toString in class java.lang.Object