|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.jacoco.core.tools.ExecFileLoader
public class ExecFileLoader
Convenience utility for loading *.exec files into a
ExecutionDataStore and a SessionInfoStore.
| Constructor Summary | |
|---|---|
ExecFileLoader()
New instance to combine session infos and execution data from multiple files. |
|
| Method Summary | |
|---|---|
ExecutionDataStore |
getExecutionDataStore()
Returns the execution data store with data for all loaded classes. |
SessionInfoStore |
getSessionInfoStore()
Returns the session info store with all loaded sessions. |
void |
load(File file)
Reads all data from given input stream. |
void |
load(InputStream stream)
Reads all data from given input stream. |
void |
save(File file,
boolean append)
Saves the current content into the given file. |
void |
save(OutputStream stream)
Saves the current content into the given output stream. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ExecFileLoader()
| Method Detail |
|---|
public void load(InputStream stream)
throws IOException
stream - Stream to read data from
IOException - in case of problems while reading from the stream
public void load(File file)
throws IOException
file - file to read data from
IOException - in case of problems while reading from the stream
public void save(OutputStream stream)
throws IOException
stream - stream to save content to
IOException - in case of problems while writing to the stream
public void save(File file,
boolean append)
throws IOException
file - file to save content toappend - true if the content should be appended, otherwise
the file is overwritten.
IOException - in case of problems while writing to the streampublic SessionInfoStore getSessionInfoStore()
public ExecutionDataStore getExecutionDataStore()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||