Package org.harctoolbox.harchardware.ir
Class BroadlinkParser
java.lang.Object
org.harctoolbox.ircore.AbstractIrParser
org.harctoolbox.harchardware.ir.BroadlinkParser
- All Implemented Interfaces:
org.harctoolbox.ircore.IrSignalParser
- Direct Known Subclasses:
BroadlinkBase64Parser
,BroadlinkHexParser
public class BroadlinkParser
extends org.harctoolbox.ircore.AbstractIrParser
implements org.harctoolbox.ircore.IrSignalParser
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiongetName()
static void
static BroadlinkParser
static org.harctoolbox.ircore.IrSequence
parse
(byte[] data) static org.harctoolbox.ircore.IrSequence
org.harctoolbox.ircore.IrSequence
toIrSequence
(Double dummyGap) org.harctoolbox.ircore.IrSignal
toIrSignal
(Double fallbackFrequency, Double dummyGap) Methods inherited from class org.harctoolbox.ircore.AbstractIrParser
fixIrRemoteSilliness, getSource, mkIrSignal, mkIrSignal, toIrSequence, toIrSignal, toIrSignal, toIrSignalChop, toList, toList, toList, toListChop, toListChop, toModulatedIrSequence, toModulatedIrSequence, toModulatedIrSequence, toString
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface org.harctoolbox.ircore.IrSignalParser
toList, toModulatedIrSequence
-
Field Details
-
data
protected byte[] data
-
-
Constructor Details
-
BroadlinkParser
protected BroadlinkParser(byte[] data)
-
-
Method Details
-
newParser
-
parse
public static org.harctoolbox.ircore.IrSequence parse(String str) throws org.harctoolbox.ircore.InvalidArgumentException - Throws:
org.harctoolbox.ircore.InvalidArgumentException
-
parse
public static org.harctoolbox.ircore.IrSequence parse(byte[] data) throws org.harctoolbox.ircore.InvalidArgumentException - Throws:
org.harctoolbox.ircore.InvalidArgumentException
-
main
-
toIrSequence
public org.harctoolbox.ircore.IrSequence toIrSequence(Double dummyGap) throws org.harctoolbox.ircore.OddSequenceLengthException - Specified by:
toIrSequence
in interfaceorg.harctoolbox.ircore.IrSignalParser
- Overrides:
toIrSequence
in classorg.harctoolbox.ircore.AbstractIrParser
- Throws:
org.harctoolbox.ircore.OddSequenceLengthException
-
toIrSignal
public org.harctoolbox.ircore.IrSignal toIrSignal(Double fallbackFrequency, Double dummyGap) throws org.harctoolbox.ircore.OddSequenceLengthException - Specified by:
toIrSignal
in interfaceorg.harctoolbox.ircore.IrSignalParser
- Specified by:
toIrSignal
in classorg.harctoolbox.ircore.AbstractIrParser
- Throws:
org.harctoolbox.ircore.OddSequenceLengthException
-
getName
- Specified by:
getName
in interfaceorg.harctoolbox.ircore.IrSignalParser
-