org.harctoolbox.irscrutinizer.exporter
Class TextExporter

java.lang.Object
  extended by org.harctoolbox.irscrutinizer.exporter.Exporter
      extended by org.harctoolbox.irscrutinizer.exporter.RemoteSetExporter
          extended by 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...


Field Summary
 
Fields inherited from class org.harctoolbox.irscrutinizer.exporter.RemoteSetExporter
creatingUser
 
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)
           
 
Method Summary
 void export(org.harctoolbox.girr.RemoteSet remoteSet, java.lang.String title, int count, java.io.File file)
           
 java.io.File export(java.lang.String payload, boolean automaticFilenames, java.awt.Component parent)
           
 void export(java.lang.String payload, java.io.File exportFile)
           
 java.lang.String[][] getFileExtensions()
           
 java.lang.String getFormatName()
           
 java.lang.String getPreferredFileExtension()
           
 boolean supportsEmbeddedFormats()
           
 
Methods inherited from class org.harctoolbox.irscrutinizer.exporter.RemoteSetExporter
considersRepetitions, export, export, export, export, export, export, 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.IRemoteSetExporter
export, export, export, export, export
 
Methods inherited from interface org.harctoolbox.irscrutinizer.exporter.ICommandExporter
considersRepetitions, export, export
 

Constructor Detail

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)
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(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