org.harctoolbox.irscrutinizer.exporter
Class WaveExporter
java.lang.Object
org.harctoolbox.irscrutinizer.exporter.Exporter
org.harctoolbox.irscrutinizer.exporter.CommandExporter
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...
| 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)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
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)
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