com.garmin.fit.csv
Class MesgFilter
java.lang.Object
com.garmin.fit.csv.MesgFilter
- All Implemented Interfaces:
- MesgDefinitionListener, MesgListener
public class MesgFilter
- extends java.lang.Object
- implements MesgListener, MesgDefinitionListener
Listens to incoming mesg definitions and data messages and filters
them by name - Once filtered the messages are passed along to whoever
is listening.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MesgFilter
public MesgFilter()
addListener
public void addListener(MesgListener mesgListener)
addListener
public void addListener(MesgDefinitionListener mesgDefinitionListener)
setMesgDefinitionsToOutput
public void setMesgDefinitionsToOutput(java.util.ArrayList<java.lang.String> inputMesgDefinitionsToOutput)
setDataMessagesToOutput
public void setDataMessagesToOutput(java.util.ArrayList<java.lang.String> inputMesgToOutput)
onMesgDefinition
public void onMesgDefinition(MesgDefinition mesgDef)
- Specified by:
onMesgDefinition
in interface MesgDefinitionListener
onMesg
public void onMesg(Mesg mesg)
- Specified by:
onMesg
in interface MesgListener