Class StorageFile

java.lang.Object
edu.ntnu.idi.idatt.storage.StorageFile

public class StorageFile extends Object
Utility class for system-specific path obtaining.
  • Constructor Details

    • StorageFile

      public StorageFile()
  • Method Details

    • getStorageFile

      public static Path getStorageFile()
      Method for obtaining storage file path.
      Returns:
      Path object of storage file.
    • ensureAppDataDirectoryExists

      public static void ensureAppDataDirectoryExists()
      Method for ensuring that storage directory exists.

      Attempts to create the application data directory if one does not exist.