classSource
public class ProfileFactory

Constructors

public ProfileFactory()

Methods

public static LaunchConfiguration load(Path path)
Load a LaunchConfiguration from a specific path
Parameters
pathPathThe path of the JSON file that was saved by save(LaunchConfiguration, Path)
Returns
LaunchConfigurationThe LaunchConfiguration that can be used to launch the game
public static void save(LaunchConfiguration profile, Path path)
Save a LaunchConfiguration to the specified path as a JSON file
Parameters
profileLaunchConfigurationThe LaunchConfiguration that should be saved
pathPathThe full path to the JSON file where it should be saved to