|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object net.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.Object
public OperatingSystemFamily getFamily()
ReadableOperatingSystem
getFamily
in interface ReadableOperatingSystem
public java.lang.String getFamilyName()
ReadableOperatingSystem
getFamilyName
in interface ReadableOperatingSystem
public java.lang.String getIcon()
ReadableOperatingSystem
getIcon
in interface ReadableOperatingSystem
public java.lang.String getName()
ReadableOperatingSystem
getName
in interface ReadableOperatingSystem
public java.lang.String getProducer()
ReadableOperatingSystem
getProducer
in interface ReadableOperatingSystem
public java.lang.String getProducerUrl()
ReadableOperatingSystem
getProducerUrl
in interface ReadableOperatingSystem
public java.lang.String getUrl()
ReadableOperatingSystem
getUrl
in interface ReadableOperatingSystem
public VersionNumber getVersionNumber()
ReadableOperatingSystem
getVersionNumber
in interface ReadableOperatingSystem
public int hashCode()
hashCode
in class java.lang.Object
public 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 |