public class UserAgentDetectionResult
extends java.lang.Object
Constructor and Description |
---|
UserAgentDetectionResult() |
UserAgentDetectionResult(Device _device,
Browser _browser,
OS _os) |
UserAgentDetectionResult(Device _device,
Browser _browser,
OS _os,
Bot _bot) |
UserAgentDetectionResult(Device _device,
Browser _browser,
OS _os,
Locale _locale) |
UserAgentDetectionResult(Device _device,
Browser _browser,
OS _os,
Locale _locale,
java.lang.String _extensions) |
UserAgentDetectionResult(Device _device,
Browser _browser,
OS _os,
Locale _locale,
java.lang.String _extensions,
java.lang.String ignored,
java.lang.String unknown) |
UserAgentDetectionResult(Device _device,
Browser _browser,
OS _os,
Locale _locale,
java.lang.String _extensions,
java.lang.String ignored,
java.lang.String unknown,
Bot bot) |
Modifier and Type | Method and Description |
---|---|
void |
addAllExtensions(java.util.Collection<Extension> ee) |
void |
addExtension(Extension e) |
java.lang.String |
diff(java.lang.Object o) |
boolean |
equals(java.lang.Object o) |
Bot |
getBot() |
Browser |
getBrowser() |
Device |
getDevice() |
java.util.Set<Extension> |
getExtensions() |
java.lang.String |
getExtensionsAsString() |
java.lang.String |
getIgnoredTokens() |
Locale |
getLocale() |
OS |
getOperatingSystem() |
java.lang.String |
getUnknownTokens() |
int |
hashCode() |
java.lang.String |
serializeExtensions() |
void |
setBot(Bot b) |
void |
setBrowser(Browser b) |
void |
setDevice(Device d) |
void |
setLocale(Locale l) |
void |
setOperatingSystem(OS os) |
public UserAgentDetectionResult()
public UserAgentDetectionResult(Device _device, Browser _browser, OS _os, Locale _locale, java.lang.String _extensions)
public UserAgentDetectionResult(Device _device, Browser _browser, OS _os, Locale _locale, java.lang.String _extensions, java.lang.String ignored, java.lang.String unknown)
public UserAgentDetectionResult(Device _device, Browser _browser, OS _os, Locale _locale, java.lang.String _extensions, java.lang.String ignored, java.lang.String unknown, Bot bot)
public UserAgentDetectionResult(Device _device, Browser _browser, OS _os, Locale _locale)
public UserAgentDetectionResult(Device _device, Browser _browser, OS _os, Bot _bot)
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
public java.lang.String diff(java.lang.Object o)
public int hashCode()
hashCode
in class java.lang.Object
public void addExtension(Extension e)
public void addAllExtensions(java.util.Collection<Extension> ee)
public java.util.Set<Extension> getExtensions()
public java.lang.String getExtensionsAsString()
public java.lang.String serializeExtensions()
public Bot getBot()
public void setBot(Bot b)
public Device getDevice()
public void setDevice(Device d)
public Browser getBrowser()
public void setBrowser(Browser b)
public OS getOperatingSystem()
public void setOperatingSystem(OS os)
public Locale getLocale()
public void setLocale(Locale l)
public java.lang.String getIgnoredTokens()
public java.lang.String getUnknownTokens()