public enum MatchMethods extends Enum<MatchMethods>
| Enum Constant and Description |
|---|
CLOSEST
No signature matched precisely and some relevant characters may be
different between the returned signature and the target User-Agent.
|
EXACT
The signature returned matches precisely with the target User-Agent.
|
NEAREST
NEAREST The signature returned contains all the same sub strings as
the target User-Agent, but there are minor differences in position.
|
NONE
No match could be determined between the target User-Agent and the list
of signatures.
|
NUMERIC
The signature returned matches the target User-Agent with only minor
differences between numeric numbers.
|
| Modifier and Type | Method and Description |
|---|---|
int |
getMatchMethods() |
static MatchMethods |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static MatchMethods[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final MatchMethods NONE
public static final MatchMethods EXACT
public static final MatchMethods NUMERIC
public static final MatchMethods NEAREST
public static final MatchMethods CLOSEST
public static MatchMethods[] values()
for (MatchMethods c : MatchMethods.values()) System.out.println(c);
public static MatchMethods valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic int getMatchMethods()
Copyright © 2015 51Degrees. All rights reserved.