public abstract class BaseUserAgentDetail extends Object implements UserAgentDetail
Modifier and Type | Field and Description |
---|---|
protected String |
name |
protected String |
version |
Modifier | Constructor and Description |
---|---|
protected |
BaseUserAgentDetail(String name)
Constructor for a detail with a name.
|
protected |
BaseUserAgentDetail(String name,
String version)
Constructor for a detail with a name and version.
|
Modifier and Type | Method and Description |
---|---|
abstract String |
detailType()
Type of the detail represented.
|
boolean |
equals(Object o) |
int |
hashCode() |
String |
name()
Name of the detail.
|
String |
toString() |
String |
version()
Version of the detail.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
hardwareDetail, plaformDetail
protected BaseUserAgentDetail(String name, String version)
name
- version
- protected BaseUserAgentDetail(String name)
name
- public final String name()
UserAgentDetail
name
in interface UserAgentDetail
public final String version()
UserAgentDetail
version
in interface UserAgentDetail
public abstract String detailType()
UserAgentDetail
detailType
in interface UserAgentDetail
Copyright © 2016. All Rights Reserved.