|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectfiftyone.device.example.Shared
public class Shared
Contains various constants used in the examples and convenience methods for accessing example data files which accommodate the styles of various IDEs in starting programs with the module as the working directory or the root of the project as working directory.
| Field Summary | |
|---|---|
static String |
BASE_DIRECTORY
Assumes working directory is of this module. |
static String |
GOOD_USER_AGENTS_FILE
|
static String |
LITE_PATTERN_V31
|
static String |
LITE_PATTERN_V32
|
static String |
LITE_TRIE_V30
|
static String |
LITE_TRIE_V32
|
static String[] |
USERAGENTS
A small collection of actual HTTP User-Agent header values for testing |
| Constructor Summary | |
|---|---|
Shared()
|
|
| Method Summary | |
|---|---|
static String |
getGoodUserAgentsFile()
get the name of the sample HTTP User-Agent file containing 20,000 HTTP User-Agent header values |
static String |
getLitePatternV31()
get the name of the V3.1 Pattern Detection file |
static String |
getLitePatternV32()
get the name of the V3.2 Pattern Detection file |
static String |
getLiteTrieV30()
get the name of the V3.0 Trie Detection file |
static String |
getLiteTrieV32()
get the name of the V3.2 Trie Detection file |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final String[] USERAGENTS
public static String GOOD_USER_AGENTS_FILE
public static String LITE_PATTERN_V31
public static String LITE_PATTERN_V32
public static String LITE_TRIE_V30
public static String LITE_TRIE_V32
public static String BASE_DIRECTORY
| Constructor Detail |
|---|
public Shared()
| Method Detail |
|---|
public static String getGoodUserAgentsFile()
public static String getLitePatternV31()
public static String getLitePatternV32()
public static String getLiteTrieV30()
public static String getLiteTrieV32()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||