org.harctoolbox.irscrutinizer.importer
Interface ICommandImporter

All Superinterfaces:
IImporter
All Known Subinterfaces:
IRemoteSetImporter
All Known Implementing Classes:
CcfImporter, CsvImporter, CsvParametrizedImporter, CsvRawImporter, GirrImporter, GlobalCacheIrDatabase, IctImporter, IrdbImporter, LircImporter, RawLineImporter, RemoteSetImporter, RmduImporter, XcfImporter

public interface ICommandImporter
extends IImporter

This interface models a class that can import a number of IR signals.


Method Summary
 org.harctoolbox.girr.Command getCommand(java.lang.String name)
           
 java.util.Collection<org.harctoolbox.girr.Command> getCommands()
           
 org.harctoolbox.IrpMaster.ModulatedIrSequence getConcatenatedCommands()
           
 
Methods inherited from interface org.harctoolbox.irscrutinizer.importer.IImporter
getFormatName, setCreatingUser, setFallbackFrequency, setGenerateCcf, setGenerateRaw, setInvokeDecodeIr
 

Method Detail

getCommands

java.util.Collection<org.harctoolbox.girr.Command> getCommands()
Returns:
A Collection of the Command-s. May contain non-unique names.

getConcatenatedCommands

org.harctoolbox.IrpMaster.ModulatedIrSequence getConcatenatedCommands()
                                                                      throws org.harctoolbox.IrpMaster.IrpMasterException
Returns:
All commands in the collection concatenated to a single sequence. Frequency and duty cycle are set to the average between minimum and maximum values by the components, if it makes sense.
Throws:
org.harctoolbox.IrpMaster.IrpMasterException

getCommand

org.harctoolbox.girr.Command getCommand(java.lang.String name)
Parameters:
name -
Returns:
One of the Command-s in the collection with the correct name, or null if not found.