|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ReadableUserAgent
Defines an user agent.
An user agent is a client program with which a network service can be used. The user agent is the interface to
representing contents and taking orders of an user. Examples of user agents are web browsers, email programs, news
reader and web crawlers.
The implementation of this interface may be mutable or immutable. This interface only gives access to retrieve data,
never to change it.
Method Summary | |
---|---|
ReadableDeviceCategory |
getDeviceCategory()
Gets the detected device category. |
UserAgentFamily |
getFamily()
Gets the family of an user agent. |
java.lang.String |
getIcon()
Gets the icon name of an user agent. |
java.lang.String |
getName()
Gets the name of an user agent. |
OperatingSystem |
getOperatingSystem()
Gets the operating system on which the user agent is running. |
java.lang.String |
getProducer()
Returns the manufacturer of an user agent. |
java.lang.String |
getProducerUrl()
Returns the URL to the main website of the manufacturer of an user agent. |
UserAgentType |
getType()
Returns the type of an user agent, for example, mobile browser or email client. |
java.lang.String |
getTypeName()
Returns the type name of an user agent, for example, mobile browser or email client. |
java.lang.String |
getUrl()
Returns the URL to the product or information page of an user agent. |
VersionNumber |
getVersionNumber()
Gets the version number of an user agent. |
Method Detail |
---|
@Nonnull ReadableDeviceCategory getDeviceCategory()
@Nonnull UserAgentFamily getFamily()
@Nonnull java.lang.String getIcon()
@Nonnull java.lang.String getName()
@Nonnull OperatingSystem getOperatingSystem()
@Nonnull java.lang.String getProducer()
@Nonnull java.lang.String getProducerUrl()
@Nonnull UserAgentType getType()
@Nonnull java.lang.String getTypeName()
@Nonnull java.lang.String getUrl()
@Nonnull VersionNumber getVersionNumber()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |