Class Importer

java.lang.Object
org.harctoolbox.irscrutinizer.importer.Importer
Direct Known Subclasses:
DatabaseImporter, FileImporter

public abstract class Importer extends Object
This class implements functionality common to importers. It does not know to read stuff.

The present version is designed only to be used within IrScrutinizer. It is in the present form not meant as a reusable component. Nevertheless, derived classes are supposed to get properties with the protected functions getCreatingUser and such.

  • Field Details

    • origin

      protected String origin
  • Constructor Details

    • Importer

      protected Importer()
  • Method Details

    • setProperties

      public static void setProperties(Props newProperties)
    • getCreatingUser

      protected String getCreatingUser()
      Returns:
      the creatingUser
    • isInvokeDecoder

      protected boolean isInvokeDecoder()
      Returns:
      the invokeDecodeIr
    • isInvokeRepeatFinder

      protected boolean isInvokeRepeatFinder()
      Returns:
      the invokeRepeatFinder
    • isInvokeAnalyzer

      protected boolean isInvokeAnalyzer()
      Returns:
      the invokeAnalyzer
    • isInvokeCleaner

      protected boolean isInvokeCleaner()
    • isVerbose

      protected boolean isVerbose()
    • isGenerateRaw

      protected boolean isGenerateRaw()
      Returns:
      the generateRaw
    • isGenerateCcf

      protected boolean isGenerateCcf()
      Returns:
      the generateCcf
    • getFallbackFrequency

      protected Double getFallbackFrequency()
      Returns:
      the fallbackFrequency
    • getEndingTimeout

      protected int getEndingTimeout()
    • getAbsoluteTolerance

      protected Double getAbsoluteTolerance()
    • getRelativeTolerance

      protected Double getRelativeTolerance()
    • getDummyGap

      protected Double getDummyGap()
    • getMinRepeatLastGap

      protected Double getMinRepeatLastGap()
    • getChopThreshold

      protected Double getChopThreshold()
    • prepareLoad

      protected void prepareLoad(String origin)
    • uniqueName

      protected String uniqueName(String name)
    • addCommand

      protected boolean addCommand(org.harctoolbox.girr.Command command)
    • addCommands

      protected boolean addCommands(Collection<org.harctoolbox.girr.Command> commands)
    • getCommands

      public ArrayList<org.harctoolbox.girr.Command> getCommands()
    • getCommand

      public org.harctoolbox.girr.Command getCommand(String name)
    • getConcatenatedCommands

      public org.harctoolbox.ircore.ModulatedIrSequence getConcatenatedCommands() throws org.harctoolbox.irp.IrpException, org.harctoolbox.ircore.IrCoreException
      Throws:
      org.harctoolbox.irp.IrpException
      org.harctoolbox.ircore.IrCoreException
    • getCommandIndex

      public Map<String,org.harctoolbox.girr.Command> getCommandIndex()
    • clearCommands

      protected void clearCommands()
    • getOrigin

      public String getOrigin()
    • getHomeUrl

      public URL getHomeUrl()