Class AudioSongLocation

    • Constructor Detail

      • AudioSongLocation

        public AudioSongLocation​(String location)
      • AudioSongLocation

        public AudioSongLocation​(File file)
      • AudioSongLocation

        public AudioSongLocation​(Path path)
    • Method Detail

      • getLocation

        public String getLocation()
      • getCanonicalFile

        public Path getCanonicalFile()
      • toCanonical

        public static Path toCanonical​(Path file)
        Returns the 'real' representation of the given file via Path.toRealPath(LinkOption...), or - if that's impossible due to an IOException or because the file does not exist - the absolute file name.
        Parameters:
        file - file
        Returns:
        canonical or as fallback absolute filename.
      • getFile

        public Path getFile()
      • isFile

        public boolean isFile()