org.harctoolbox.irscrutinizer.importer
Class WaveImporter

java.lang.Object
  extended by org.harctoolbox.irscrutinizer.importer.Importer
      extended by org.harctoolbox.irscrutinizer.importer.FileImporter
          extended by 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
 
Fields inherited from class org.harctoolbox.irscrutinizer.importer.Importer
creatingUser, fallbackFrequency, generateCcf, generateRaw, invokeDecodeIr, origin
 
Constructor Summary
WaveImporter(boolean divideCarrier)
           
 
Method Summary
 java.lang.String[][] getFileExtensions()
           
 java.lang.String getFormatName()
           
 org.harctoolbox.IrpMaster.ModulatedIrSequence getModulatedIrSequence()
           
 void load(java.io.File file)
           
 void setDivideCarrier(boolean divideCarrier)
           
 
Methods inherited from class org.harctoolbox.irscrutinizer.importer.FileImporter
canImportDirectories, dumbLoad, loadFileSelector
 
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
 
Methods inherited from interface org.harctoolbox.irscrutinizer.importer.IImporter
setCreatingUser, setFallbackFrequency, setGenerateCcf, setGenerateRaw, setInvokeDecodeIr
 
Methods inherited from interface org.harctoolbox.irscrutinizer.importer.IFileImporter
canImportDirectories, loadFileSelector
 

Constructor Detail

WaveImporter

public WaveImporter(boolean divideCarrier)
Method Detail

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: