|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.milyn.useragent.MockUAContext
public class MockUAContext
Mock UAContext implemntation.
| Field Summary | |
|---|---|
String |
commonName
|
DefaultProfileSet |
profileSet
|
| Constructor Summary | |
|---|---|
MockUAContext(String commonName)
|
|
| Method Summary | |
|---|---|
void |
addProfile(String profile)
Add profile to the ProfileSet. |
void |
addProfiles(String[] profiles)
Add a list of profiles to the ProfileSet. |
String |
getCommonName()
Get the useragent common name. |
ProfileSet |
getProfileSet()
Get the ProfileSet for the device. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public String commonName
public DefaultProfileSet profileSet
| Constructor Detail |
|---|
public MockUAContext(String commonName)
| Method Detail |
|---|
public void addProfile(String profile)
profile - The profile to add.public void addProfiles(String[] profiles)
profiles - The array of profiles to add.public String getCommonName()
UAContext
getCommonName in interface UAContextpublic ProfileSet getProfileSet()
UAContext
getProfileSet in interface UAContext
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||