org.diyefi.openlogviewer.decoder
Class FreeEMSBin

java.lang.Object
  extended by org.diyefi.openlogviewer.decoder.AbstractDecoder
      extended by org.diyefi.openlogviewer.decoder.FreeEMSBin
All Implemented Interfaces:
Runnable

public class FreeEMSBin
extends AbstractDecoder
implements Runnable

This function takes a binary log file, plucks FreeEMS packets out of it, filters for standard packets and parses them into fields with appropriate scaling.


Constructor Summary
FreeEMSBin(File f)
          FreeEmsBin Constructor: File object of your Binary log
FreeEMSBin(String path)
          FreeEmsBin Constructor: String path to your binary log
 
Method Summary
 void run()
          DecodeLog will use the current logFile parse through it and when required pass the job
to the required method of this class such as decodePacket or checksum.
 String toString()
           
 
Methods inherited from class org.diyefi.openlogviewer.decoder.AbstractDecoder
getDecodedLog, getLogFile, getT, setDecodedLog, setLogFile, setT
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

FreeEMSBin

public FreeEMSBin(String path)
FreeEmsBin Constructor: String path to your binary log

Parameters:
path - The file system path of the log file.

FreeEMSBin

public FreeEMSBin(File f)
FreeEmsBin Constructor: File object of your Binary log

Parameters:
f - The file reference to the log file.
Method Detail

run

public final void run()
DecodeLog will use the current logFile parse through it and when required pass the job
to the required method of this class such as decodePacket or checksum.

Specified by:
run in interface Runnable

toString

public final String toString()
Overrides:
toString in class Object
Returns:
Misc data about this log
to be implemented in full later


Copyright © 2011 DIYEFI.org. All Rights Reserved.