org.harctoolbox.irscrutinizer.exporter
Class TextExporter
java.lang.Object
org.harctoolbox.irscrutinizer.exporter.Exporter
org.harctoolbox.irscrutinizer.exporter.RemoteSetExporter
org.harctoolbox.irscrutinizer.exporter.TextExporter
- All Implemented Interfaces:
- ICommandExporter, IRemoteSetExporter
public class TextExporter
- extends RemoteSetExporter
- implements IRemoteSetExporter
This class does something interesting and useful. Or not...
| Fields inherited from class org.harctoolbox.irscrutinizer.exporter.Exporter |
exportDir |
|
Constructor Summary |
TextExporter(java.io.File exportDir)
|
TextExporter(java.io.File exportDir,
boolean generateRaw,
boolean generateCcf,
boolean generateParameters,
org.harctoolbox.girr.Command.CommandTextFormat... extraFormatters)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TextExporter
public TextExporter(java.io.File exportDir,
boolean generateRaw,
boolean generateCcf,
boolean generateParameters,
org.harctoolbox.girr.Command.CommandTextFormat... extraFormatters)
TextExporter
public TextExporter(java.io.File exportDir)
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(java.lang.String payload,
java.io.File exportFile)
throws org.harctoolbox.IrpMaster.IrpMasterException,
java.io.FileNotFoundException
- Throws:
org.harctoolbox.IrpMaster.IrpMasterException
java.io.FileNotFoundException
export
public java.io.File export(java.lang.String payload,
boolean automaticFilenames,
java.awt.Component parent)
throws org.harctoolbox.IrpMaster.IrpMasterException,
java.io.IOException
- Throws:
org.harctoolbox.IrpMaster.IrpMasterException
java.io.IOException
export
public void export(org.harctoolbox.girr.RemoteSet remoteSet,
java.lang.String title,
int count,
java.io.File file)
throws java.io.FileNotFoundException,
java.io.IOException,
org.harctoolbox.IrpMaster.IrpMasterException
- Specified by:
export in interface IRemoteSetExporter- Specified by:
export in class RemoteSetExporter
- Throws:
java.io.FileNotFoundException
java.io.IOException
org.harctoolbox.IrpMaster.IrpMasterException
supportsEmbeddedFormats
public boolean supportsEmbeddedFormats()
- Specified by:
supportsEmbeddedFormats in interface IRemoteSetExporter- Overrides:
supportsEmbeddedFormats in class RemoteSetExporter