|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||
| Packages that use Match | |
|---|---|
| fiftyone.mobile.detection | |
| fiftyone.mobile.detection.entities | |
| Uses of Match in fiftyone.mobile.detection |
|---|
| Methods in fiftyone.mobile.detection that return Match | |
|---|---|
Match |
Provider.createMatch()
Creates a new match object to be used for matching. |
Match |
Provider.match(Map<String,String> headers)
For a given collection of HTTP headers returns a match containing information about the capabilities of the device and it's components. |
Match |
Provider.match(Map<String,String> headers,
Match match)
For a given collection of HTTP headers returns a match containing information about the capabilities of the device and it's components. |
Match |
Provider.match(String targetUserAgent)
For a given user agent returns a match containing information about the capabilities of the device and it's components. |
Match |
Provider.match(String targetUserAgent,
Match match)
For a given user agent returns a match containing information about the capabilities of the device and it's components. |
private Match |
Provider.matchNoCache(String targetUserAgent,
Match match)
|
| Methods in fiftyone.mobile.detection with parameters of type Match | |
|---|---|
private void |
Controller.evaluate(Match match)
Evaluates the match at the current character position until there are no more characters left to evaluate. |
private void |
Controller.evaluateNumeric(Match match)
|
private void |
BaseScore.evaluateSignature(Match match,
Signature signature,
int lastNodeCharacter)
|
(package private) void |
BaseScore.evaluateSignatures(Match match,
Match.RankedSignatureIterator closestSignatures)
|
protected int |
NearestScore.getInitialScore(Match match,
Signature signature,
int lastNodeCharacter)
|
protected int |
ClosestScore.getInitialScore(Match match,
Signature signature,
int lastNodeCharacter)
Calculate the initial score based on the difference in length of the right most node and the target user agent. |
protected abstract int |
BaseScore.getInitialScore(Match match,
Signature signature,
int lastNodeCharacter)
Sets any initial score before each node is evaluated. |
protected int |
NearestScore.getScore(Match match,
Node node)
If the sub string is contained in the target but in a different position return the difference between the two sub string positions. |
protected int |
ClosestScore.getScore(Match match,
Node node)
Returns the difference score between the node and the target user agent working from right to left. |
protected abstract int |
BaseScore.getScore(Match match,
Node node)
Gets the score for the specific node of the signature. |
private int |
BaseScore.getScore(Match match,
Signature signature,
int lastNodeCharacter)
|
Match |
Provider.match(Map<String,String> headers,
Match match)
For a given collection of HTTP headers returns a match containing information about the capabilities of the device and it's components. |
void |
Controller.match(Match match)
Entry point to the detection process. |
Match |
Provider.match(String targetUserAgent,
Match match)
For a given user agent returns a match containing information about the capabilities of the device and it's components. |
private void |
Controller.matchDefault(Match match)
The detection failed and a default match needs to be returned. |
private Match |
Provider.matchNoCache(String targetUserAgent,
Match match)
|
| Constructors in fiftyone.mobile.detection with parameters of type Match | |
|---|---|
Match.MatchState(Match match)
Creates the state based on the match provided. |
|
| Uses of Match in fiftyone.mobile.detection.entities |
|---|
| Methods in fiftyone.mobile.detection.entities with parameters of type Match | |
|---|---|
Node |
Node.getCompleteNode(Match match)
Returns a complete node for the match object provided. |
Node |
Node.getCompleteNumericNode(Match match)
|
private Integer |
Node.getCurrentPositionAsNumeric(Match match)
Returns the node position as a number. |
boolean |
Node.getIsOverlap(Match match)
Returns true if any of the nodes in the match have overlapping characters with this one. |
(package private) Node |
Node.getNextNode(Match match)
Returns the next node for the characters provided from the start index for the number of characters specified. |
|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||