public class LogFileReader
extends java.lang.Object
| Constructor and Description |
|---|
LogFileReader(java.lang.String path,
org.openmuc.framework.datalogger.spi.LogChannel logChannel)
LogFileReader Constructor
|
| Modifier and Type | Method and Description |
|---|---|
java.util.Map<java.lang.String,org.openmuc.framework.data.Record> |
getValue(long timestamp)
get a single record from single channel of time stamp
|
java.util.Map<java.lang.String,java.util.List<org.openmuc.framework.data.Record>> |
getValues(long startTimestamp,
long endTimestamp)
Get the values between start time stamp and end time stamp
|
public LogFileReader(java.lang.String path,
org.openmuc.framework.datalogger.spi.LogChannel logChannel)
path - the path to the files to read fromlogChannel - the channel to read frompublic java.util.Map<java.lang.String,java.util.List<org.openmuc.framework.data.Record>> getValues(long startTimestamp,
long endTimestamp)
startTimestamp - start time stampendTimestamp - end time stamppublic java.util.Map<java.lang.String,org.openmuc.framework.data.Record> getValue(long timestamp)
timestamp - time stamp