Class Mode2Parser

java.lang.Object
org.harctoolbox.harchardware.ir.Mode2Parser

public class Mode2Parser extends Object
This class contains a parser for mode2 files.
  • Field Details

    • DUMMYGAP

      public static final int DUMMYGAP
      Added at the end of IR sequences that would otherwise end with a flash.
      See Also:
    • DEFAULT_THRESHOLD

      public static final int DEFAULT_THRESHOLD
      See Also:
  • Constructor Details

  • Method Details

    • main

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

      public boolean isValid()
    • close

      public void close() throws IOException
      Throws:
      IOException
    • readIrSequencesUntilEOF

      public List<org.harctoolbox.ircore.IrSequence> readIrSequencesUntilEOF() throws IOException
      Throws:
      IOException
    • readIrSequence

      public org.harctoolbox.ircore.IrSequence readIrSequence() throws ParseException, IOException
      Throws:
      ParseException
      IOException
    • setThreshold

      public void setThreshold(int threshold)
      Parameters:
      threshold - the threshold to set