Package org.harctoolbox.analyze
Class RepeatFinderParser
java.lang.Object
org.harctoolbox.ircore.AbstractIrParser
org.harctoolbox.ircore.MultiParser
org.harctoolbox.analyze.RepeatFinderParser
-
Constructor Summary
ConstructorDescriptionRepeatFinderParser
(Iterable<? extends CharSequence> args) RepeatFinderParser
(Iterable<? extends CharSequence> args, Double absoluteTolerance, Double relativeTolerance, Double minRepeatLastGap) RepeatFinderParser
(List<IrSignalParser> parsers, String source) RepeatFinderParser
(List<IrSignalParser> parsers, String source, Double absoluteTolerance, Double relativeTolerance, Double minRepeatLastGap) -
Method Summary
Modifier and TypeMethodDescriptiontoIrSignal
(Double fallbackFrequency, Double dummyGap) Tries to interpret the string argument as one of our known formats, and return an IrSignal.toIrSignalClean
(Double fallbackFrequency, Double dummyGap) Methods inherited from class org.harctoolbox.ircore.MultiParser
addParser, ircoreParsersList, newIrCoreParser, newIrCoreParser, toIrSequence, toList, toModulatedIrSequence
Methods inherited from class org.harctoolbox.ircore.AbstractIrParser
fixIrRemoteSilliness, getSource, mkIrSignal, mkIrSignal, toIrSequence, toIrSignal, toIrSignal, toIrSignalChop, toList, toList, toListChop, toListChop, toModulatedIrSequence, toModulatedIrSequence, toString
-
Constructor Details
-
RepeatFinderParser
-
RepeatFinderParser
-
RepeatFinderParser
-
RepeatFinderParser
public RepeatFinderParser(Iterable<? extends CharSequence> args, Double absoluteTolerance, Double relativeTolerance, Double minRepeatLastGap)
-
-
Method Details
-
getRepeatFinder
-
toIrSignal
public IrSignal toIrSignal(Double fallbackFrequency, Double dummyGap) throws InvalidArgumentException Tries to interpret the string argument as one of our known formats, and return an IrSignal. Same as ProntoRawParser, but cleans up the IrSignal.- Overrides:
toIrSignal
in classMultiParser
- Parameters:
fallbackFrequency
- Modulation frequency to use, if it cannot be inferred from the first parameter.dummyGap
-- Returns:
- IrSignal, or null on failure.
- Throws:
InvalidArgumentException
-
toIrSignalClean
public IrSignal toIrSignalClean(Double fallbackFrequency, Double dummyGap) throws InvalidArgumentException - Throws:
InvalidArgumentException
-
toIrSignalClean
- Throws:
InvalidArgumentException
-