|
Mobile Tools for Java Release 1.0 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface ISymbolSetFactory
This API provides a mechanism to create symbols set. Two different ways are available: create from a device and create from a j2mepolish device file. The first one will be based on the device properties and the device libraries. The later is based on j2mepolish device format and will create an array of symbol sets for each device that is available on the database
EXPERIMENTAL. This class or interface has been added as part of a work in progress. There is no guarantee that this API will work or that it will remain the same. Please do not use this API without consulting with the MTJ team.
| Field Summary | |
|---|---|
static String |
DEVICE_DB_J2MEPOLISH_FILE
Constant that represents the type j2mepolish from file |
static String |
DEVICE_DB_J2MEPOLISH_JAR
Constant that represents the type j2mepolish from antenna jar |
| Method Summary | |
|---|---|
ISymbol |
createSymbol(String name,
String value)
Creates a new symbol based on the symbol name and value |
ISymbolSet |
createSymbolSet(String name)
Create a symbol set with a predefined name |
List<ISymbolSet> |
createSymbolSetFromDataBase(String type,
URI input,
IProgressMonitor monitor)
Creates a list of symbol sets based on a device data base. the device database is specified via an input URI and a type. |
ISymbolSet |
createSymbolSetFromDevice(IDevice device)
Create SymbolSet from device. |
| Field Detail |
|---|
static final String DEVICE_DB_J2MEPOLISH_JAR
static final String DEVICE_DB_J2MEPOLISH_FILE
| Method Detail |
|---|
List<ISymbolSet> createSymbolSetFromDataBase(String type,
URI input,
IProgressMonitor monitor)
throws IOException
type - a string that represents the type of the database to be importedinput - input URI of where the database ismonitor - Progress monitor, inform user about process of import.
Null is allowed.
IOExceptionISymbolSet createSymbolSetFromDevice(IDevice device)
device -
ISymbolSet createSymbolSet(String name)
name - symbol set name
ISymbol createSymbol(String name,
String value)
name - symbol namevalue - symbol value
|
Mobile Tools for Java Release 1.0 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||