Class Importer
java.lang.Object
org.harctoolbox.irscrutinizer.importer.Importer
- Direct Known Subclasses:
DatabaseImporter,FileImporter
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 Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected booleanaddCommand(org.harctoolbox.girr.Command command) protected booleanaddCommands(Collection<org.harctoolbox.girr.Command> commands) protected voidprotected Doubleprotected Doubleorg.harctoolbox.girr.CommandgetCommand(String name) ArrayList<org.harctoolbox.girr.Command> org.harctoolbox.ircore.ModulatedIrSequenceprotected Stringprotected Doubleprotected intprotected Doubleprotected Doubleprotected Doubleprotected booleanprotected booleanprotected booleanprotected booleanprotected booleanprotected booleanprotected booleanprotected voidprepareLoad(String origin) static voidsetProperties(Props newProperties) protected StringuniqueName(String name)
-
Field Details
-
origin
-
-
Constructor Details
-
Importer
protected Importer()
-
-
Method Details
-
setProperties
-
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
- Returns:
- the fallbackFrequency
-
getEndingTimeout
protected int getEndingTimeout() -
getAbsoluteTolerance
-
getRelativeTolerance
-
getDummyGap
-
getMinRepeatLastGap
-
getChopThreshold
-
prepareLoad
-
uniqueName
-
addCommand
protected boolean addCommand(org.harctoolbox.girr.Command command) -
addCommands
-
getCommands
-
getCommand
-
getConcatenatedCommands
public org.harctoolbox.ircore.ModulatedIrSequence getConcatenatedCommands() throws org.harctoolbox.irp.IrpException, org.harctoolbox.ircore.IrCoreException- Throws:
org.harctoolbox.irp.IrpExceptionorg.harctoolbox.ircore.IrCoreException
-
getCommandIndex
-
clearCommands
protected void clearCommands() -
getOrigin
-
getHomeUrl
-