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

    Fields
    Modifier and Type
    Field
    Description
    protected byte[]
     
  • Constructor Summary

    Constructors
    Modifier
    Constructor
    Description
    protected
    BroadlinkParser(byte[] data)
     
  • Method Summary

    Modifier and Type
    Method
    Description
     
    static void
    main(String[] args)
     
     
    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

      public static BroadlinkParser newParser(String str)
    • 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

      public static void main(String[] args)
    • toIrSequence

      public org.harctoolbox.ircore.IrSequence toIrSequence(Double dummyGap) throws org.harctoolbox.ircore.OddSequenceLengthException
      Specified by:
      toIrSequence in interface org.harctoolbox.ircore.IrSignalParser
      Overrides:
      toIrSequence in class org.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 interface org.harctoolbox.ircore.IrSignalParser
      Specified by:
      toIrSignal in class org.harctoolbox.ircore.AbstractIrParser
      Throws:
      org.harctoolbox.ircore.OddSequenceLengthException
    • getName

      public String getName()
      Specified by:
      getName in interface org.harctoolbox.ircore.IrSignalParser