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 classstatic 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 TypeMethodDescriptionvoidgetCodeset(int setId, boolean email) getCodesetTable(String manufacturerKey, String deviceTypeKey) getCommands(int setId) getDeviceTypes(String manufacturerKey) getManufacturers(String type) org.harctoolbox.girr.Remote.MetaDataNot called.getModel(int setId) org.harctoolbox.girr.RemoteSetvoidvoidlogin()voidlogout()static voidMethods 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, uniqueNameMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods 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, URISyntaxException -
logout
public void logout() throws MalformedURLException, IOException, ControlTowerIrDatabase.LoginException, URISyntaxException -
getStatus
- Throws:
IOExceptionURISyntaxException
-
getManufacturers
- Throws:
IOExceptionURISyntaxException
-
getDeviceTypes
- Throws:
IOExceptionURISyntaxException
-
getDeviceTypes
public Collection<String> getDeviceTypes(String manufacturerKey) throws IOException, URISyntaxException - Throws:
IOExceptionURISyntaxException
-
getManufacturers
- Throws:
IOExceptionURISyntaxException
-
getModels
public Map<String,String> getModels(String manufacturer, String type) throws IOException, URISyntaxException - Throws:
IOExceptionURISyntaxException
-
getModel
- Throws:
IOExceptionURISyntaxException
-
getCodesetTable
public Map<String,String> getCodesetTable(String manufacturerKey, String deviceTypeKey) throws IOException, URISyntaxException - Throws:
IOExceptionURISyntaxException
-
getCommands
- Throws:
IOExceptionURISyntaxException
-
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:
IOExceptionURISyntaxException
-
getRemoteSet
public org.harctoolbox.girr.RemoteSet getRemoteSet()- Specified by:
getRemoteSetin interfaceIRemoteSetImporter
-
getFormatName
- Specified by:
getFormatNamein 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:
getMetaDatain interfaceICommandImporter- Returns:
- Nuthin...
-