public class MatchResult extends Object
| Modifier and Type | Field and Description |
|---|---|
protected int |
closestSignaturesCount |
protected long |
elapsed |
protected int |
lowestScore |
protected MatchMethods |
method |
protected Node[] |
nodes |
protected int |
nodesEvaluated |
protected Profile[] |
profiles |
protected int |
rootNodesEvaluated |
protected Signature |
signature |
protected int |
signaturesCompared |
protected int |
signaturesRead |
protected int |
stringsRead |
protected String |
targetUserAgent |
| Modifier | Constructor and Description |
|---|---|
protected |
MatchResult()
Creates a default instance of MatchState.
|
| Modifier and Type | Method and Description |
|---|---|
int |
getClosestSignaturesCount() |
long |
getElapsed() |
int |
getLowestScore() |
MatchMethods |
getMethod() |
int |
getNodesEvaluated() |
Profile[] |
getProfiles() |
int |
getRootNodesEvaluated() |
Signature |
getSignature()
The signature with the closest match to the target User-Agent provided.
|
int |
getSignaturesCompared() |
int |
getSignaturesRead() |
int |
getStringsRead() |
String |
getTargetUserAgent() |
protected long elapsed
protected MatchMethods method
protected int nodesEvaluated
protected int rootNodesEvaluated
protected Signature signature
protected int signaturesCompared
protected int signaturesRead
protected int stringsRead
protected int closestSignaturesCount
protected int lowestScore
protected String targetUserAgent
protected Node[] nodes
protected Profile[] profiles
public long getElapsed()
public MatchMethods getMethod()
public int getNodesEvaluated()
public int getRootNodesEvaluated()
public Signature getSignature()
Signature for the current match.public int getSignaturesCompared()
public int getSignaturesRead()
public int getStringsRead()
public int getClosestSignaturesCount()
public int getLowestScore()
public String getTargetUserAgent()
public Profile[] getProfiles() throws IOException
IOException - if there was a problem accessing data file.Copyright © 2015 51Degrees. All rights reserved.