Package org.harctoolbox.ircore
Class MultilineIrSignalParser
java.lang.Object
org.harctoolbox.ircore.AbstractIrParser
org.harctoolbox.ircore.MultilineIrSignalParser
- All Implemented Interfaces:
IrSignalParser
-
Constructor Summary
ConstructorDescriptionMultilineIrSignalParser
(Iterable<? extends CharSequence> args) Equivalent to AbstractIrParser(String.join(" ", args));MultilineIrSignalParser
(String source) Main constructor -
Method Summary
Modifier and TypeMethodDescriptiongetName()
toIrSignal
(Double fallbackFrequency, Double dummyGap) toModulatedIrSequence
(Double fallbackFrequency, Double dummyGap) Methods inherited from class org.harctoolbox.ircore.AbstractIrParser
fixIrRemoteSilliness, getSource, mkIrSignal, mkIrSignal, toIrSequence, toIrSequence, toIrSignal, toIrSignal, toIrSignalChop, toList, toList, toListChop, toListChop, 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
-
Constructor Details
-
MultilineIrSignalParser
Main constructor- Parameters:
source
- string to be paraed
-
MultilineIrSignalParser
Equivalent to AbstractIrParser(String.join(" ", args));- Parameters:
args
- Will be concatenated, with space in between, then parsed.
-
-
Method Details
-
toList
- Specified by:
toList
in interfaceIrSignalParser
- Overrides:
toList
in classAbstractIrParser
- Parameters:
dummyGap
-- Returns:
- Throws:
OddSequenceLengthException
-
toModulatedIrSequence
public ModulatedIrSequence toModulatedIrSequence(Double fallbackFrequency, Double dummyGap) throws OddSequenceLengthException, InvalidArgumentException - Specified by:
toModulatedIrSequence
in interfaceIrSignalParser
- Overrides:
toModulatedIrSequence
in classAbstractIrParser
- Throws:
OddSequenceLengthException
InvalidArgumentException
-
toIrSignal
public IrSignal toIrSignal(Double fallbackFrequency, Double dummyGap) throws OddSequenceLengthException - Specified by:
toIrSignal
in interfaceIrSignalParser
- Specified by:
toIrSignal
in classAbstractIrParser
- Throws:
OddSequenceLengthException
-
getName
- Specified by:
getName
in interfaceIrSignalParser
-