net.sf.uadetector.internal.data.domain
Class Browser

java.lang.Object
  extended by net.sf.uadetector.internal.data.domain.Browser
All Implemented Interfaces:
java.io.Serializable, Identifiable

@Immutable
public final class Browser
extends java.lang.Object
implements Identifiable, java.io.Serializable

See Also:
Serialized Form

Nested Class Summary
static class Browser.Builder
           
 
Constructor Summary
Browser(int id, UserAgentFamily family, java.lang.String familyName, java.util.SortedSet<BrowserPattern> patterns, BrowserType type, OperatingSystem operatingSystem, java.lang.String icon, java.lang.String infoUrl, java.lang.String producer, java.lang.String producerUrl, java.lang.String url)
           
 
Method Summary
 void copyTo(UserAgent.Builder builder)
          Copy values from itself to a UserAgentInfo.Builder.
 boolean equals(java.lang.Object obj)
           
 UserAgentFamily getFamily()
           
 java.lang.String getFamilyName()
           
 java.lang.String getIcon()
           
 int getId()
          Returns the identifier (ID) of an instance.
 java.lang.String getInfoUrl()
           
 OperatingSystem getOperatingSystem()
           
 java.util.SortedSet<BrowserPattern> getPatterns()
           
 java.lang.String getProducer()
           
 java.lang.String getProducerUrl()
           
 BrowserType getType()
           
 java.lang.String getUrl()
           
 int hashCode()
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Browser

public Browser(@Nonnegative
               int id,
               @Nonnull
               UserAgentFamily family,
               @Nonnull
               java.lang.String familyName,
               @Nonnull
               java.util.SortedSet<BrowserPattern> patterns,
               @Nonnull
               BrowserType type,
               @Nonnull
               OperatingSystem operatingSystem,
               @Nonnull
               java.lang.String icon,
               @Nonnull
               java.lang.String infoUrl,
               @Nonnull
               java.lang.String producer,
               @Nonnull
               java.lang.String producerUrl,
               @Nonnull
               java.lang.String url)
Method Detail

copyTo

public void copyTo(@Nonnull
                   UserAgent.Builder builder)
Copy values from itself to a UserAgentInfo.Builder.


equals

public boolean equals(java.lang.Object obj)
Overrides:
equals in class java.lang.Object

getFamily

@Nonnull
public UserAgentFamily getFamily()

getFamilyName

@Nonnull
public java.lang.String getFamilyName()

getIcon

@Nonnull
public java.lang.String getIcon()

getId

@Nonnegative
public int getId()
Description copied from interface: Identifiable
Returns the identifier (ID) of an instance.

Specified by:
getId in interface Identifiable
Returns:
numeric identifier

getInfoUrl

@Nonnull
public java.lang.String getInfoUrl()

getOperatingSystem

@Nullable
public OperatingSystem getOperatingSystem()

getPatterns

@Nonnull
public java.util.SortedSet<BrowserPattern> getPatterns()

getProducer

@Nonnull
public java.lang.String getProducer()

getProducerUrl

@Nonnull
public java.lang.String getProducerUrl()

getType

@Nonnull
public BrowserType getType()

getUrl

@Nonnull
public java.lang.String getUrl()

hashCode

public int hashCode()
Overrides:
hashCode in class java.lang.Object

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object


Copyright © 2011-2014. All Rights Reserved.