Class ControlTowerIrDatabase
java.lang.Object
org.harctoolbox.irscrutinizer.importer.Importer
org.harctoolbox.irscrutinizer.importer.DatabaseImporter
org.harctoolbox.irscrutinizer.importer.ControlTowerIrDatabase
- All Implemented Interfaces:
ICommandImporter
,IImporter
,IRemoteSetImporter
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
static class
-
Field Summary
-
Constructor Summary
ConstructorDescriptionControlTowerIrDatabase
(boolean verbose) ControlTowerIrDatabase
(String apiKey, boolean verbose) ControlTowerIrDatabase
(String email, String password, boolean verbose) -
Method Summary
Modifier and TypeMethodDescriptionvoid
getCodeset
(int setId, boolean email) getCodesetTable
(String manufacturerKey, String deviceTypeKey) getCommands
(int setId) getDeviceTypes
(String manufacturerKey) getManufacturers
(String type) org.harctoolbox.girr.Remote.MetaData
Not called.getModel
(int setId) org.harctoolbox.girr.RemoteSet
void
void
login()
void
logout()
static void
Methods inherited from class org.harctoolbox.irscrutinizer.importer.Importer
addCommand, addCommands, clearCommands, getAbsoluteTolerance, getChopThreshold, getCommand, getCommandIndex, getCommands, getConcatenatedCommands, getCreatingUser, getDummyGap, getEndingTimeout, getFallbackFrequency, getHomeUrl, getMinRepeatLastGap, getOrigin, getRelativeTolerance, isGenerateCcf, isGenerateRaw, isInvokeAnalyzer, isInvokeCleaner, isInvokeDecoder, isInvokeRepeatFinder, isVerbose, prepareLoad, setProperties, uniqueName
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
-
Field Details
-
protocol
- See Also:
-
controlTowerIrDatabaseHost
- See Also:
-
portNo
public static final int portNo- See Also:
-
path
- See Also:
-
-
Constructor Details
-
ControlTowerIrDatabase
-
ControlTowerIrDatabase
public ControlTowerIrDatabase(boolean verbose) -
ControlTowerIrDatabase
-
-
Method Details
-
main
-
login
public void login() throws MalformedURLException, IOException, ControlTowerIrDatabase.LoginException -
logout
public void logout() throws MalformedURLException, IOException, ControlTowerIrDatabase.LoginException -
getStatus
- Throws:
IOException
-
getManufacturers
- Throws:
IOException
-
getDeviceTypes
- Throws:
IOException
-
getDeviceTypes
- Throws:
IOException
-
getManufacturers
- Throws:
IOException
-
getModels
- Throws:
IOException
-
getModel
- Throws:
IOException
-
getCodesetTable
public Map<String,String> getCodesetTable(String manufacturerKey, String deviceTypeKey) throws IOException - Throws:
IOException
-
getCommands
- Throws:
IOException
-
getCodeset
public void getCodeset(int setId, boolean email) throws IOException, ControlTowerIrDatabase.LoginException -
load
- Throws:
IOException
-
getRemoteSet
public org.harctoolbox.girr.RemoteSet getRemoteSet()- Specified by:
getRemoteSet
in interfaceIRemoteSetImporter
-
getFormatName
- Specified by:
getFormatName
in interfaceIImporter
- Returns:
- Name of the importer. May contain spaces and other "funny" characters. Should be one word, and not end with "Importer" or such.
-
getMetaData
public org.harctoolbox.girr.Remote.MetaData getMetaData()Not called.- Specified by:
getMetaData
in interfaceICommandImporter
- Returns:
- Nuthin...
-