org.harctoolbox.irscrutinizer.importer
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.
| Methods inherited from class org.harctoolbox.irscrutinizer.importer.Importer |
addCommand, addCommands, clearCommands, getCommand, getCommandIndex, getCommands, getConcatenatedCommands, getHomeUrl, getOrigin, prepareLoad, setCreatingUser, setFallbackFrequency, setGenerateCcf, setGenerateRaw, setInvokeDecodeIr |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
WaveImporter
public WaveImporter(boolean divideCarrier)
setDivideCarrier
public void setDivideCarrier(boolean divideCarrier)
- Parameters:
divideCarrier - the divideCarrier to set
load
public void load(java.io.File file)
throws java.io.IOException
- Specified by:
load in interface IFileImporter- Specified by:
load in class FileImporter
- Throws:
java.io.IOException
getFileExtensions
public java.lang.String[][] getFileExtensions()
- Specified by:
getFileExtensions in interface IFileImporter- Specified by:
getFileExtensions in class FileImporter
getFormatName
public java.lang.String getFormatName()
- Specified by:
getFormatName in interface IImporter
- 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.IrpMaster.ModulatedIrSequence getModulatedIrSequence()
- Specified by:
getModulatedIrSequence in interface IModulatedIrSequenceImporter
- Returns: