public class ProntoParser extends AbstractIrParser implements IrSignalParser
| Constructor and Description |
|---|
ProntoParser(Iterable<? extends CharSequence> args) |
ProntoParser(String source) |
| Modifier and Type | Method and Description |
|---|---|
String |
getName() |
static IrSignal |
parse(String str) |
IrSignal |
toIrSignal(Double fallbackFrequency,
Double dummyGap)
Tries to interpret the string argument as Pronto.
|
protected IrSignal |
toIrSignal(Double fallbackFrequency,
Double dummyGap,
boolean loose) |
fixIrRemoteSilliness, getSource, mkIrSignal, mkIrSignal, toIrSequence, toIrSequence, toIrSignal, toIrSignal, toIrSignalChop, toList, toList, toList, toListChop, toListChop, toModulatedIrSequence, toModulatedIrSequence, toModulatedIrSequence, toStringclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waittoIrSequence, toList, toModulatedIrSequencepublic ProntoParser(String source)
public ProntoParser(Iterable<? extends CharSequence> args)
public static IrSignal parse(String str) throws InvalidArgumentException
InvalidArgumentExceptionpublic IrSignal toIrSignal(Double fallbackFrequency, Double dummyGap) throws InvalidArgumentException
toIrSignal in interface IrSignalParsertoIrSignal in class AbstractIrParserfallbackFrequency - Modulation frequency to use, if it cannot be
inferred from the first parameter.dummyGap - InvalidArgumentException - If the signal looks like a Pronto, but is not correctly parseable.protected IrSignal toIrSignal(Double fallbackFrequency, Double dummyGap, boolean loose) throws InvalidArgumentException
InvalidArgumentExceptionpublic String getName()
getName in interface IrSignalParserCopyright © 2019. All rights reserved.