Interface ApplicationDirectoriesType

  • All Known Implementing Classes:
    ApplicationDirectories

    public interface ApplicationDirectoriesType
    The directories available to the application. The interface exposes something that aims to vaguely represent the conventions defined by the XDG Base Directory specification. Sensible equivalents are chosen for operating systems that do not purport to conform to the XDG standards.
    See Also:
    "https://specifications.freedesktop.org/basedir-spec/basedir-spec-latest.html"
    • Method Detail

      • configurationDirectory

        java.nio.file.Path configurationDirectory()
        The directory to be used for configuration files.
        Returns:
        The directory to be used for user-specific configuration files
      • dataDirectory

        java.nio.file.Path dataDirectory()
        The directory to be used for user-specific data files.
        Returns:
        The directory to be used for user-specific data files
      • cacheDirectory

        java.nio.file.Path cacheDirectory()
        The directory to be used for user-specific non-essential (cached) data.
        Returns:
        The directory to be used for user-specific non-essential (cached) data.