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, uniqueName
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getCommand, getCommands, getConcatenatedCommands
public 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
IOException
public Collection<String> getManufacturers() throws IOException
IOException
public Collection<String> getDeviceTypes() throws IOException
IOException
public Collection<String> getDeviceTypes(String manufacturerKey) throws IOException
IOException
public Collection<String> getManufacturers(String type) throws IOException
IOException
public HashMap<String,String> getModels(String manufacturer, String type) throws IOException
IOException
public ControlTowerIrDatabase.Model getModel(int setId) throws IOException
IOException
public HashMap<String,String> getCodesetTable(String manufacturerKey, String deviceTypeKey) throws IOException
IOException
public Collection<String> getCommands(int setId) throws IOException
IOException
public void getCodeset(int setId, boolean email) throws IOException, ControlTowerIrDatabase.LoginException
public void load(String manufacturerKey, String deviceTypeKey, String codeSet) throws IOException
IOException
public RemoteSet getRemoteSet()
getRemoteSet
in interface IRemoteSetImporter
public static void main(String[] args)
public String getFormatName()
getFormatName
in interface IImporter
Copyright © 2016. All rights reserved.