|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
ObjectH2EmulatorPackageDAO
public class H2EmulatorPackageDAO
H2 database implementation of the EmuPackageDAO interface.
website: http://www.h2database.com| Constructor Summary | |
|---|---|
H2EmulatorPackageDAO(Connection conn)
Constructor |
|
| Method Summary | |
|---|---|
List<Integer> |
getEmuID(String hardwareName)
Returns the emulator ID based on a given target hardware type |
int |
getEmulatorCount()
Count the number of emulator available |
String |
getEmulatorDescription(Integer emuID)
Returns the emulator description |
String |
getEmulatorExecDir(Integer emuID)
Returns the name of the directory in which the emulator executable is located |
String |
getEmulatorExecName(Integer emuID)
Returns the emulator executable name |
String |
getEmulatorExecType(Integer emuID)
Returns the executable type associated with an emulator |
List<Integer> |
getEmulatorIDs()
Returns the IDs of all available emulator packages |
String |
getEmulatorInstructions(Integer emuID)
Returns the user instructions for an emulator |
String |
getEmulatorLanguageId(Integer emuID)
Returns the emulator language name |
String |
getEmulatorName(Integer emuID)
Returns the emulator name |
InputStream |
getEmulatorPackage(Integer emuID)
Returns the executable package associated with an emulator |
String |
getEmulatorPackageFileName(Integer emuID)
Returns the package file name associated with an emulator |
String |
getEmulatorPackageType(Integer emuID)
Returns the package type associated with an emulator |
String |
getEmulatorVersion(Integer emuID)
Returns the emulator version |
List<String> |
getHardware(Integer emuID)
Returns the list of formats supported by an emulator |
List<String> |
getHardwareIDs()
Returns a list of hardware supported by the available emulators |
List<String> |
getHardwareNames()
Returns a list of hardware names supported by the available emulators |
List<String> |
getImageFormats(Integer emuID)
Returns the list of formats supported by an emulator |
EmuLanguageList |
getLanguages()
Returns the languages from the Languages table |
String |
getPackageVersion(Integer emuID)
Returns the package file name associated with an emulator |
| Methods inherited from class Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public H2EmulatorPackageDAO(Connection conn)
conn - a connection to an H2 database| Method Detail |
|---|
public String getPackageVersion(Integer emuID)
getPackageVersion in interface EmulatorPackageDAOemuID - emulator ID
public List<Integer> getEmuID(String hardwareName)
getEmuID in interface EmulatorPackageDAOhardwareName - The type to search on
public int getEmulatorCount()
getEmulatorCount in interface EmulatorPackageDAOpublic List<Integer> getEmulatorIDs()
getEmulatorIDs in interface EmulatorPackageDAOpublic List<String> getHardwareIDs()
getHardwareIDs in interface EmulatorPackageDAOpublic List<String> getHardwareNames()
getHardwareNames in interface EmulatorPackageDAOpublic InputStream getEmulatorPackage(Integer emuID)
getEmulatorPackage in interface EmulatorPackageDAOemuID - emulator ID
public String getEmulatorPackageFileName(Integer emuID)
getEmulatorPackageFileName in interface EmulatorPackageDAOemuID - emulator ID
public String getEmulatorName(Integer emuID)
getEmulatorName in interface EmulatorPackageDAOemuID - emulator ID
public String getEmulatorVersion(Integer emuID)
getEmulatorVersion in interface EmulatorPackageDAOemuID - emulator ID
public String getEmulatorLanguageId(Integer emuID)
getEmulatorLanguageId in interface EmulatorPackageDAOemuID - emulator ID
public String getEmulatorDescription(Integer emuID)
getEmulatorDescription in interface EmulatorPackageDAOemuID - emulator ID
public String getEmulatorExecType(Integer emuID)
getEmulatorExecType in interface EmulatorPackageDAOemuID - emulator ID
public String getEmulatorInstructions(Integer emuID)
getEmulatorInstructions in interface EmulatorPackageDAOemuID - emulator ID
public String getEmulatorPackageType(Integer emuID)
getEmulatorPackageType in interface EmulatorPackageDAOemuID - emulator ID
public String getEmulatorExecName(Integer emuID)
getEmulatorExecName in interface EmulatorPackageDAOemuID - emulator ID
public String getEmulatorExecDir(Integer emuID)
getEmulatorExecDir in interface EmulatorPackageDAOemuID - emulator ID
public List<String> getImageFormats(Integer emuID)
getImageFormats in interface EmulatorPackageDAOemuID - emulator ID
public List<String> getHardware(Integer emuID)
getHardware in interface EmulatorPackageDAOemuID - emulator ID
public EmuLanguageList getLanguages()
EmulatorPackageDAO
getLanguages in interface EmulatorPackageDAO
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||