Package nl.basjes.parse.useragent
Interface AgentField
- All Superinterfaces:
Serializable
- All Known Implementing Classes:
AgentField.ImmutableAgentField
,AgentField.MutableAgentField
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic class
static class
-
Method Summary
-
Method Details
-
getValue
String getValue()What is the value we have for this field? If we do not know you'll get the default value that has been defined (which may be null). -
getConfidence
long getConfidence()- Returns:
- How certain are we about this value? <0 : We are uncertain. 0>= : The higher the more confident.
-
isDefaultValue
boolean isDefaultValue()- Returns:
- Is the value you are getting the default (i.e. we do not know what this is)?
-
getDefaultValue
String getDefaultValue()- Returns:
- The default value for this field in case we do not know what this is.
-
afEquals
-
afHashCode
default int afHashCode() -
afToString
-