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
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected boolean
addCommand
(org.harctoolbox.girr.Command command) protected boolean
addCommands
(Collection<org.harctoolbox.girr.Command> commands) protected void
protected Double
protected Double
org.harctoolbox.girr.Command
getCommand
(String name) ArrayList<org.harctoolbox.girr.Command>
org.harctoolbox.ircore.ModulatedIrSequence
protected String
protected Double
protected int
protected Double
protected Double
protected Double
protected boolean
protected boolean
protected boolean
protected boolean
protected boolean
protected boolean
protected boolean
protected void
prepareLoad
(String origin) static void
setProperties
(Props newProperties) protected String
uniqueName
(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.IrpException
org.harctoolbox.ircore.IrCoreException
-
getCommandIndex
-
clearCommands
protected void clearCommands() -
getOrigin
-
getHomeUrl
-