org.harctoolbox.irscrutinizer.exporter
Class DynamicRemoteSetExportFormat

java.lang.Object
  extended by org.harctoolbox.irscrutinizer.exporter.Exporter
      extended by org.harctoolbox.irscrutinizer.exporter.RemoteSetExporter
          extended by org.harctoolbox.irscrutinizer.exporter.DynamicRemoteSetExportFormat
All Implemented Interfaces:
ICommandExporter, IRemoteSetExporter

public class DynamicRemoteSetExportFormat
extends RemoteSetExporter
implements IRemoteSetExporter


Field Summary
 
Fields inherited from class org.harctoolbox.irscrutinizer.exporter.RemoteSetExporter
creatingUser
 
Fields inherited from class org.harctoolbox.irscrutinizer.exporter.Exporter
exportDir
 
Method Summary
 boolean considersRepetitions()
           
 void export(org.harctoolbox.girr.RemoteSet remoteSet, java.lang.String title, int count, java.io.File saveFile)
           
 java.lang.String[][] getFileExtensions()
           
 java.lang.String getFormatName()
           
 java.lang.String getPreferredFileExtension()
           
 org.w3c.dom.Document getXslt()
           
static java.util.HashMap<java.lang.String,IExporterFactory> parseExportFormats(java.io.File file, java.io.File exportDir)
           
 
Methods inherited from class org.harctoolbox.irscrutinizer.exporter.RemoteSetExporter
export, export, export, export, export, export, export, supportsEmbeddedFormats
 
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, supportsEmbeddedFormats
 
Methods inherited from interface org.harctoolbox.irscrutinizer.exporter.ICommandExporter
export, export
 

Method Detail

getXslt

public org.w3c.dom.Document getXslt()

parseExportFormats

public static java.util.HashMap<java.lang.String,IExporterFactory> parseExportFormats(java.io.File file,
                                                                                      java.io.File exportDir)
                                                                               throws javax.xml.parsers.ParserConfigurationException,
                                                                                      org.xml.sax.SAXException,
                                                                                      java.io.IOException
Throws:
javax.xml.parsers.ParserConfigurationException
org.xml.sax.SAXException
java.io.IOException

considersRepetitions

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

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.RemoteSet remoteSet,
                   java.lang.String title,
                   int count,
                   java.io.File saveFile)
            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