51Degrees Device Detection Java  4.4

Device detection services for 51Degrees Pipeline

fiftyone.devicedetection.examples.console.UpdateDataFile Class Reference

Detailed Description

This example illustrates various parameters that can be adjusted when using the on-premise device detection engine, and controls when a new data file is sought and when it is loaded by the device detection software.

Three main aspects are demonstrated:

  1. Update on Start-Up
  2. Filesystem Watcher
  3. Daily auto-update

To run this example you must obtain a license key purchased from our pricing page. Look for our "Bigger" or "Biggest" options. This license key must be supplied as a command line argument or by setting an environment variable or system property called UpdateDataFile#UPDATE_EXAMPLE_LICENSE_KEY_NAME

Collaboration diagram for fiftyone.devicedetection.examples.console.UpdateDataFile:



class  UpdateCompletionListener

Static Public Member Functions

static void  main (String[] args) throws Exception

Static Public Attributes

static final String  UPDATE_EXAMPLE_LICENSE_KEY_NAME = "LicenseKey"
static final String  DEFAULT_DATA_FILENAME

Member Data Documentation


final String fiftyone.devicedetection.examples.console.UpdateDataFile.DEFAULT_DATA_FILENAME
Initial value:
System.getProperty("user.dir") + File.separator + ENTERPRISE_HASH_DATA_FILE_NAME