public class DataReaderFacade extends Object
| Constructor and Description |
|---|
DataReaderFacade() |
| Modifier and Type | Method and Description |
|---|---|
void |
addPropertyChangeListener(PropertyChangeListener listener)
Add propertyChangeListener for underlying MonitoredBufferedInputStreams property "progress".
|
GCModel |
loadModel(GCResource gcResource)
Loads a model from a given
gcResource logging all exceptions that occur. |
protected GCModel |
loadModelFromSeries(GcResourceSeries gcResource)
Loads the
GCResources as a rotated series of logfiles. |
public void addPropertyChangeListener(PropertyChangeListener listener)
listener - component requiring to listen to progress changespublic GCModel loadModel(GCResource gcResource) throws DataReaderException
gcResource logging all exceptions that occur.gcResource - where to find data to be parsedDataReaderException - if any exception occurred, it is logged and added as the cause
to this exceptionprotected GCModel loadModelFromSeries(GcResourceSeries gcResource) throws DataReaderException
GCResources as a rotated series of logfiles. Takes care of ordering themgcResource - the GcResourceSeries to loadGCModel containing all events found in the given GCResources that were readableDataReaderException - thrown in case of some parser failureCopyright © 2019. All rights reserved.