public class ExecFileLoader
extends java.lang.Object
ExecutionDataStore
and a SessionInfoStore
.Constructor | Description |
---|---|
ExecFileLoader() |
New instance to combine session infos and execution data from multiple
files.
|
Modifier and Type | Method | 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(java.io.File file) |
Reads all data from given input stream.
|
void |
load(java.io.InputStream stream) |
Reads all data from given input stream.
|
void |
save(java.io.File file,
boolean append) |
Saves the current content into the given file.
|
void |
save(java.io.OutputStream stream) |
Saves the current content into the given output stream.
|
public ExecFileLoader()
public void load(java.io.InputStream stream) throws java.io.IOException
stream
- Stream to read data fromjava.io.IOException
- in case of problems while reading from the streampublic void load(java.io.File file) throws java.io.IOException
file
- file to read data fromjava.io.IOException
- in case of problems while reading from the streampublic void save(java.io.OutputStream stream) throws java.io.IOException
stream
- stream to save content tojava.io.IOException
- in case of problems while writing to the streampublic void save(java.io.File file, boolean append) throws java.io.IOException
file
- file to save content toappend
- true
if the content should be appended, otherwise
the file is overwritten.java.io.IOException
- in case of problems while writing to the streampublic SessionInfoStore getSessionInfoStore()
public ExecutionDataStore getExecutionDataStore()
Copyright © 2018. All rights reserved.