Class SaveProfilesCommand
- java.lang.Object
-
- pro.gravit.utils.command.Command
-
- pro.gravit.launchserver.command.Command
-
- pro.gravit.launchserver.command.hash.SaveProfilesCommand
-
public class SaveProfilesCommand extends Command
-
-
Constructor Summary
Constructors Constructor Description SaveProfilesCommand(LaunchServer server)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringgetArgsDescription()java.lang.StringgetUsageDescription()voidinvoke(java.lang.String... args)static voidsaveProfile(pro.gravit.launcher.profiles.ClientProfile profile, java.nio.file.Path path)
-
-
-
Constructor Detail
-
SaveProfilesCommand
public SaveProfilesCommand(LaunchServer server)
-
-
Method Detail
-
saveProfile
public static void saveProfile(pro.gravit.launcher.profiles.ClientProfile profile, java.nio.file.Path path) throws java.io.IOException- Throws:
java.io.IOException
-
getArgsDescription
public java.lang.String getArgsDescription()
- Specified by:
getArgsDescriptionin classpro.gravit.utils.command.Command
-
getUsageDescription
public java.lang.String getUsageDescription()
- Specified by:
getUsageDescriptionin classpro.gravit.utils.command.Command
-
invoke
public void invoke(java.lang.String... args) throws java.lang.Exception- Specified by:
invokein classpro.gravit.utils.command.Command- Throws:
java.lang.Exception
-
-