|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.nokia.mid.iapinfo.AccessPoint
public class AccessPoint
Stores access point related information, such as:
All information is defined and obtained from operating system. In order to make connection with specific access point use :
AccessPoint ap; ... Connection.open(ap.getURL("http://www.nokia.com"));
Method Summary | |
---|---|
java.lang.String |
getBearerType()
Gets bearer type name of the access point defined in the system E.g. |
int |
getID()
Gets the ID of the access point. |
java.lang.String |
getName()
Gets the name of the access point. |
java.lang.String |
getServiceType()
Gets the service type name of the access point defined in the system. |
java.lang.String |
getURL(java.lang.String aURL)
Returns url with access point ID parameter added. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public java.lang.String getServiceType()
public java.lang.String getBearerType()
public int getID()
public java.lang.String getName()
public java.lang.String getURL(java.lang.String aURL)
getURL("http://www.nokia.com:80");
returns "http://www.nokia.com:80;nokia_apnid=2"
when current AccessPoint ID is 2
aURL
- the original URL
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |