public class ControlTowerIrDatabase extends DatabaseImporter implements IRemoteSetImporter
| Modifier and Type | Class and Description |
|---|---|
static class |
ControlTowerIrDatabase.LoginException |
static class |
ControlTowerIrDatabase.Model |
| Modifier and Type | Field and Description |
|---|---|
static String |
controlTowerIrDatabaseHost |
static String |
path |
static int |
portNo |
static String |
protocol |
| Constructor and Description |
|---|
ControlTowerIrDatabase(boolean verbose) |
ControlTowerIrDatabase(String apiKey,
boolean verbose) |
ControlTowerIrDatabase(String email,
String password,
boolean verbose) |
| Modifier and Type | Method and Description |
|---|---|
void |
getCodeset(int setId,
boolean email) |
HashMap<String,String> |
getCodesetTable(String manufacturerKey,
String deviceTypeKey) |
Collection<String> |
getCommands(int setId) |
Collection<String> |
getDeviceTypes() |
Collection<String> |
getDeviceTypes(String manufacturerKey) |
String |
getFormatName() |
Collection<String> |
getManufacturers() |
Collection<String> |
getManufacturers(String type) |
ControlTowerIrDatabase.Model |
getModel(int setId) |
HashMap<String,String> |
getModels(String manufacturer,
String type) |
RemoteSet |
getRemoteSet() |
String |
getStatus() |
void |
load(String manufacturerKey,
String deviceTypeKey,
String codeSet) |
void |
login() |
void |
logout() |
static void |
main(String[] args) |
addCommand, addCommands, clearCommands, getCommand, getCommandIndex, getCommands, getConcatenatedCommands, getCreatingUser, getEndTimeout, getFallbackFrequency, getHomeUrl, getOrigin, isGenerateCcf, isGenerateRaw, isInvokeAnalyzer, isInvokeDecodeIr, isInvokeRepeatFinder, isVerbose, prepareLoad, setProperties, uniqueNameclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetCommand, getCommands, getConcatenatedCommandspublic static final String protocol
public static final String controlTowerIrDatabaseHost
public static final int portNo
public static final String path
public ControlTowerIrDatabase(String apiKey, boolean verbose)
public ControlTowerIrDatabase(boolean verbose)
public void login()
throws MalformedURLException,
IOException,
ControlTowerIrDatabase.LoginException
public void logout()
throws MalformedURLException,
IOException,
ControlTowerIrDatabase.LoginException
public String getStatus() throws IOException
IOExceptionpublic Collection<String> getManufacturers() throws IOException
IOExceptionpublic Collection<String> getDeviceTypes() throws IOException
IOExceptionpublic Collection<String> getDeviceTypes(String manufacturerKey) throws IOException
IOExceptionpublic Collection<String> getManufacturers(String type) throws IOException
IOExceptionpublic HashMap<String,String> getModels(String manufacturer, String type) throws IOException
IOExceptionpublic ControlTowerIrDatabase.Model getModel(int setId) throws IOException
IOExceptionpublic HashMap<String,String> getCodesetTable(String manufacturerKey, String deviceTypeKey) throws IOException
IOExceptionpublic Collection<String> getCommands(int setId) throws IOException
IOExceptionpublic void getCodeset(int setId,
boolean email)
throws IOException,
ControlTowerIrDatabase.LoginException
public void load(String manufacturerKey, String deviceTypeKey, String codeSet) throws IOException
IOExceptionpublic RemoteSet getRemoteSet()
getRemoteSet in interface IRemoteSetImporterpublic static void main(String[] args)
public String getFormatName()
getFormatName in interface IImporterCopyright © 2016. All rights reserved.