◆ getHashFile()
static File fiftyone.devicedetection.shared.testhelpers.FileUtils.getHashFile | ( | ) |
static
Helper to find the location of an Enterprise or Lite Hash file in the default search scope.
- Returns
- a file or empty if not found
\r\n
static String | getHashFileName ()
Helper to find the location of an Enterprise or Lite Hash file in the default search scope. More...
|
static File | getHashFile ()
Helper to find the location of an Enterprise or Lite Hash file in the default search scope. More...
|
static File | getEvidenceFile () |
static File fiftyone.devicedetection.shared.testhelpers.FileUtils.getHashFile | ( | ) |
Helper to find the location of an Enterprise or Lite Hash file in the default search scope.
static String fiftyone.devicedetection.shared.testhelpers.FileUtils.getHashFileName | ( | ) |
Helper to find the location of an Enterprise or Lite Hash file in the default search scope.
static File fiftyone.devicedetection.shared.testhelpers.FileUtils.jarFileHelper | ( | String | file | ) |
Search the classpath for a resource.
If it doesn't exist throw an exception. If the file is in a jar then copy it to a temp file, so it can be used as an actual file.
Callers might wish to delete the temp file created when one is created and can assess whether this is the case as the name of the filename created will start with TEMP_FILE_PREFIX which they can alter to suit their needs.
Files created here have the property deleteOnExit;