Package org.harctoolbox.ircore
Class MultiParser
java.lang.Object
org.harctoolbox.ircore.AbstractIrParser
org.harctoolbox.ircore.MultiParser
- Direct Known Subclasses:
CleanerParser
,RepeatFinderParser
-
Constructor Summary
ConstructorDescriptionMultiParser
(Iterable<? extends CharSequence> args) MultiParser
(String source) MultiParser
(List<IrSignalParser> parsers, Iterable<? extends CharSequence> args) MultiParser
(List<IrSignalParser> parsers, String source) -
Method Summary
Modifier and TypeMethodDescriptionvoid
addParser
(IrSignalParser newParser) static List<IrSignalParser>
ircoreParsersList
(String source) static MultiParser
newIrCoreParser
(String source) static MultiParser
newIrCoreParser
(List<? extends CharSequence> args) toIrSequence
(Double dummyGap) toIrSignal
(Double fallbackFrequency, Double dummyGap) toModulatedIrSequence
(Double fallbackFrequency, Double dummyGap) 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
-
MultiParser
-
MultiParser
-
MultiParser
-
MultiParser
-
-
Method Details
-
ircoreParsersList
-
newIrCoreParser
-
newIrCoreParser
-
addParser
-
toIrSignal
public IrSignal toIrSignal(Double fallbackFrequency, Double dummyGap) throws InvalidArgumentException - Specified by:
toIrSignal
in classAbstractIrParser
- Throws:
InvalidArgumentException
-
toIrSequence
- Overrides:
toIrSequence
in classAbstractIrParser
- Throws:
InvalidArgumentException
-
toModulatedIrSequence
public ModulatedIrSequence toModulatedIrSequence(Double fallbackFrequency, Double dummyGap) throws InvalidArgumentException - Overrides:
toModulatedIrSequence
in classAbstractIrParser
- Throws:
InvalidArgumentException
-
toList
public List<IrSequence> toList(Double dummyGap) throws OddSequenceLengthException, InvalidArgumentException - Overrides:
toList
in classAbstractIrParser
- Parameters:
dummyGap
-- Returns:
- Throws:
OddSequenceLengthException
InvalidArgumentException
-