|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.jacoco.core.data.ExecutionDataReader
public class ExecutionDataReader
Deserialization of execution data from binary streams.
| Field Summary | |
|---|---|
protected org.jacoco.core.internal.data.CompactDataInput |
in
Underlying data input |
| Constructor Summary | |
|---|---|
ExecutionDataReader(InputStream input)
Creates a new reader based on the given input stream input. |
|
| Method Summary | |
|---|---|
boolean |
read()
Reads all data and reports it to the corresponding visitors. |
protected boolean |
readBlock(byte blocktype)
Reads a block of data identified by the given id. |
void |
setExecutionDataVisitor(IExecutionDataVisitor visitor)
Sets an listener for execution data. |
void |
setSessionInfoVisitor(ISessionInfoVisitor visitor)
Sets an listener for session information. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected final org.jacoco.core.internal.data.CompactDataInput in
| Constructor Detail |
|---|
public ExecutionDataReader(InputStream input)
input - input stream to read execution data from| Method Detail |
|---|
public void setSessionInfoVisitor(ISessionInfoVisitor visitor)
visitor - public void setExecutionDataVisitor(IExecutionDataVisitor visitor)
visitor -
public boolean read()
throws IOException
true if additional data can be expected after a
command has been executed. false if the end of the
stream has been reached.
IOException - might be thrown by the underlying input stream
protected boolean readBlock(byte blocktype)
throws IOException
blocktype - block type
true if there are more blocks to read
IOException - might be thrown by the underlying input stream
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||