code: public static Path get(String appName) {
          final Path applicationDataDirectory = getPath(appName);
  
          try {
              Files.createDirectories(applicationDataDirectory);
          } catch (IOException ioe) {
              throw new RuntimeException("Couldn't find/create AppDataDirectory", ioe);
          }
  
          return applicationDataDirectory;
      }
docs: Get and create if necessary the Path to the application data directory.
  
  @param appName The name of the current application
  @return Path to the application data directory