fiftyone.mobile.detection
Class Match.MatchState

java.lang.Object
  extended by fiftyone.mobile.detection.Match.MatchState
Enclosing class:
Match

 class Match.MatchState
extends Object

Used to persist the match results to the cache. Used with the SetState method of the match class to retrieve the state.


Field Summary
(package private)  int closestSignaturesCount
           
(package private)  int lowestScore
           
(package private)  MatchMethods method
           
(package private)  ArrayList<Node> nodes
           
(package private)  int nodesEvaluated
           
(package private)  Profile[] profiles
           
(package private)  int rootNodesEvaluated
           
(package private)  Signature signature
           
(package private)  int signaturesCompared
           
(package private)  int signaturesRead
           
(package private)  int stringsRead
           
(package private)  String targetUserAgent
           
(package private)  byte[] targetUserAgentArray
           
 
Constructor Summary
Match.MatchState(Match match)
          Creates the state based on the match provided.
 
Method Summary
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

method

final MatchMethods method

nodesEvaluated

final int nodesEvaluated

profiles

final Profile[] profiles

rootNodesEvaluated

final int rootNodesEvaluated

signature

final Signature signature

signaturesCompared

final int signaturesCompared

signaturesRead

final int signaturesRead

stringsRead

final int stringsRead

lowestScore

final int lowestScore

targetUserAgent

final String targetUserAgent

targetUserAgentArray

final byte[] targetUserAgentArray

nodes

final ArrayList<Node> nodes

closestSignaturesCount

final int closestSignaturesCount
Constructor Detail

Match.MatchState

Match.MatchState(Match match)
           throws IOException
Creates the state based on the match provided.

Parameters:
match -
Throws:
IOException