org.harctoolbox.irscrutinizer.importer
Class IrdbImporter

java.lang.Object
  extended by org.harctoolbox.irscrutinizer.importer.Importer
      extended by org.harctoolbox.irscrutinizer.importer.DatabaseImporter
          extended by org.harctoolbox.irscrutinizer.importer.IrdbImporter
All Implemented Interfaces:
java.io.Serializable, ICommandImporter, IImporter, IRemoteSetImporter

public class IrdbImporter
extends DatabaseImporter
implements IRemoteSetImporter

See Also:
Serialized Form

Nested Class Summary
static class IrdbImporter.ProtocolDeviceSubdevice
           
 
Field Summary
 
Fields inherited from class org.harctoolbox.irscrutinizer.importer.Importer
creatingUser, fallbackFrequency, generateCcf, generateRaw, invokeDecodeIr, origin
 
Constructor Summary
IrdbImporter(java.lang.String manufacturer, boolean verbose)
           
 
Method Summary
 org.harctoolbox.girr.Command getCommand(java.lang.String deviceType, java.lang.String protocol, long device, long subdevice, java.lang.String functionName)
           
 java.util.ArrayList<org.harctoolbox.girr.Command> getCommands(java.lang.String deviceType, IrdbImporter.ProtocolDeviceSubdevice pds)
           
 java.util.Set<java.lang.String> getDeviceTypes()
           
 java.lang.String getFormatName()
           
static java.net.URI getHomeUri()
           
static java.lang.String[] getManufacturers()
           
 java.util.Set<IrdbImporter.ProtocolDeviceSubdevice> getProtocolDeviceSubdevice(java.lang.String deviceType)
           
 org.harctoolbox.girr.RemoteSet getRemoteSet()
           
 void load(java.lang.String deviceType)
           
 void load(java.lang.String deviceType, IrdbImporter.ProtocolDeviceSubdevice pds)
           
 void load(java.lang.String deviceType, java.lang.String protocol, long device, long subdevice)
           
static void main(java.lang.String[] args)
           
 void setVerbose(boolean verbose)
           
 
Methods inherited from class org.harctoolbox.irscrutinizer.importer.Importer
addCommand, addCommands, clearCommands, getCommand, getCommandIndex, getCommands, getConcatenatedCommands, getHomeUrl, getOrigin, prepareLoad, setCreatingUser, setFallbackFrequency, setGenerateCcf, setGenerateRaw, setInvokeDecodeIr
 
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.importer.ICommandImporter
getCommand, getCommands, getConcatenatedCommands
 
Methods inherited from interface org.harctoolbox.irscrutinizer.importer.IImporter
setCreatingUser, setFallbackFrequency, setGenerateCcf, setGenerateRaw, setInvokeDecodeIr
 

Constructor Detail

IrdbImporter

public IrdbImporter(java.lang.String manufacturer,
                    boolean verbose)
             throws java.io.IOException
Throws:
java.io.IOException
Method Detail

getRemoteSet

public org.harctoolbox.girr.RemoteSet getRemoteSet()
Specified by:
getRemoteSet in interface IRemoteSetImporter

getFormatName

public java.lang.String getFormatName()
Specified by:
getFormatName in interface IImporter
Returns:
Name of the importer. May contain spaces and other "funny" characters. Should be one word, and not end with "Importer" or such.

getHomeUri

public static java.net.URI getHomeUri()

setVerbose

public void setVerbose(boolean verbose)

getManufacturers

public static java.lang.String[] getManufacturers()

getDeviceTypes

public java.util.Set<java.lang.String> getDeviceTypes()

getProtocolDeviceSubdevice

public java.util.Set<IrdbImporter.ProtocolDeviceSubdevice> getProtocolDeviceSubdevice(java.lang.String deviceType)

load

public void load(java.lang.String deviceType,
                 IrdbImporter.ProtocolDeviceSubdevice pds)

load

public void load(java.lang.String deviceType)

getCommands

public java.util.ArrayList<org.harctoolbox.girr.Command> getCommands(java.lang.String deviceType,
                                                                     IrdbImporter.ProtocolDeviceSubdevice pds)

load

public void load(java.lang.String deviceType,
                 java.lang.String protocol,
                 long device,
                 long subdevice)

getCommand

public org.harctoolbox.girr.Command getCommand(java.lang.String deviceType,
                                               java.lang.String protocol,
                                               long device,
                                               long subdevice,
                                               java.lang.String functionName)

main

public static void main(java.lang.String[] args)