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
Constructors -
Method Summary
Modifier and TypeMethodDescriptionString[][]org.harctoolbox.ircore.ModulatedIrSequencevoidvoidvoidsetDivideCarrier(boolean divideCarrier) Methods inherited from class org.harctoolbox.irscrutinizer.importer.FileImporter
canImportDirectories, dumbLoad, getFileExtensions, ignored, load, loadFileSelector, possiblyZipLoadMethods 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, uniqueNameMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods 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:
loadin classFileImporter- Throws:
IOException
-
load
public void load(File file) throws IOException, ParseException, org.harctoolbox.ircore.InvalidArgumentException - Throws:
IOExceptionParseExceptionorg.harctoolbox.ircore.InvalidArgumentException
-
getFileExtensions
- Specified by:
getFileExtensionsin interfaceIFileImporter- Specified by:
getFileExtensionsin classFileImporter
-
getFormatName
- Specified by:
getFormatNamein 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:
getModulatedIrSequencein interfaceIModulatedIrSequenceImporter- Returns:
- the ModulatedIrSequence read.
-