Package org.harctoolbox.ircore
Class ProntoParserLoose
java.lang.Object
org.harctoolbox.ircore.AbstractIrParser
org.harctoolbox.ircore.ProntoParser
org.harctoolbox.ircore.ProntoParserLoose
- All Implemented Interfaces:
IrSignalParser
-
Constructor Summary
ConstructorDescriptionProntoParserLoose
(Iterable<? extends CharSequence> args) ProntoParserLoose
(String source) -
Method Summary
Methods inherited from class org.harctoolbox.ircore.ProntoParser
toIrSignal
Methods inherited from class org.harctoolbox.ircore.AbstractIrParser
fixIrRemoteSilliness, getSource, mkIrSignal, mkIrSignal, toIrSequence, 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
toIrSequence, toList, toModulatedIrSequence
-
Constructor Details
-
ProntoParserLoose
-
ProntoParserLoose
-
-
Method Details
-
parse
- Throws:
InvalidArgumentException
-
toIrSignal
public IrSignal toIrSignal(Double fallbackFrequency, Double dummyGap) throws InvalidArgumentException Tries to interpret the string argument as Pronto.- Specified by:
toIrSignal
in interfaceIrSignalParser
- Overrides:
toIrSignal
in classProntoParser
- Parameters:
fallbackFrequency
- Modulation frequency to use, if it cannot be inferred from the first parameter.dummyGap
-- Returns:
- IrSignal, or null on failure.
- Throws:
InvalidArgumentException
- If the signal looks like a Pronto, but is not correctly parseable.
-
getName
- Specified by:
getName
in interfaceIrSignalParser
- Overrides:
getName
in classProntoParser
-