|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.sf.uadetector.OperatingSystem
public final class OperatingSystem
OperatingSystem is an immutable entity that represents the informations about an operating system like Linux,
Mac OS X or Windows.
| Field Summary | |
|---|---|
static OperatingSystem |
EMPTY
|
| Constructor Summary | |
|---|---|
OperatingSystem(OperatingSystemFamily family,
java.lang.String familyName,
java.lang.String icon,
java.lang.String name,
java.lang.String producer,
java.lang.String producerUrl,
java.lang.String url,
VersionNumber versionNumber)
|
|
| Method Summary | |
|---|---|
boolean |
equals(java.lang.Object obj)
|
OperatingSystemFamily |
getFamily()
Gets the family of an operating system. |
java.lang.String |
getFamilyName()
Gets the family name of an operating system. |
java.lang.String |
getIcon()
Gets the icon name of an operating system. |
java.lang.String |
getName()
Gets the name of an operating system. |
java.lang.String |
getProducer()
Returns the manufacturer of an operating system. |
java.lang.String |
getProducerUrl()
Returns the URL to the main website of the manufacturer of an operating system. |
java.lang.String |
getUrl()
Returns the URL to the product or information page of an operating system. |
VersionNumber |
getVersionNumber()
Gets the version number of an operating system. |
int |
hashCode()
|
java.lang.String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static final OperatingSystem EMPTY
| Constructor Detail |
|---|
public OperatingSystem(@Nonnull
OperatingSystemFamily family,
@Nonnull
java.lang.String familyName,
@Nonnull
java.lang.String icon,
@Nonnull
java.lang.String name,
@Nonnull
java.lang.String producer,
@Nonnull
java.lang.String producerUrl,
@Nonnull
java.lang.String url,
@Nonnull
VersionNumber versionNumber)
| Method Detail |
|---|
public boolean equals(java.lang.Object obj)
equals in class java.lang.Objectpublic OperatingSystemFamily getFamily()
ReadableOperatingSystem
getFamily in interface ReadableOperatingSystempublic java.lang.String getFamilyName()
ReadableOperatingSystem
getFamilyName in interface ReadableOperatingSystempublic java.lang.String getIcon()
ReadableOperatingSystem
getIcon in interface ReadableOperatingSystempublic java.lang.String getName()
ReadableOperatingSystem
getName in interface ReadableOperatingSystempublic java.lang.String getProducer()
ReadableOperatingSystem
getProducer in interface ReadableOperatingSystempublic java.lang.String getProducerUrl()
ReadableOperatingSystem
getProducerUrl in interface ReadableOperatingSystempublic java.lang.String getUrl()
ReadableOperatingSystem
getUrl in interface ReadableOperatingSystempublic VersionNumber getVersionNumber()
ReadableOperatingSystem
getVersionNumber in interface ReadableOperatingSystempublic int hashCode()
hashCode in class java.lang.Objectpublic java.lang.String toString()
toString in class java.lang.Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||