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
Nested ClassesModifier and TypeClassDescriptionstatic class
static class
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionControlTowerIrDatabase
(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
-
Constructor Details
-
Method Details
-
main
-
login
public void login() throws MalformedURLException, IOException, ControlTowerIrDatabase.LoginException, URISyntaxException -
logout
public void logout() throws MalformedURLException, IOException, ControlTowerIrDatabase.LoginException, URISyntaxException -
getStatus
- Throws:
IOException
URISyntaxException
-
getManufacturers
- Throws:
IOException
URISyntaxException
-
getDeviceTypes
- Throws:
IOException
URISyntaxException
-
getDeviceTypes
public Collection<String> getDeviceTypes(String manufacturerKey) throws IOException, URISyntaxException - Throws:
IOException
URISyntaxException
-
getManufacturers
- Throws:
IOException
URISyntaxException
-
getModels
public Map<String,String> getModels(String manufacturer, String type) throws IOException, URISyntaxException - Throws:
IOException
URISyntaxException
-
getModel
- Throws:
IOException
URISyntaxException
-
getCodesetTable
public Map<String,String> getCodesetTable(String manufacturerKey, String deviceTypeKey) throws IOException, URISyntaxException - Throws:
IOException
URISyntaxException
-
getCommands
- Throws:
IOException
URISyntaxException
-
getCodeset
public void getCodeset(int setId, boolean email) throws IOException, ControlTowerIrDatabase.LoginException, URISyntaxException -
load
public void load(String manufacturerKey, String deviceTypeKey, String codeSet) throws IOException, URISyntaxException - Throws:
IOException
URISyntaxException
-
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...
-