Class FileReference

java.lang.Object
com.flir.thermalsdk.live.importing.FileReference
All Implemented Interfaces:
Comparable<FileReference>

public class FileReference extends Object implements Comparable<FileReference>
Abstract file path on Camera's filesystem.
  • Constructor Details

    • FileReference

      public FileReference(Location location, String path)
  • Method Details

    • getLocation

      public Location getLocation()
      Get base part of the file path.
    • getPath

      public String getPath()
      Get relative path to the location. Example: Both "image.jpg" and "/image.jpg" would refer to an image file in the folder of location. Note: The path is expressed in a camera-compatible format using forward slashes (/) as the separator. "/image.jpg" would be a valid path even if Atlas Android SDK runs on a Windows system, so utilities like java.io.File.separator should be avoided here.
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • compareTo

      public int compareTo(FileReference that)
      Specified by:
      compareTo in interface Comparable<FileReference>