Class WaveImporter
java.lang.Object
org.harctoolbox.irscrutinizer.importer.Importer
org.harctoolbox.irscrutinizer.importer.FileImporter
org.harctoolbox.irscrutinizer.importer.WaveImporter
- All Implemented Interfaces:
IFileImporter
,IImporter
,IModulatedIrSequenceImporter
public class WaveImporter
extends FileImporter
implements IModulatedIrSequenceImporter, IFileImporter
This class wraps the IrpMaster Wave class to an importer.
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionString[][]
org.harctoolbox.ircore.ModulatedIrSequence
void
void
void
setDivideCarrier
(boolean divideCarrier) Methods inherited from class org.harctoolbox.irscrutinizer.importer.FileImporter
canImportDirectories, dumbLoad, getFileExtensions, ignored, load, loadFileSelector, possiblyZipLoad
Methods inherited from class org.harctoolbox.irscrutinizer.importer.Importer
addCommand, addCommands, clearCommands, getAbsoluteTolerance, getChopThreshold, getCommand, getCommandIndex, getCommands, getConcatenatedCommands, getCreatingUser, getDummyGap, getEndingTimeout, getFallbackFrequency, getHomeUrl, getMinRepeatLastGap, getOrigin, getRelativeTolerance, isGenerateCcf, isGenerateRaw, isInvokeAnalyzer, isInvokeCleaner, isInvokeDecoder, isInvokeRepeatFinder, isVerbose, prepareLoad, setProperties, uniqueName
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.harctoolbox.irscrutinizer.importer.IFileImporter
canImportDirectories, getFileExtensions, load, loadFileSelector, possiblyZipLoad
-
Constructor Details
-
WaveImporter
public WaveImporter(boolean divideCarrier)
-
-
Method Details
-
setDivideCarrier
public void setDivideCarrier(boolean divideCarrier) - Parameters:
divideCarrier
- the divideCarrier to set
-
load
- Specified by:
load
in classFileImporter
- Throws:
IOException
-
load
public void load(File file) throws IOException, ParseException, org.harctoolbox.ircore.InvalidArgumentException - Throws:
IOException
ParseException
org.harctoolbox.ircore.InvalidArgumentException
-
getFileExtensions
- Specified by:
getFileExtensions
in interfaceIFileImporter
- Specified by:
getFileExtensions
in classFileImporter
-
getFormatName
- Specified by:
getFormatName
in interfaceIImporter
- Returns:
- Name of the importer. May contain spaces and other "funny" characters. Should be one word, and not end with "Importer" or such.
-
getModulatedIrSequence
public org.harctoolbox.ircore.ModulatedIrSequence getModulatedIrSequence()- Specified by:
getModulatedIrSequence
in interfaceIModulatedIrSequenceImporter
- Returns:
- the ModulatedIrSequence read.
-