\r\n

51Degrees Device Detection Java  4.4

Device detection services for 51Degrees Pipeline

fiftyone.devicedetection.examples.shared.DataFileHelper Class Reference

Collaboration diagram for fiftyone.devicedetection.examples.shared.DataFileHelper:

[legend]

Classes

class  DatafileInfo

Static Public Member Functions

static DatafileInfo  getDatafileMetaData (String dataFileLocation) throws Exception
static void  logDataFileInfo (DeviceDetectionHashEngine engine)
static void  cantFindDataFile (String dataFile)
static File  getEvidenceFile (String evidenceFilename) throws Exception
Tries to find the passed file, or if null a default file. More...
static String  getDataFileLocation (String dataFilename) throws Exception
Tries to find the passed file, or if null a default file. More...

Member Function Documentation

◆ getDataFileLocation()

static String fiftyone.devicedetection.examples.shared.DataFileHelper.getDataFileLocation ( String   dataFilename ) throws Exception
static

Tries to find the passed file, or if null a default file.

Parameters
dataFilename - a filename to find
Returns
a full pathname
Exceptions
Exception - if the file was not found

◆ getEvidenceFile()

static File fiftyone.devicedetection.examples.shared.DataFileHelper.getEvidenceFile ( String   evidenceFilename ) throws Exception
static

Tries to find the passed file, or if null a default file.

Parameters
evidenceFilename - a filename to find
Returns
a File object
Exceptions
Exception - if the file was not found