public final class BinaryHprofReader extends Object
BinaryHprofReader reader = new BinaryHprofReader(new BufferedInputStream(inputStream));
reader.setStrict(false); // for RI compatability
reader.read();
inputStream.close();
reader.getVersion();
reader.getHprofData();
| Constructor and Description |
|---|
BinaryHprofReader(InputStream inputStream)
Creates a BinaryHprofReader around the specified
inputStream |
| Modifier and Type | Method and Description |
|---|---|
HprofData |
getHprofData() |
boolean |
getStrict() |
String |
getVersion() |
void |
read()
Read the hprof header and records from the input
|
void |
setStrict(boolean strict) |
public BinaryHprofReader(InputStream inputStream) throws IOException
inputStreamIOExceptionpublic boolean getStrict()
public void setStrict(boolean strict)
public String getVersion()
public HprofData getHprofData()
public void read()
throws IOException
IOException