org.harctoolbox.irscrutinizer.exporter
Class WaveExporter

java.lang.Object
  extended by org.harctoolbox.irscrutinizer.exporter.Exporter
      extended by org.harctoolbox.irscrutinizer.exporter.CommandExporter
          extended by org.harctoolbox.irscrutinizer.exporter.WaveExporter
All Implemented Interfaces:
ICommandExporter

public class WaveExporter
extends CommandExporter
implements ICommandExporter

This class does something interesting and useful. Or not...


Field Summary
 
Fields inherited from class org.harctoolbox.irscrutinizer.exporter.Exporter
exportDir
 
Constructor Summary
WaveExporter(java.io.File exportDir, org.harctoolbox.guicomponents.AudioParametersBean exportAudioParametersBean)
           
WaveExporter(java.io.File exportDir, int sampleFrequency, int sampleSize, int channels, boolean bigEndian, boolean omitTail, boolean square, boolean divideCarrier)
           
 
Method Summary
 boolean considersRepetitions()
           
 void export(org.harctoolbox.girr.Command command, java.lang.String source, java.lang.String title, int repeatCount, java.io.File exportFile)
           
 java.lang.String[][] getFileExtensions()
           
 java.lang.String getFormatName()
           
 java.lang.String getPreferredFileExtension()
           
 
Methods inherited from class org.harctoolbox.irscrutinizer.exporter.CommandExporter
export
 
Methods inherited from class org.harctoolbox.irscrutinizer.exporter.Exporter
exportFilename, getDateFormatString, getDateString, getLastSaveFile, setDateFormatFileString, setDateFormatString
 
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.exporter.ICommandExporter
export
 

Constructor Detail

WaveExporter

public WaveExporter(java.io.File exportDir,
                    int sampleFrequency,
                    int sampleSize,
                    int channels,
                    boolean bigEndian,
                    boolean omitTail,
                    boolean square,
                    boolean divideCarrier)

WaveExporter

public WaveExporter(java.io.File exportDir,
                    org.harctoolbox.guicomponents.AudioParametersBean exportAudioParametersBean)
Method Detail

getFileExtensions

public java.lang.String[][] getFileExtensions()
Specified by:
getFileExtensions in class Exporter

getFormatName

public java.lang.String getFormatName()
Specified by:
getFormatName in interface ICommandExporter
Specified by:
getFormatName in class Exporter

getPreferredFileExtension

public java.lang.String getPreferredFileExtension()
Specified by:
getPreferredFileExtension in interface ICommandExporter
Specified by:
getPreferredFileExtension in class Exporter

export

public void export(org.harctoolbox.girr.Command command,
                   java.lang.String source,
                   java.lang.String title,
                   int repeatCount,
                   java.io.File exportFile)
            throws org.harctoolbox.IrpMaster.IrpMasterException,
                   java.io.FileNotFoundException
Specified by:
export in interface ICommandExporter
Specified by:
export in class CommandExporter
Throws:
org.harctoolbox.IrpMaster.IrpMasterException
java.io.FileNotFoundException

considersRepetitions

public boolean considersRepetitions()
Specified by:
considersRepetitions in interface ICommandExporter
Overrides:
considersRepetitions in class CommandExporter