minified-launch/com.dervarex.minified.launch.profile
ProfileFactory
classSource
public class ProfileFactoryConstructors
public ProfileFactory()Methods
LaunchConfiguration load(Path)Load a LaunchConfiguration from a specific pathvoid save(LaunchConfiguration, Path)Save a LaunchConfiguration to the specified path as a JSON fileload(Path)
staticSource
public static LaunchConfiguration load(Path path)Load a LaunchConfiguration from a specific path
| Parameters | ||
|---|---|---|
path | Path | The path of the JSON file that was saved by save(LaunchConfiguration, Path) |
| Returns | ||
LaunchConfiguration | The 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 | ||
|---|---|---|
profile | LaunchConfiguration | The LaunchConfiguration that should be saved |
path | Path | The full path to the JSON file where it should be saved to |