public class ExecFileLoader extends Object
ExecutionDataStore and a SessionInfoStore.| Constructor and Description |
|---|
ExecFileLoader()
New instance to combine session infos and execution data from multiple
files.
|
| Modifier and Type | Method and Description |
|---|---|
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.
|
public ExecFileLoader()
public void load(InputStream stream) throws IOException
stream - Stream to read data fromIOException - in case of problems while reading from the streampublic void load(File file) throws IOException
file - file to read data fromIOException - in case of problems while reading from the streampublic void save(OutputStream stream) throws IOException
stream - stream to save content toIOException - in case of problems while writing to the streampublic 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()
Copyright © 2009-2015 Mountainminds GmbH & Co. KG. All Rights Reserved.