public final class IndexAssetCommand extends Command
| Modifier and Type | Class and Description |
|---|---|
static class |
IndexAssetCommand.IndexObject |
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
INDEXES_DIR |
static java.lang.String |
OBJECTS_DIR |
| Constructor and Description |
|---|
IndexAssetCommand(LaunchServer server) |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getArgsDescription() |
java.lang.String |
getUsageDescription() |
void |
invoke(java.lang.String... args) |
static java.nio.file.Path |
resolveIndexFile(java.nio.file.Path assetDir,
java.lang.String name) |
static java.nio.file.Path |
resolveObjectFile(java.nio.file.Path assetDir,
java.lang.String hash) |
public static final java.lang.String INDEXES_DIR
public static final java.lang.String OBJECTS_DIR
public IndexAssetCommand(LaunchServer server)
public static java.nio.file.Path resolveIndexFile(java.nio.file.Path assetDir,
java.lang.String name)
public static java.nio.file.Path resolveObjectFile(java.nio.file.Path assetDir,
java.lang.String hash)
public java.lang.String getArgsDescription()
getArgsDescription in class pro.gravit.utils.command.Commandpublic java.lang.String getUsageDescription()
getUsageDescription in class pro.gravit.utils.command.Commandpublic void invoke(java.lang.String... args)
throws java.lang.Exception
invoke in class pro.gravit.utils.command.Commandjava.lang.Exception