From b29616f2df19a6c96927f8d5639e1b0e86c77f86 Mon Sep 17 00:00:00 2001 From: Griefed <griefed@griefed.de> Date: Tue, 20 Apr 2021 08:37:30 +0200 Subject: [PATCH 1/4] fix: Fix version check for Forge. They appear to have changed their metadata to no longer include the Minecraft version. --- .gitignore | 3 ++- .../de/griefed/ServerPackCreator/CLISetup.java | 2 +- .../griefed/ServerPackCreator/ConfigCheck.java | 12 +++++------- .../ServerPackCreator/ConfigCheckTest.java | 18 ++++++------------ 4 files changed, 14 insertions(+), 21 deletions(-) diff --git a/.gitignore b/.gitignore index 765559f99..ca6bad914 100644 --- a/.gitignore +++ b/.gitignore @@ -148,4 +148,5 @@ eclipse /server_files /fabric-manifest.xml /forge-manifest.json -/mcmanifest.json \ No newline at end of file +/mcmanifest.json +/lang.properties \ No newline at end of file diff --git a/src/main/java/de/griefed/ServerPackCreator/CLISetup.java b/src/main/java/de/griefed/ServerPackCreator/CLISetup.java index 455be5c34..a6eb41174 100644 --- a/src/main/java/de/griefed/ServerPackCreator/CLISetup.java +++ b/src/main/java/de/griefed/ServerPackCreator/CLISetup.java @@ -107,7 +107,7 @@ class CLISetup { do { System.out.print("Modloader version: "); modLoaderVersion = reader.nextLine(); - } while (!ConfigCheck.checkModloaderVersion(modLoader, modLoaderVersion, minecraftVersion)); + } while (!ConfigCheck.checkModloaderVersion(modLoader, modLoaderVersion)); appLogger.info(String.format("You entered: %s", modLoaderVersion)); System.out.println(); diff --git a/src/main/java/de/griefed/ServerPackCreator/ConfigCheck.java b/src/main/java/de/griefed/ServerPackCreator/ConfigCheck.java index e17be79f5..0fd1e3b32 100644 --- a/src/main/java/de/griefed/ServerPackCreator/ConfigCheck.java +++ b/src/main/java/de/griefed/ServerPackCreator/ConfigCheck.java @@ -108,7 +108,7 @@ class ConfigCheck { Reference.modLoader = setModloader(Reference.config.getString("modLoader")); } else { configHasError = true; } - if (checkModloaderVersion(Reference.modLoader, Reference.config.getString("modLoaderVersion"), Reference.minecraftVersion)) { + if (checkModloaderVersion(Reference.modLoader, Reference.config.getString("modLoaderVersion"))) { Reference.modLoaderVersion = Reference.config.getString("modLoaderVersion"); } else { configHasError = true; } @@ -459,12 +459,11 @@ class ConfigCheck { /** Determine whether to check for correct Forge or correct Fabric modloader version. * @param modloader String. Determines whether the check for Forge or Fabric is called. * @param modloaderVersion String. The version of the modloader to check for. - * @param minecraftVersion String. The version of Minecraft for which to check for if modloader is Forge. * @return Boolean. Returns true if the specified modloader version is correct. False if not. */ - static boolean checkModloaderVersion(String modloader, String modloaderVersion, String minecraftVersion) { + static boolean checkModloaderVersion(String modloader, String modloaderVersion) { boolean isVersionCorrect = false; - if (modloader.equalsIgnoreCase("Forge") && isForgeVersionCorrect(modloaderVersion, minecraftVersion)) { + if (modloader.equalsIgnoreCase("Forge") && isForgeVersionCorrect(modloaderVersion)) { isVersionCorrect = true; } else if (modloader.equalsIgnoreCase("Fabric") && isFabricVersionCorrect(modloaderVersion)) { isVersionCorrect = true; @@ -584,10 +583,9 @@ class ConfigCheck { /** Checks Forge version for errors (basically for its availability in Forge manifest) * @param forgeVersion String. The Forge version to check. - * @param minecraftVersion String. The Minecraft version that the modpack uses. Needed to prevent usage of Forge, for example, from MC version 1.7.10, with 1.12.2. * @return Boolean. Returns true if Forge version correct and false if it isn't correct. */ - static boolean isForgeVersionCorrect(String forgeVersion, String minecraftVersion) { + static boolean isForgeVersionCorrect(String forgeVersion) { try { URL manifestJsonURL = new URL(Reference.FORGE_MANIFEST_URL); ReadableByteChannel readableByteChannel = Channels.newChannel(manifestJsonURL.openStream()); @@ -630,7 +628,7 @@ class ConfigCheck { jsonReader.close(); manifestJSON = manifestJSON.replaceAll("\\s", ""); - return manifestJSON.trim().contains(String.format("%s-%s", minecraftVersion, forgeVersion)); + return manifestJSON.trim().contains(String.format("%s", forgeVersion)); } catch (Exception ex) { appLogger.error("An error occurred during Forge version validation.", ex); return false; diff --git a/src/test/java/de/griefed/ServerPackCreator/ConfigCheckTest.java b/src/test/java/de/griefed/ServerPackCreator/ConfigCheckTest.java index f3e3ac970..cc8bea30e 100644 --- a/src/test/java/de/griefed/ServerPackCreator/ConfigCheckTest.java +++ b/src/test/java/de/griefed/ServerPackCreator/ConfigCheckTest.java @@ -219,8 +219,7 @@ class ConfigCheckTest { void testCheckModloaderVersionFabric() { String modLoader = "Fabric"; String modLoaderVersion = "0.11.3"; - String minecraftVersion = "1.16.5"; - boolean result = ConfigCheck.checkModloaderVersion(modLoader, modLoaderVersion, minecraftVersion); + boolean result = ConfigCheck.checkModloaderVersion(modLoader, modLoaderVersion); Assertions.assertTrue(result); new File("fabric-manifest.xml").delete(); } @@ -230,8 +229,7 @@ class ConfigCheckTest { void testCheckModloaderVersionFabricIncorrect() { String modLoader = "Fabric"; String modLoaderVersion = "0.90.3"; - String minecraftVersion = "1.16.5"; - boolean result = ConfigCheck.checkModloaderVersion(modLoader, modLoaderVersion, minecraftVersion); + boolean result = ConfigCheck.checkModloaderVersion(modLoader, modLoaderVersion); Assertions.assertFalse(result); new File("fabric-manifest.xml").delete(); } @@ -241,8 +239,7 @@ class ConfigCheckTest { void testCheckModloaderVersionForge() { String modLoader = "Forge"; String modLoaderVersion = "36.1.2"; - String minecraftVersion = "1.16.5"; - boolean result = ConfigCheck.checkModloaderVersion(modLoader, modLoaderVersion, minecraftVersion); + boolean result = ConfigCheck.checkModloaderVersion(modLoader, modLoaderVersion); Assertions.assertTrue(result); new File("forge-manifest.json").delete(); } @@ -252,8 +249,7 @@ class ConfigCheckTest { void testCheckModloaderVersionForgeIncorrect() { String modLoader = "Forge"; String modLoaderVersion = "90.0.0"; - String minecraftVersion = "1.16.5"; - boolean result = ConfigCheck.checkModloaderVersion(modLoader, modLoaderVersion, minecraftVersion); + boolean result = ConfigCheck.checkModloaderVersion(modLoader, modLoaderVersion); Assertions.assertFalse(result); new File("forge-manifest.json").delete(); } @@ -298,8 +294,7 @@ class ConfigCheckTest { @Test void testIsForgeVersionCorrect() { String forgeVersion = "36.1.2"; - String minecraftVersion = "1.16.5"; - boolean result = ConfigCheck.isForgeVersionCorrect(forgeVersion, minecraftVersion); + boolean result = ConfigCheck.isForgeVersionCorrect(forgeVersion); Assertions.assertTrue(result); new File("forge-manifest.json").delete(); } @@ -308,8 +303,7 @@ class ConfigCheckTest { @Test void testIsForgeVersionFalse() { String forgeVersion = "99.0.0"; - String minecraftVersion = "1.16.5"; - boolean result = ConfigCheck.isForgeVersionCorrect(forgeVersion, minecraftVersion); + boolean result = ConfigCheck.isForgeVersionCorrect(forgeVersion); Assertions.assertFalse(result); new File("forge-manifest.json").delete(); } -- GitLab From af4d0da40f646246df5c0de91ee149e9c2ebfe67 Mon Sep 17 00:00:00 2001 From: Griefed <griefed@griefed.de> Date: Tue, 20 Apr 2021 08:43:23 +0200 Subject: [PATCH 2/4] e --- .github/workflows/tag_release_publish.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/tag_release_publish.yml b/.github/workflows/tag_release_publish.yml index 82fb1ec88..f96470559 100644 --- a/.github/workflows/tag_release_publish.yml +++ b/.github/workflows/tag_release_publish.yml @@ -23,7 +23,7 @@ jobs: with: github_token: ${{ secrets.GITHUB_TOKEN }} version_scheme: semantic - version_type: minor + version_type: patch # MAJOR.MINOR.PATCH - name: Create Release id: create_release -- GitLab From 143234b283a10e79c278ad191c5d859cac249447 Mon Sep 17 00:00:00 2001 From: Griefed <griefed@griefed.de> Date: Tue, 20 Apr 2021 09:43:05 +0200 Subject: [PATCH 3/4] feat(i18n): Add language keys from 2.x --- .../griefed/ServerPackCreator/CLISetup.java | 118 +++---- .../ServerPackCreator/ConfigCheck.java | 137 +++++---- .../griefed/ServerPackCreator/CopyFiles.java | 51 +-- .../CurseForgeModpack/CreateModpack.java | 73 ++--- .../griefed/ServerPackCreator/FilesSetup.java | 48 +-- .../de/griefed/ServerPackCreator/Main.java | 58 ++-- .../ServerPackCreator/ServerSetup.java | 41 +-- .../ServerPackCreator/ServerUtilities.java | 79 ++--- .../resources/lang/lang_de_de.properties | 268 ++++++++++++++++ .../resources/lang/lang_en_us.properties | 291 ++++++++++++++++++ .../resources/lang/lang_uk_ua.properties | 268 ++++++++++++++++ .../ServerPackCreator/CLISetupTest.java | 1 + .../ServerPackCreator/ConfigCheckTest.java | 1 + .../ServerPackCreator/CopyFilesTest.java | 1 + .../CurseForgeModpack/CreateModpackTest.java | 3 + .../ServerPackCreator/FilesSetupTest.java | 1 + .../ServerPackCreator/ServerSetupTest.java | 1 + .../ServerUtilitiesTest.java | 1 + 18 files changed, 1148 insertions(+), 293 deletions(-) diff --git a/src/main/java/de/griefed/ServerPackCreator/CLISetup.java b/src/main/java/de/griefed/ServerPackCreator/CLISetup.java index a6eb41174..6eb214d56 100644 --- a/src/main/java/de/griefed/ServerPackCreator/CLISetup.java +++ b/src/main/java/de/griefed/ServerPackCreator/CLISetup.java @@ -37,112 +37,112 @@ class CLISetup { tmpModpackDir; Scanner reader = new Scanner(System.in); - appLogger.info(String.format("You started ServerPackCreator with the \"%s\" argument. Step-by-step generation of config file initiated...", Reference.CONFIG_GEN_ARGUMENT)); + appLogger.info(String.format(LocalizationManager.getLocalizedString("clisetup.log.info.start"), Reference.CONFIG_GEN_ARGUMENT)); do { - appLogger.info("Please enter your modpack path. This path can be relative to ServerPackCreator, or absolute."); - appLogger.info("Example: \"./Some Modpack\" or \"C:\\Minecraft\\Some Modpack\""); + appLogger.info(LocalizationManager.getLocalizedString("clisetup.log.info.modpack.enter")); + appLogger.info(LocalizationManager.getLocalizedString("clisetup.log.info.modpack.example")); do { - System.out.print("Path to modpack directory: "); + System.out.print(LocalizationManager.getLocalizedString("clisetup.log.info.modpack.cli")); tmpModpackDir = reader.nextLine(); } while (!ConfigCheck.checkModpackDir(tmpModpackDir)); modpackDir = tmpModpackDir.replace("\\", "/"); - appLogger.info(String.format("You entered: %s", modpackDir)); + appLogger.info(String.format(LocalizationManager.getLocalizedString("clisetup.log.info.checkreturn"), modpackDir)); System.out.println(); - appLogger.info("Enter filenames of clientside-only mods, one per line. When you are done, simply press enter with empty input."); + appLogger.info(LocalizationManager.getLocalizedString("clisetup.log.info.clientmods.enter")); do { clientMods.addAll(readStringArray()); - appLogger.info(String.format("You entered: %s", clientMods)); - appLogger.info("If you are satisfied with these values, enter true. If not, enter false to restart clientmod configuration."); - System.out.print("Answer: "); + appLogger.info(String.format(LocalizationManager.getLocalizedString("clisetup.log.info.checkreturn"), clientMods)); + appLogger.info(LocalizationManager.getLocalizedString("clisetup.log.info.clientmods.checkreturninfo")); + System.out.print(LocalizationManager.getLocalizedString("clisetup.log.info.answer")); } while (!readBoolean()); - appLogger.info(String.format("You entered: %s", clientMods)); + appLogger.info(String.format(LocalizationManager.getLocalizedString("clisetup.log.info.checkreturn"), clientMods)); tmpClientMods = new String[clientMods.size()]; clientMods.toArray(tmpClientMods); System.out.println(); - appLogger.info("Which directories should be copied to the server pack? These are folder names inside your modpack directory."); + appLogger.info(LocalizationManager.getLocalizedString("clisetup.log.info.copydirs.enter")); do { do { copyDirs.clear(); - appLogger.info("Specify your directories you want to be copied:"); + appLogger.info(LocalizationManager.getLocalizedString("clisetup.log.info.copydirs.specify")); copyDirs.addAll(readStringArray()); } while (!ConfigCheck.checkCopyDirs(copyDirs, modpackDir)); - appLogger.info(String.format("You entered: %s", copyDirs)); - appLogger.info("If you are satisfied with these values, enter true. If not, enter false to restart clientmod configuration."); - System.out.print("Answer: "); + appLogger.info(String.format(LocalizationManager.getLocalizedString("clisetup.log.info.checkreturn"), copyDirs)); + appLogger.info(LocalizationManager.getLocalizedString("clisetup.log.info.copydirs.checkreturninfo")); + System.out.print(LocalizationManager.getLocalizedString("clisetup.log.info.answer")); } while (!readBoolean()); - appLogger.info(String.format("You entered: %s", copyDirs)); + appLogger.info(String.format(LocalizationManager.getLocalizedString("clisetup.log.info.checkreturn"), copyDirs)); tmpCopyDirs = new String[copyDirs.size()]; copyDirs.toArray(tmpCopyDirs); System.out.println(); - appLogger.info("Do you want ServerPackCreator to install the modloader server for your server pack? Must be true or false."); - System.out.print("Include modloader server installation: "); + appLogger.info(LocalizationManager.getLocalizedString("clisetup.log.info.server.enter")); + System.out.print(LocalizationManager.getLocalizedString("clisetup.log.info.server.include")); includeServerInstallation = readBoolean(); - appLogger.info(String.format("You entered: %s", includeServerInstallation)); + appLogger.info(String.format(LocalizationManager.getLocalizedString("clisetup.log.info.checkreturn"), includeServerInstallation)); - appLogger.info("Which version of Minecraft does your modpack use?"); + appLogger.info(LocalizationManager.getLocalizedString("clisetup.log.info.minecraft.enter")); do { - System.out.print("Minecraft version: "); + System.out.print(LocalizationManager.getLocalizedString("clisetup.log.info.minecraft.specify")); minecraftVersion = reader.nextLine(); } while (!ConfigCheck.isMinecraftVersionCorrect(minecraftVersion)); - appLogger.info(String.format("You entered: %s", minecraftVersion)); + appLogger.info(String.format(LocalizationManager.getLocalizedString("clisetup.log.info.checkreturn"), minecraftVersion)); System.out.println(); - appLogger.info("What modloader does your modpack use?"); + appLogger.info(LocalizationManager.getLocalizedString("clisetup.log.info.modloader.enter")); do { - System.out.print("Modloader: "); + System.out.print(LocalizationManager.getLocalizedString("clisetup.log.info.modloader.cli")); modLoader = reader.nextLine(); } while (!ConfigCheck.checkModloader(modLoader)); modLoader = ConfigCheck.setModloader(modLoader); - appLogger.info(String.format("You entered: %s", modLoader)); + appLogger.info(String.format(LocalizationManager.getLocalizedString("clisetup.log.info.checkreturn"), modLoader)); System.out.println(); - appLogger.info(String.format("What version of %s does your modpack use?", modLoader)); + appLogger.info(String.format(LocalizationManager.getLocalizedString("clisetup.log.info.modloaderversion.enter"), modLoader)); do { - System.out.print("Modloader version: "); + System.out.print(LocalizationManager.getLocalizedString("clisetup.log.info.modloaderversion.cli")); modLoaderVersion = reader.nextLine(); } while (!ConfigCheck.checkModloaderVersion(modLoader, modLoaderVersion)); - appLogger.info(String.format("You entered: %s", modLoaderVersion)); + appLogger.info(String.format(LocalizationManager.getLocalizedString("clisetup.log.info.checkreturn"), modLoaderVersion)); System.out.println(); - appLogger.info("Specify the path to your Java installation. Must end with \"java\" on Linux, or \"java.exe\" on Windows."); - appLogger.info("If you leave this empty, ServerPackCreator will try to determine the path for you."); - appLogger.info("Example Linux: /usr/bin/java | Example Windows: C:/Program Files/AdoptOpenJDK/jdk-8.0.275.1-hotspot/jre/bin/java.exe"); + appLogger.info(LocalizationManager.getLocalizedString("clisetup.log.info.java.enter")); + appLogger.info(LocalizationManager.getLocalizedString("clisetup.log.info.java.enter2")); + appLogger.info(LocalizationManager.getLocalizedString("clisetup.log.info.java.example")); do { - System.out.print("Path to your Java installation: "); + System.out.print(LocalizationManager.getLocalizedString("clisetup.log.info.java.cli")); String tmpJavaPath = reader.nextLine(); javaPath = ConfigCheck.getJavaPath(tmpJavaPath); } while (!ConfigCheck.checkJavaPath(javaPath)); System.out.println(); - appLogger.info("Do you want ServerPackCreator to include a server-icon in your server pack? Must be true or false."); - System.out.print("Include server-icon.png: "); + appLogger.info(LocalizationManager.getLocalizedString("clisetup.log.info.icon.enter")); + System.out.print(LocalizationManager.getLocalizedString("clisetup.log.info.icon.cli")); includeServerIcon = readBoolean(); - appLogger.info(String.format("You entered: %s", includeServerIcon)); + appLogger.info(String.format(LocalizationManager.getLocalizedString("clisetup.log.info.checkreturn"), includeServerIcon)); System.out.println(); - appLogger.info("Do you want ServerPackCreator to include a server.properties in your server pack? Must be true or false."); - System.out.print("Include server.properties: "); + appLogger.info(LocalizationManager.getLocalizedString("clisetup.log.info.properties.enter")); + System.out.print(LocalizationManager.getLocalizedString("clisetup.log.info.properties.cli")); includeServerProperties = readBoolean(); - appLogger.info(String.format("You entered: %s", includeServerProperties)); + appLogger.info(String.format(LocalizationManager.getLocalizedString("clisetup.log.info.checkreturn"), includeServerProperties)); System.out.println(); - appLogger.info("Do you want ServerPackCreator to include start scripts for Linux and Windows in your server pack? Must be true or false."); - System.out.print("Include start scripts: "); + appLogger.info(LocalizationManager.getLocalizedString("clisetup.log.info.scripts.enter")); + System.out.print(LocalizationManager.getLocalizedString("clisetup.log.info.scripts.cli")); includeStartScripts = readBoolean(); - appLogger.info(String.format("You entered: %s", includeStartScripts)); + appLogger.info(String.format(LocalizationManager.getLocalizedString("clisetup.log.info.checkreturn"), includeStartScripts)); System.out.println(); - appLogger.info("Do you want ServerPackCreator to create a ZIP-archive of your server pack? Must be true or false."); - System.out.print("Create ZIP-archive: "); + appLogger.info(LocalizationManager.getLocalizedString("clisetup.log.info.zip.enter")); + System.out.print(LocalizationManager.getLocalizedString("clisetup.log.info.zip.cli")); includeZipCreation = readBoolean(); - appLogger.info(String.format("You entered: %s", includeZipCreation)); + appLogger.info(String.format(LocalizationManager.getLocalizedString("clisetup.log.info.checkreturn"), includeZipCreation)); ConfigCheck.printConfig(modpackDir, clientMods, @@ -156,8 +156,8 @@ class CLISetup { includeServerProperties, includeStartScripts, includeZipCreation); - appLogger.info("If you are satisfied with these values, enter true. If not, enter false to restart config generation."); - System.out.print("Answer: "); + appLogger.info(LocalizationManager.getLocalizedString("clisetup.log.info.config.enter")); + System.out.print(LocalizationManager.getLocalizedString("clisetup.log.info.answer")); } while (!readBoolean()); reader.close(); @@ -175,7 +175,7 @@ class CLISetup { includeStartScripts, includeZipCreation )) { - appLogger.info("New config file successfully written. Thanks go to Whitebear60 for initially writing the CLI-Config-Generation."); + appLogger.info(LocalizationManager.getLocalizedString("clisetup.log.info.config.written")); } } @@ -208,19 +208,33 @@ class CLISetup { } /** A helper method for config setup. Prompts user to enter boolean values that will be stored in config and checks entered values to prevent storing non-boolean values in boolean variables. - * @return Boolean. Converts to boolean and returns value entered by user that will be stored in config. - */ + * @return Boolean. Converts to boolean and returns value entered by user that will be stored in config. + */ private static boolean readBoolean() { Scanner readerBoolean = new Scanner(System.in); String boolRead; while (true) { boolRead = readerBoolean.nextLine(); - if (boolRead.matches("[Tt]rue") || boolRead.matches("1") || boolRead.matches("[Yy]es")|| boolRead.matches("[Yy]") || boolRead.matches(LocalizationManager.getLocalizedString("cli.input.yes")) || boolRead.matches(LocalizationManager.getLocalizedString("cli.input.yes.short"))) { + if (boolRead.matches("[Tt]rue") || + boolRead.matches("[Yy]es") || + boolRead.matches("[Yy]") || + boolRead.matches("1") || + boolRead.matches(LocalizationManager.getLocalizedString("cli.input.true")) || + boolRead.matches(LocalizationManager.getLocalizedString("cli.input.yes")) || + boolRead.matches(LocalizationManager.getLocalizedString("cli.input.yes.short"))) { return true; - } else if (boolRead.matches("[Ff]alse") || boolRead.matches("0") || boolRead.matches("[Nn]o") || boolRead.matches("[Nn]" ) || boolRead.matches(LocalizationManager.getLocalizedString("cli.input.no")) || boolRead.matches(LocalizationManager.getLocalizedString("cli.input.no.short"))){ + + } else if (boolRead.matches("[Ff]alse") || + boolRead.matches("[Nn]o") || + boolRead.matches("[Nn]" ) || + boolRead.matches("0") || + boolRead.matches(LocalizationManager.getLocalizedString("cli.input.false")) || + boolRead.matches(LocalizationManager.getLocalizedString("cli.input.no")) || + boolRead.matches(LocalizationManager.getLocalizedString("cli.input.no.short"))) { return false; + } else { - appLogger.error("Incorrect value specified. Please try again."); + appLogger.error(LocalizationManager.getLocalizedString("clisetup.log.error.answer")); } } } diff --git a/src/main/java/de/griefed/ServerPackCreator/ConfigCheck.java b/src/main/java/de/griefed/ServerPackCreator/ConfigCheck.java index 0fd1e3b32..083b582c5 100644 --- a/src/main/java/de/griefed/ServerPackCreator/ConfigCheck.java +++ b/src/main/java/de/griefed/ServerPackCreator/ConfigCheck.java @@ -6,6 +6,7 @@ import com.therandomlabs.curseapi.CurseAPI; import com.therandomlabs.curseapi.CurseException; import com.typesafe.config.*; import de.griefed.ServerPackCreator.CurseForgeModpack.Modpack; +import de.griefed.ServerPackCreator.i18n.LocalizationManager; import org.apache.logging.log4j.LogManager; import org.apache.logging.log4j.Logger; import org.w3c.dom.Document; @@ -36,11 +37,11 @@ class ConfigCheck { */ public static boolean checkConfig() { boolean configHasError; - appLogger.info("Checking configuration..."); + appLogger.info(LocalizationManager.getLocalizedString("configcheck.log.info.checkconfig.start")); try { Reference.config = ConfigFactory.parseFile(Reference.configFile); } catch (ConfigException ex) { - appLogger.error("Couldn't parse config file. Consider checking your config file and fixing empty values. If the value needs to be an empty string, leave its value to \"\"."); + appLogger.error(LocalizationManager.getLocalizedString("configcheck.log.error.checkconfig.start")); } Reference.clientMods = Reference.config.getStringList("clientMods"); @@ -72,9 +73,9 @@ class ConfigCheck { Reference.includeZipCreation); if (!configHasError) { - appLogger.info("Config check successful. No errors encountered."); + appLogger.info(LocalizationManager.getLocalizedString("configcheck.log.info.checkconfig.success")); } else { - appLogger.error("Config check not successful. Check your config for errors."); + appLogger.error(LocalizationManager.getLocalizedString("configcheck.log.error.checkconfig.failure")); } return configHasError; } @@ -113,11 +114,11 @@ class ConfigCheck { } else { configHasError = true; } } else { - appLogger.info("Server installation disabled. Skipping check of:"); - appLogger.info(" Java path"); - appLogger.info(" Minecraft version"); - appLogger.info(" Modloader"); - appLogger.info(" Modloader version"); + appLogger.info(LocalizationManager.getLocalizedString("configcheck.log.info.checkconfig.skipstart")); + appLogger.info(LocalizationManager.getLocalizedString("configcheck.log.info.checkconfig.skipjava")); + appLogger.info(LocalizationManager.getLocalizedString("configcheck.log.info.checkconfig.skipminecraft")); + appLogger.info(LocalizationManager.getLocalizedString("configcheck.log.info.checkconfig.skipmodlaoder")); + appLogger.info(LocalizationManager.getLocalizedString("configcheck.log.info.checkconfig.skipmodloaderversion")); } return configHasError; } @@ -134,12 +135,12 @@ class ConfigCheck { try { projectName = CurseAPI.project(Reference.projectID).get().name(); try { displayName = Objects.requireNonNull(CurseAPI.project(Reference.projectID).get().files().fileWithID(Reference.projectFileID)).displayName(); } - catch (NullPointerException npe) { appLogger.info("INFO: Display name not found. Setting display name as file name on disk."); + catch (NullPointerException npe) { appLogger.info(LocalizationManager.getLocalizedString("configcheck.log.info.iscurse.display")); try { displayName = Objects.requireNonNull(CurseAPI.project(Reference.projectID).get().files().fileWithID(Reference.projectFileID)).nameOnDisk(); } catch (NullPointerException npe2) { displayName = String.format("%d", Reference.projectFileID); } } } - catch (CurseException cex) { appLogger.error("Error: Could not retrieve CurseForge project and file."); } + catch (CurseException cex) { appLogger.error(LocalizationManager.getLocalizedString("configcheck.log.error.iscurse.curseforge")); } Reference.modpackDir = String.format("./%s/%s", projectName, displayName); @@ -163,14 +164,14 @@ class ConfigCheck { .replace("[", ""); if (containsFabric(modpack)) { - appLogger.info("Please make sure to check the configuration for the used Fabric version after ServerPackCreator is done setting up the modpack and new config file."); + appLogger.info(LocalizationManager.getLocalizedString("configcheck.log.info.iscurse.fabric")); Reference.modLoader = "Fabric"; Reference.modLoaderVersion = latestFabricLoader(Reference.modpackDir); } else { Reference.modLoader = setModloader(modLoaderVersion[0]); Reference.modLoaderVersion = modLoaderVersion[1]; } - } catch (IOException ex) { appLogger.error("Error: There was a fault during json parsing.", ex); } + } catch (IOException ex) { appLogger.error(LocalizationManager.getLocalizedString("configcheck.log.error.iscurse.json"), ex); } if (checkJavaPath(Reference.config.getString("javaPath"))) { Reference.javaPath = Reference.config.getString("javaPath"); @@ -181,7 +182,7 @@ class ConfigCheck { } } Reference.copyDirs = suggestCopyDirs(Reference.modpackDir); - appLogger.info("Your old config file will now be replaced by a new one, with values gathered from the downloaded modpack."); + appLogger.info(LocalizationManager.getLocalizedString("configcheck.log.info.iscurse.replace")); FilesSetup.writeConfigToFile( Reference.modpackDir, CLISetup.buildString(Reference.clientMods.toString()), @@ -195,7 +196,7 @@ class ConfigCheck { } } } catch (CurseException cex) { - appLogger.error(String.format("Error: Project with ID %s could not be found", Reference.projectID), cex); + appLogger.error(String.format(LocalizationManager.getLocalizedString("configcheck.log.error.iscurse.project"), Reference.projectID), cex); configHasError = true; } return configHasError; @@ -211,7 +212,7 @@ class ConfigCheck { String[] mods; mods = modpack.getFiles().get(i).toString().split(","); if (mods[0].equalsIgnoreCase("361988") || mods[0].equalsIgnoreCase("306612")) { - appLogger.info("Fabric detected. Setting modloader to Fabric."); + appLogger.info(LocalizationManager.getLocalizedString("configcheck.log.info.containsfabric")); hasJumploader = true; } } @@ -223,7 +224,7 @@ class ConfigCheck { * @return List, String. Returns a list of directories inside the modpack, excluding well known client-side only directories which would not be needed by a server pack. If you have suggestions to this list, open an issue on https://github.com/Griefed/ServerPackCreator/issues */ private static List<String> suggestCopyDirs(String modpackDir) { - appLogger.info("Preparing a list of directories to include in server pack..."); + appLogger.info(LocalizationManager.getLocalizedString("configcheck.log.info.suggestcopydirs.start")); String[] dirsNotToCopy = { "overrides", @@ -243,11 +244,11 @@ class ConfigCheck { dirList.remove(doNotCopyList.get(i)); } copyDirs = dirList.toArray(new String[0]); - appLogger.info(String.format("Modpack directory checked. Suggested directories for copyDirs-setting are: %s", dirList)); + appLogger.info(String.format(LocalizationManager.getLocalizedString("configcheck.log.info.suggestcopydirs.list"), dirList)); return Arrays.asList(copyDirs.clone()); - } else { appLogger.error("Error: Something went wrong during the setup of the modpack. Copy dirs should never be empty. Please check the logs for errors and open an issue on https://github.com/Griefed/ServerPackCreator/issues."); } + } else { appLogger.error(LocalizationManager.getLocalizedString("configcheck.log.error.suggestcopydirs")); } return Arrays.asList(copyDirs.clone()); } @@ -265,13 +266,13 @@ class ConfigCheck { Reference.projectID = Integer.parseInt(projectFileIds[0]); Reference.projectFileID = Integer.parseInt(projectFileIds[1]); - appLogger.info("You specified a CurseForge projectID and fileID combination."); - appLogger.info(String.format("You entered: ProjectID %s | FileID %s.", Reference.projectID, Reference.projectFileID)); - appLogger.warn("WARNING: This functionality is experimental and prone to errors. If you encounter any errors, please open an issue on https://github.com/Griefed/ServerPackCreator/issues"); + appLogger.info(LocalizationManager.getLocalizedString("configcheck.log.info.checkcurseforge.info")); + appLogger.info(String.format(LocalizationManager.getLocalizedString("configcheck.log.info.checkcurseforge.return"), Reference.projectID, Reference.projectFileID)); + appLogger.warn(LocalizationManager.getLocalizedString("configcheck.log.warn.checkcurseforge.warn")); configCorrect = true; - } else { appLogger.error("INFO: You did not specify a CurseForge projectID,fileID combination or you specified an incorrect one."); } + } else { appLogger.warn(LocalizationManager.getLocalizedString("configcheck.log.warn.checkcurseforge.warn2")); } return configCorrect; } @@ -295,7 +296,7 @@ class ConfigCheck { returnBoolean = false; } else { - appLogger.warn("Warning. Couldn't parse boolean. Assuming false."); + appLogger.warn(LocalizationManager.getLocalizedString("configcheck.log.warn.converttoboolean.warn")); returnBoolean = false; } return returnBoolean; @@ -327,31 +328,31 @@ class ConfigCheck { boolean includeProperties, boolean includeScripts, boolean includeZip) { - appLogger.info("Your configuration is:"); - appLogger.info(String.format("Modpack directory: %s", modpackDirectory)); + appLogger.info(LocalizationManager.getLocalizedString("configcheck.log.info.printconfig.start")); + appLogger.info(String.format(LocalizationManager.getLocalizedString("configcheck.log.info.printconfig.modpackdir"), modpackDirectory)); if (clientsideMods.toArray().length == 0) { - appLogger.warn("No client mods specified"); + appLogger.warn(LocalizationManager.getLocalizedString("configcheck.log.warn.printconfig.noclientmods")); } else { - appLogger.info("Client mods specified. Client mods are:"); + appLogger.info(LocalizationManager.getLocalizedString("configcheck.log.info.printconfig.clientmods")); for (int i = 0; i < clientsideMods.toArray().length; i++) { appLogger.info(String.format(" %s", clientsideMods.get(i))); } } - appLogger.info("Directories to copy:"); + appLogger.info(LocalizationManager.getLocalizedString("configcheck.log.info.printconfig.copydirs")); if (copyDirectories != null) { for (int i = 0; i < copyDirectories.toArray().length; i++) { appLogger.info(String.format(" %s", copyDirectories.get(i))); } - } else { appLogger.error("Error: List of directories to copy is empty."); } - - appLogger.info(String.format("Include server installation: %s", installServer)); - appLogger.info(String.format("Java Installation path: %s", javaInstallPath)); - appLogger.info(String.format("Minecraft version: %s", minecraftVer)); - appLogger.info(String.format("Modloader: %s", modloader)); - appLogger.info(String.format("Modloader Version: %s", modloaderVersion)); - appLogger.info(String.format("Include server icon: %s", includeIcon)); - appLogger.info(String.format("Include server properties: %s", includeProperties)); - appLogger.info(String.format("Include start scripts: %s", includeScripts)); - appLogger.info(String.format("Create zip-archive of serverpack: %s", includeZip)); + } else { appLogger.error(LocalizationManager.getLocalizedString("configcheck.log.error.printconfig.copydirs")); } + + appLogger.info(String.format(LocalizationManager.getLocalizedString("configcheck.log.info.printconfig.server"), installServer)); + appLogger.info(String.format(LocalizationManager.getLocalizedString("configcheck.log.info.printconfig.javapath"), javaInstallPath)); + appLogger.info(String.format(LocalizationManager.getLocalizedString("configcheck.log.info.printconfig.minecraftversion"), minecraftVer)); + appLogger.info(String.format(LocalizationManager.getLocalizedString("configcheck.log.info.printconfig.modloader"), modloader)); + appLogger.info(String.format(LocalizationManager.getLocalizedString("configcheck.log.info.printconfig.modloaderversion"), modloaderVersion)); + appLogger.info(String.format(LocalizationManager.getLocalizedString("configcheck.log.info.printconfig.icon"), includeIcon)); + appLogger.info(String.format(LocalizationManager.getLocalizedString("configcheck.log.info.printconfig.properties"), includeProperties)); + appLogger.info(String.format(LocalizationManager.getLocalizedString("configcheck.log.info.printconfig.scripts"), includeScripts)); + appLogger.info(String.format(LocalizationManager.getLocalizedString("configcheck.log.info.printconfig.zip"), includeZip)); } /** Check whether the specified modpack directory exists. @@ -361,9 +362,9 @@ class ConfigCheck { static boolean checkModpackDir(String modpackDir) { boolean configCorrect = false; if (modpackDir.equals("")) { - appLogger.error("Error: Modpack directory not specified. Please specify an existing directory."); + appLogger.error(LocalizationManager.getLocalizedString("configcheck.log.error.checkmodpackdir")); } else if (!(new File(modpackDir).isDirectory())) { - appLogger.warn(String.format("Warning: Couldn't find a directory with setting %s. Checking for CurseForge projectID,fileID next...", modpackDir)); + appLogger.warn(String.format(LocalizationManager.getLocalizedString("configcheck.log.warn.checkmodpackdir"), modpackDir)); } else { configCorrect = true; } @@ -378,13 +379,13 @@ class ConfigCheck { static boolean checkCopyDirs(List<String> copyDirs, String modpackDir) { boolean configCorrect = true; if (copyDirs.isEmpty()) { - appLogger.error("Error: No directories specified for copying. This would result in an empty serverpack."); + appLogger.error(LocalizationManager.getLocalizedString("configcheck.log.error.checkcopydirs.empty")); configCorrect = false; } else { for (int i = 0; i < copyDirs.toArray().length; i++) { File directory = new File(String.format("%s/%s", modpackDir, copyDirs.get(i))); if (!directory.exists() || !directory.isDirectory()) { - appLogger.error(String.format("Error: Specified directory %s does not exist. Please specify existing directories.", directory.getAbsolutePath())); + appLogger.error(String.format(LocalizationManager.getLocalizedString("configcheck.log.error.checkcopydirs.notfound"), directory.getAbsolutePath())); configCorrect = false; } } @@ -399,15 +400,15 @@ class ConfigCheck { static String getJavaPath(String enteredPath) { String autoJavaPath; if (enteredPath.equals("")) { - appLogger.warn("You didn't specify the path to your Java installation. ServerPackCreator will try to determine it for you..."); + appLogger.warn(LocalizationManager.getLocalizedString("configcheck.log.warn.getjavapath.empty")); autoJavaPath = String.format("%s/bin/java",System.getProperty("java.home").replace("\\", "/")); if (autoJavaPath.startsWith("C:")) { autoJavaPath = String.format("%s.exe", autoJavaPath); } - appLogger.warn(String.format("ServerPackCreator set the path to your Java installation to: %s", autoJavaPath)); + appLogger.warn(String.format(LocalizationManager.getLocalizedString("configcheck.log.warn.getjavapath.set"), autoJavaPath)); return autoJavaPath; } else { - appLogger.info(String.format("ServerPackCreator set the path to your Java installation to: %s", enteredPath)); + appLogger.info(String.format(LocalizationManager.getLocalizedString("configcheck.log.warn.getjavapath.set"), enteredPath)); return enteredPath; } } @@ -423,7 +424,7 @@ class ConfigCheck { } else if (new File(pathToJava).exists() && pathToJava.endsWith("java")) { configCorrect = true; } else { - appLogger.error("Incorrect Java path specified."); + appLogger.error(LocalizationManager.getLocalizedString("configcheck.log.error.checkjavapath")); } return configCorrect; } @@ -437,7 +438,7 @@ class ConfigCheck { if (modloader.equalsIgnoreCase("Forge") || modloader.equalsIgnoreCase("Fabric")) { configCorrect = true; } else { - appLogger.error("Error: Invalid modloader specified. Modloader must bei either Forge or Fabric."); + appLogger.error(LocalizationManager.getLocalizedString("configcheck.log.error.checkmodloader")); } return configCorrect; } @@ -468,7 +469,7 @@ class ConfigCheck { } else if (modloader.equalsIgnoreCase("Fabric") && isFabricVersionCorrect(modloaderVersion)) { isVersionCorrect = true; } else { - appLogger.error("Specified incorrect modloader version. Please check your modpack for the correct version and enter again."); + appLogger.error(LocalizationManager.getLocalizedString("configcheck.log.error.checkmodloaderversion")); } return isVersionCorrect; } @@ -487,15 +488,15 @@ class ConfigCheck { try { downloadManifestOutputStream = new FileOutputStream("mcmanifest.json"); } catch (FileNotFoundException ex) { - appLogger.debug("Couldn't find mcmanifest.json", ex); + appLogger.debug(LocalizationManager.getLocalizedString("configcheck.log.debug.isminecraftversioncorrect"), ex); File file = new File("mcmanifest.json"); if (!file.exists()) { - appLogger.info("Manifest JSON File does not exist, creating..."); + appLogger.info(LocalizationManager.getLocalizedString("configcheck.log.info.isminecraftversioncorrect.create")); boolean jsonCreated = file.createNewFile(); if (jsonCreated) { - appLogger.info("Manifest JSON File created"); + appLogger.info(LocalizationManager.getLocalizedString("configcheck.log.info.isminecraftversioncorrect.created")); } else { - appLogger.error("Error. Could not create Manifest JSON File."); + appLogger.error(LocalizationManager.getLocalizedString("configcheck.log.error.isminecraftversioncorrect.parse")); } } downloadManifestOutputStream = new FileOutputStream("mcmanifest.json"); @@ -517,11 +518,11 @@ class ConfigCheck { manifestJsonFile.deleteOnExit(); return contains; } catch (Exception ex) { - appLogger.error(String.format("Error: Could not validate Minecraft version %s.", minecraftVersion), ex); + appLogger.error(String.format(LocalizationManager.getLocalizedString("configcheck.log.error.isminecraftversioncorrect.validate"), minecraftVersion), ex); return false; } } else { - appLogger.error("You didn't specify your Minecraft version."); + appLogger.error(LocalizationManager.getLocalizedString("configcheck.log.error.isminecraftversioncorrect.empty")); return false; } } @@ -539,15 +540,15 @@ class ConfigCheck { try { downloadManifestOutputStream = new FileOutputStream("fabric-manifest.xml"); } catch (FileNotFoundException ex) { - appLogger.debug("Couldn't find fabric-manifest.xml.", ex); + appLogger.debug(LocalizationManager.getLocalizedString("configcheck.log.debug.isfabricversioncorrect"), ex); File file = new File("fabric-manifest.xml"); if (!file.exists()){ - appLogger.info("Fabric Manifest XML File does not exist, creating..."); + appLogger.info(LocalizationManager.getLocalizedString("configcheck.log.info.isfabricversioncorrect.create")); boolean jsonCreated = file.createNewFile(); if (jsonCreated) { - appLogger.info("Fabric Manifest XML File created"); + appLogger.info(LocalizationManager.getLocalizedString("configcheck.log.info.isfabricversioncorrect.created")); } else { - appLogger.error("Error. Could not create Fabric Manifest XML File."); + appLogger.error(LocalizationManager.getLocalizedString("configcheck.log.error.isfabricversioncorrect.parse")); } } downloadManifestOutputStream = new FileOutputStream("fabric-manifest.xml"); @@ -576,7 +577,7 @@ class ConfigCheck { manifestXMLFile.deleteOnExit(); return contains; } catch (Exception ex) { - appLogger.error("An error occurred during Minecraft version validation.", ex); + appLogger.error(LocalizationManager.getLocalizedString("configcheck.log.error.isfabricversioncorrect.validate"), ex); return false; } } @@ -594,15 +595,15 @@ class ConfigCheck { try { downloadManifestOutputStream = new FileOutputStream("forge-manifest.json"); } catch (FileNotFoundException ex) { - appLogger.debug("Couldn't find forge-manifest.json", ex); + appLogger.debug(LocalizationManager.getLocalizedString("configcheck.log.debug.isforgeversioncorrect"), ex); File file = new File("forge-manifest.json"); if (!file.exists()){ - appLogger.info("Forge Manifest JSON File does not exist, creating..."); + appLogger.info(LocalizationManager.getLocalizedString("configcheck.log.info.isforgeversioncorrect.create")); boolean jsonCreated = file.createNewFile(); if (jsonCreated) { - appLogger.info("Forge Manifest JSON File created"); + appLogger.info(LocalizationManager.getLocalizedString("configcheck.log.info.isforgeversioncorrect.created")); } else { - appLogger.error("Error. Could not create Forge Manifest JSON File."); + appLogger.error(LocalizationManager.getLocalizedString("configcheck.log.error.isforgeversioncorrect.parse")); } } downloadManifestOutputStream = new FileOutputStream("forge-manifest.json"); @@ -630,7 +631,7 @@ class ConfigCheck { return manifestJSON.trim().contains(String.format("%s", forgeVersion)); } catch (Exception ex) { - appLogger.error("An error occurred during Forge version validation.", ex); + appLogger.error(LocalizationManager.getLocalizedString("configcheck.log.error.isforgeversioncorrect.validate"), ex); return false; } } @@ -660,9 +661,9 @@ class ConfigCheck { XPath xpath = xPathFactory.newXPath(); result = (String) xpath.evaluate("/metadata/versioning/release", fabricXml, XPathConstants.STRING); - appLogger.info("Successfully retrieved Fabric-Loader XML."); + appLogger.info(LocalizationManager.getLocalizedString("configcheck.log.info.latestfabricloader.created")); } catch (IOException | ParserConfigurationException | SAXException | XPathExpressionException ex) { - appLogger.error("Could not retrieve XML file. Defaulting to Loader version 0.11.3.", ex); + appLogger.error(LocalizationManager.getLocalizedString("configcheck.log.error.latestfabricloader.parse"), ex); } finally { return result; } diff --git a/src/main/java/de/griefed/ServerPackCreator/CopyFiles.java b/src/main/java/de/griefed/ServerPackCreator/CopyFiles.java index 40aa0b957..80cd69bba 100644 --- a/src/main/java/de/griefed/ServerPackCreator/CopyFiles.java +++ b/src/main/java/de/griefed/ServerPackCreator/CopyFiles.java @@ -1,5 +1,6 @@ package de.griefed.ServerPackCreator; +import de.griefed.ServerPackCreator.i18n.LocalizationManager; import org.apache.logging.log4j.LogManager; import org.apache.logging.log4j.Logger; @@ -23,7 +24,7 @@ class CopyFiles { */ static void cleanupEnvironment(String modpackDir) { if (new File(String.format("%s/server_pack", modpackDir)).exists()) { - appLogger.info("Found old server_pack. Cleaning up..."); + appLogger.info(LocalizationManager.getLocalizedString("copyfiles.log.info.cleanupenvironment.folder.enter")); Path serverPack = Paths.get(String.format("%s/server_pack", modpackDir)); try { Files.walkFileTree(serverPack, @@ -43,18 +44,18 @@ class CopyFiles { } }); } catch (IOException ex) { - appLogger.error(String.format("Error deleting file from %s/server_pack", modpackDir)); + appLogger.error(String.format(LocalizationManager.getLocalizedString("copyfiles.log.error.cleanupenvironment.folder.delete"), modpackDir)); } finally { - appLogger.info("Cleanup of previous server_pack completed."); + appLogger.info(LocalizationManager.getLocalizedString("copyfiles.log.info.cleanupenvironment.folder.complete")); } } if (new File(String.format("%s/server_pack.zip", modpackDir)).exists()) { - appLogger.info("Found old server_pack.zip. Cleaning up..."); + appLogger.info(LocalizationManager.getLocalizedString("copyfiles.log.info.cleanupenvironment.zip.enter")); boolean isZipDeleted = new File(String.format("%s/server_pack.zip", modpackDir)).delete(); if (isZipDeleted) { - appLogger.info("Old server_pack.zip deleted."); + appLogger.info(LocalizationManager.getLocalizedString("copyfiles.log.info.cleanupenvironment.zip.complete")); } else { - appLogger.error("Error deleting old zip archive."); + appLogger.error(LocalizationManager.getLocalizedString("copyfiles.log.error.cleanupenvironment.zip.delete")); } } } @@ -66,7 +67,7 @@ class CopyFiles { */ static void copyStartScripts(String modpackDir, String modLoader, boolean includeStartScripts) { if (modLoader.equalsIgnoreCase("Forge") && includeStartScripts) { - appLogger.info("Copying Forge start scripts..."); + appLogger.info(LocalizationManager.getLocalizedString("copyfiles.log.info.copystartscripts.forge")); try { Files.copy( Paths.get(String.format("./server_files/%s", Reference.forgeWindowsFile)), @@ -79,10 +80,10 @@ class CopyFiles { REPLACE_EXISTING ); } catch (IOException ex) { - appLogger.error("An error occurred while copying files: ", ex); + appLogger.error(LocalizationManager.getLocalizedString("copyfiles.log.error.copystartscripts"), ex); } } else if (modLoader.equalsIgnoreCase("Fabric") && includeStartScripts) { - appLogger.info("Copying Fabric start scripts..."); + appLogger.info(LocalizationManager.getLocalizedString("copyfiles.log.info.copystartscripts.fabric")); try { Files.copy( Paths.get(String.format("./server_files/%s", Reference.fabricWindowsFile)), @@ -95,10 +96,10 @@ class CopyFiles { REPLACE_EXISTING ); } catch (IOException ex) { - appLogger.error("An error occurred while copying files: ", ex); + appLogger.error(LocalizationManager.getLocalizedString("copyfiles.log.error.copystartscripts"), ex); } } else { - appLogger.info("Specified invalid modloader. Must be either Forge or Fabric."); + appLogger.error(LocalizationManager.getLocalizedString("configcheck.log.error.checkmodloader")); } } @@ -114,7 +115,7 @@ class CopyFiles { for (int i = 0; i < copyDirs.toArray().length; i++) { String clientDir = String.format("%s/%s", modpackDir,copyDirs.get(i)); String serverDir = String.format("%s/%s", serverPath,copyDirs.get(i)); - appLogger.info(String.format("Setting up %s files.", serverDir)); + appLogger.info(String.format(LocalizationManager.getLocalizedString("copyfiles.log.info.copyfiles.setup"), serverDir)); if (copyDirs.get(i).startsWith("saves/")) { String savesDir = String.format("%s/%s", serverPath, copyDirs.get(i).substring(6)); try { @@ -126,15 +127,15 @@ class CopyFiles { Paths.get(savesDir).resolve(Paths.get(clientDir).relativize(file)), REPLACE_EXISTING ); - appLogger.debug(String.format("Copying: %s", file.toAbsolutePath().toString())); + appLogger.debug(String.format(LocalizationManager.getLocalizedString("copyfiles.log.debug.copyfiles"), file.toAbsolutePath().toString())); } catch (IOException ex) { if (!ex.toString().startsWith("java.nio.file.DirectoryNotEmptyException")) { - appLogger.error("An error occurred during copy operation.", ex); + appLogger.error(LocalizationManager.getLocalizedString("copyfiles.log.error.copyfiles.saves"), ex); } } }); } catch (IOException ex) { - appLogger.error("An error occurred copying the specified world.", ex); + appLogger.error(LocalizationManager.getLocalizedString("copyfiles.log.error.copyfiles.saves.world"), ex); } } else if (copyDirs.get(i).startsWith("mods") && clientMods.toArray().length > 0) { List<String> listOfFiles = excludeClientMods(clientDir, clientMods); @@ -146,10 +147,10 @@ class CopyFiles { Paths.get(String.format("%s/%s",serverDir, new File(listOfFiles.get(in)).getName())), REPLACE_EXISTING ); - appLogger.debug(String.format("Copying: %s", listOfFiles.get(in))); + appLogger.debug(String.format(LocalizationManager.getLocalizedString("copyfiles.log.debug.copyfiles"), listOfFiles.get(in))); } catch (IOException ex) { if (!ex.toString().startsWith("java.nio.file.DirectoryNotEmptyException")) { - appLogger.error("An error occurred copying files to the serverpack.", ex); + appLogger.error(LocalizationManager.getLocalizedString("copyfiles.log.error.copyfiles.mods"), ex); } } } @@ -166,13 +167,13 @@ class CopyFiles { appLogger.debug(String.format("Copying: %s", file.toAbsolutePath().toString())); } catch (IOException ex) { if (!ex.toString().startsWith("java.nio.file.DirectoryNotEmptyException")) { - appLogger.error("An error occurred copying files to the serverpack.", ex); + appLogger.error(LocalizationManager.getLocalizedString("copyfiles.log.error.copyfiles.mods"), ex); } } }); files.close(); } catch (IOException ex) { - appLogger.error("An error occurred during the copy-procedure to the serverpack.", ex); + appLogger.error(LocalizationManager.getLocalizedString("copyfiles.log.error.copyfiles"), ex); } } } @@ -185,7 +186,7 @@ class CopyFiles { */ @SuppressWarnings("UnusedAssignment") private static List<String> excludeClientMods(String modsDir, List<String> clientMods) { - appLogger.info("Preparing a list of mods to include in server pack..."); + appLogger.info(LocalizationManager.getLocalizedString("copyfiles.log.info.excludeclientmods")); String[] copyMods = new String[0]; List<String> modpackModList = new ArrayList<>(); try (Stream<Path> walk = Files.walk(Paths.get(modsDir))) { @@ -202,7 +203,7 @@ class CopyFiles { copyMods = modpackModList.toArray(new String[0]); return Arrays.asList(copyMods.clone()); } catch (IOException ex) { - appLogger.error("Error: There was an error during the acquisition of files in mods directory.", ex); + appLogger.error(LocalizationManager.getLocalizedString("copyfiles.log.error.excludeclientmods"), ex); } return Arrays.asList(copyMods.clone()); } @@ -211,7 +212,7 @@ class CopyFiles { * @param modpackDir String. /server_pack. Directory where the server-icon.png will be copied to. */ static void copyIcon(String modpackDir) { - appLogger.info("Copying server-icon.png..."); + appLogger.info(LocalizationManager.getLocalizedString("copyfiles.log.info.copyicon")); try { Files.copy( Paths.get(String.format("./server_files/%s", Reference.iconFile)), @@ -219,7 +220,7 @@ class CopyFiles { REPLACE_EXISTING ); } catch (IOException ex) { - appLogger.error("An error occurred trying to copy the server icon.", ex); + appLogger.error(LocalizationManager.getLocalizedString("copyfiles.log.error.copyicon"), ex); } } @@ -227,7 +228,7 @@ class CopyFiles { * @param modpackDir String. /server_pack. Directory where the server.properties. will be copied to. */ static void copyProperties(String modpackDir) { - appLogger.info("Copying server.properties..."); + appLogger.info(LocalizationManager.getLocalizedString("copyfiles.log.info.copyproperties")); try { Files.copy( Paths.get(String.format("./server_files/%s", Reference.propertiesFile)), @@ -235,7 +236,7 @@ class CopyFiles { REPLACE_EXISTING ); } catch (IOException ex) { - appLogger.error("An error occurred trying to copy the server.properties-file.", ex); + appLogger.error(LocalizationManager.getLocalizedString("copyfiles.log.error.copyproperties"), ex); } } } \ No newline at end of file diff --git a/src/main/java/de/griefed/ServerPackCreator/CurseForgeModpack/CreateModpack.java b/src/main/java/de/griefed/ServerPackCreator/CurseForgeModpack/CreateModpack.java index ac004f78e..c611aeda9 100644 --- a/src/main/java/de/griefed/ServerPackCreator/CurseForgeModpack/CreateModpack.java +++ b/src/main/java/de/griefed/ServerPackCreator/CurseForgeModpack/CreateModpack.java @@ -5,6 +5,7 @@ import com.fasterxml.jackson.databind.ObjectMapper; import com.therandomlabs.curseapi.CurseAPI; import com.therandomlabs.curseapi.CurseException; import com.therandomlabs.curseapi.project.CurseProject; +import de.griefed.ServerPackCreator.i18n.LocalizationManager; import org.apache.logging.log4j.LogManager; import org.apache.logging.log4j.Logger; @@ -51,7 +52,7 @@ public class CreateModpack { fileDiskName = fileID.toString(); } - } catch (CurseException cex) { appLogger.error(String.format("Error: Could not retrieve either projectID %s or fileID %s. Please verify that they are correct.", projectID, fileID), cex); } + } catch (CurseException cex) { appLogger.error(String.format(LocalizationManager.getLocalizedString("createmodpack.log.error.curseforgemodpack"), projectID, fileID), cex); } if (!checkCurseForgeDir(modpackDir)) { initializeModpack(modpackDir, projectID, fileID); @@ -67,16 +68,16 @@ public class CreateModpack { @SuppressWarnings("ResultOfMethodCallIgnored") private static void initializeModpack(String modpackDir, Integer projectID, Integer fileID) { try { - appLogger.info(String.format("Downloading %s/%s.", projectName, fileName)); + appLogger.info(String.format(LocalizationManager.getLocalizedString("createmodpack.log.info.initializemodpack.download"), projectName, fileName)); CurseAPI.downloadFileToDirectory(projectID, fileID, Paths.get(modpackDir)); } catch (CurseException cex) { - appLogger.error(String.format("Error: Could not download file %s for project %s to directory %s.", fileName, projectName, modpackDir)); + appLogger.error(String.format(LocalizationManager.getLocalizedString("createmodpack.log.error.initializemodpack.download"), fileName, projectName, modpackDir)); } unzipArchive(String.format("%s/%s", modpackDir, fileDiskName), modpackDir); boolean isFileDeleted = new File(String.format("%s/%s", modpackDir, fileDiskName)).delete(); - if (isFileDeleted) { appLogger.info("Downloaded ZIP-file no longer needed. Deleted."); } + if (isFileDeleted) { appLogger.info(LocalizationManager.getLocalizedString("createmodpack.log.info.initializemodpack.deletezip")); } try { byte[] jsonData = Files.readAllBytes(Paths.get(String.format("%s/manifest.json", modpackDir))); @@ -88,15 +89,15 @@ public class CreateModpack { String[] minecraftLoaderVersions = modpack.getMinecraft().toString().split(","); String[] modLoaderVersion = minecraftLoaderVersions[1].replace("[", "").replace("]", "").split("-"); - appLogger.info("CurseForge modpack manifest.json parsed."); - appLogger.info(String.format("CurseForge modpack name: %s", modpack.getName())); - appLogger.info(String.format("CurseForge modpack version: %s", modpack.getVersion())); - appLogger.info(String.format("CurseForge modpack author: %s", modpack.getAuthor())); - appLogger.info(String.format("CurseForge modpack Minecraft version: %s", minecraftLoaderVersions[0].replace("[", ""))); - appLogger.info(String.format("CurseForge modpack modloader: %s", setModloader(modLoaderVersion[0]))); - appLogger.info(String.format("CurseForge modpack modloader version: %s", modLoaderVersion[1])); + appLogger.info(LocalizationManager.getLocalizedString("createmodpack.log.info.initializemodpack.infoheader")); + appLogger.info(String.format(LocalizationManager.getLocalizedString("createmodpack.log.info.initializemodpack.modpackname"), modpack.getName())); + appLogger.info(String.format(LocalizationManager.getLocalizedString("createmodpack.log.info.initializemodpack.modpackversion"), modpack.getVersion())); + appLogger.info(String.format(LocalizationManager.getLocalizedString("createmodpack.log.info.initializemodpack.modpackauthor"), modpack.getAuthor())); + appLogger.info(String.format(LocalizationManager.getLocalizedString("createmodpack.log.info.initializemodpack.modpackminecraftversion"), minecraftLoaderVersions[0].replace("[", ""))); + appLogger.info(String.format(LocalizationManager.getLocalizedString("createmodpack.log.info.initializemodpack.modloader"), setModloader(modLoaderVersion[0]))); + appLogger.info(String.format(LocalizationManager.getLocalizedString("createmodpack.log.info.initializemodpack.modloaderversion"), modLoaderVersion[1])); - } catch (IOException ex) { appLogger.error("Error: There was a fault during json parsing.", ex); } + } catch (IOException ex) { appLogger.error(LocalizationManager.getLocalizedString("createmodpack.log.error.initializemodpack.readmodpack"), ex); } copyOverride(modpackDir); if (new File(String.format("%s/overrides", modpackDir)).isDirectory()) { @@ -104,7 +105,7 @@ public class CreateModpack { Path pathToBeDeleted = Paths.get(String.format("%s/overrides", modpackDir)); Files.walk(pathToBeDeleted).sorted(Comparator.reverseOrder()).map(Path::toFile).forEach(File::delete); } catch (IOException ex) { - appLogger.info("Directory \"overrides\" not found. Skipping delete action..."); + appLogger.info(LocalizationManager.getLocalizedString("createmodpack.log.info.initializemodpack.overrides")); } } @@ -115,7 +116,7 @@ public class CreateModpack { */ @SuppressWarnings({"OptionalGetWithoutIsPresent", "BusyWait"}) private static void downloadMods(String modpackDir) { - appLogger.info("Downloading mods..."); + appLogger.info(LocalizationManager.getLocalizedString("createmodpack.log.info.downloadmods.info")); List<String> failedDownloads = new ArrayList<>(); try { @@ -144,33 +145,33 @@ public class CreateModpack { modName = CurseAPI.project(modID).get().name(); modFileName = Objects.requireNonNull(CurseAPI.project(modID).get().files().fileWithID(fileID)).nameOnDisk(); } catch (CurseException cex) { - appLogger.error("Error: Couldn't retrieve CurseForge project name and file name.", cex); + appLogger.error(LocalizationManager.getLocalizedString("createmodpack.log.error.downloadmods.curseforgeinfo"), cex); } try { - appLogger.info(String.format("Downloading mod %d of %d: %s | %s.", i+1, modpack.getFiles().toArray().length, modName, modFileName)); + appLogger.info(String.format(LocalizationManager.getLocalizedString("createmodpack.log.info.downloadmods.specificmod"), i+1, modpack.getFiles().size(), modName, modFileName)); CurseAPI.downloadFileToDirectory(modID, fileID, Paths.get(String.format("%s/mods", modpackDir))); try { Thread.sleep(1000); } - catch (InterruptedException iex) { appLogger.debug("Error during interruption event.", iex); } - } catch (CurseException cex) { appLogger.error(String.format("Error: Could not download mod %s (ID %s) | %s (ID %s).", modName, modID, modFileName, fileID)); + catch (InterruptedException iex) { appLogger.debug(LocalizationManager.getLocalizedString("createmodpack.log.debug.downloadmods.sleep"), iex); } + } catch (CurseException cex) { appLogger.error(String.format(LocalizationManager.getLocalizedString("createmodpack.log.error.downloadmods.errordownload"), modName, modID, modFileName, fileID)); try { - appLogger.info(String.format("Trying again for mod %s (ID %s) | %s (ID %s).", modName, modID, modFileName, fileID)); + appLogger.info(String.format(LocalizationManager.getLocalizedString("createmodpack.log.info.downloadmods.tryagain"), modName, modID, modFileName, fileID)); CurseAPI.downloadFileToDirectory(modID, fileID, Paths.get(String.format("%s/mods", modpackDir))); } catch (CurseException cex2) { - appLogger.error(String.format("Error: Retry of download for %s (ID %s) | %s (ID %s).", modName, modID, modFileName, fileID)); + appLogger.error(String.format(LocalizationManager.getLocalizedString("createmodpack.log.error.downloadmods.retryfail"), modName, modID, modFileName, fileID)); try { failedDownloads.add(String.format("Mod: %s, ID: %d. File: %s, ID: %d, URL: %s", modName, modID, modFileName, fileID, CurseAPI.fileDownloadURL(modID, fileID))); } catch (CurseException cex3) { - appLogger.error("Error: An error occurred during URL retrieval."); + appLogger.error(LocalizationManager.getLocalizedString("createmodpack.log.error.downloadmods.urlfail")); } } } } } catch (IOException ex) { - appLogger.error("Error: An error was encountered in the downloadMods method."); + appLogger.error(LocalizationManager.getLocalizedString("createmodpack.log.error.downloadmods.fail")); } if (failedDownloads.toArray().length != 0) { for (int i = 0; i <= failedDownloads.toArray().length; i++) { - appLogger.error(String.format("Failed downloads detected. Try manually downloading them: %s", failedDownloads.get(i))); + appLogger.error(String.format(LocalizationManager.getLocalizedString("createmodpack.log.error.downloadmods.urllist"), failedDownloads.get(i))); } } } @@ -178,22 +179,22 @@ public class CreateModpack { * @param modpackDir String. The overrides directory resides in this directory. All folders and files within overrides are copied here. */ private static void copyOverride(String modpackDir) { - appLogger.info("Copying folders from overrides to modpack..."); + appLogger.info(LocalizationManager.getLocalizedString("createmodpack.log.info.copyoverrides.info")); try { Stream<Path> files = java.nio.file.Files.walk(Paths.get(String.format("%s/overrides", modpackDir))); files.forEach(file -> { try { Files.copy(file, Paths.get(modpackDir).resolve(Paths.get(String.format("%s/overrides", modpackDir)).relativize(file)), REPLACE_EXISTING); - appLogger.debug(String.format("Copying: %s", file.toAbsolutePath().toString())); + appLogger.debug(String.format(LocalizationManager.getLocalizedString("createmodpack.log.debug.copyoverrides.status"), file.toAbsolutePath().toString())); } catch (IOException ex) { if (!ex.toString().startsWith("java.nio.file.DirectoryNotEmptyException")) { - appLogger.error("An error occurred copying files from overrides to parent directory.", ex); + appLogger.error(LocalizationManager.getLocalizedString("createmodpack.log.error.copyoverrides.copy"), ex); } } }); files.close(); } catch (IOException ex) { - appLogger.error("An error occurred copying files from overrides to parent directory.", ex); + appLogger.error(LocalizationManager.getLocalizedString("createmodpack.log.error.copyoverrides.copy"), ex); } } /** Check whether the folder for the specified CurseForge projectID/fileID exists. @@ -203,9 +204,9 @@ public class CreateModpack { private static boolean checkCurseForgeDir(String modpackDir) { boolean isModpackPresent = false; if (!(new File(modpackDir).isDirectory()) && !(new File(String.format("%s/manifest.json", modpackDir)).exists())) { - appLogger.info("CurseForge directory doesn't exist. We will download your file and create the modpack."); + appLogger.info(LocalizationManager.getLocalizedString("createmodpack.log.info.checkcurseforgedir.create")); } else { - appLogger.info("CurseForge directory found."); + appLogger.info(LocalizationManager.getLocalizedString("createmodpack.log.info.checkcurseforgedir")); isModpackPresent = true; } return isModpackPresent; @@ -216,7 +217,7 @@ public class CreateModpack { * @param modpackDir The directory where the archive resides in and will be extracted to. */ private static void unzipArchive(String zipFile, String modpackDir) { - appLogger.info("Extracting modpack ZIP-file."); + appLogger.info(LocalizationManager.getLocalizedString("createmodpack.log.info.unziparchive")); File destDir = new File(modpackDir); byte[] buffer = new byte[1024]; try { @@ -226,12 +227,12 @@ public class CreateModpack { final File newFile = newFile(destDir, zipEntry); if (zipEntry.isDirectory()) { if (!newFile.isDirectory() && !newFile.mkdirs()) { - appLogger.error(String.format("Failed to create directory %s", newFile)); + appLogger.error(String.format(LocalizationManager.getLocalizedString("createmodpack.log.error.unziparchive.createdir"), newFile)); } } else { File parent = newFile.getParentFile(); if (!parent.isDirectory() && !parent.mkdirs()) { - appLogger.error(String.format("Failed to create directory %s", parent)); + appLogger.error(String.format(LocalizationManager.getLocalizedString("createmodpack.log.error.unziparchive.createdir"), parent)); } final FileOutputStream output = new FileOutputStream(newFile); int length; @@ -245,7 +246,7 @@ public class CreateModpack { input.closeEntry(); input.close(); } catch (IOException ex) { - appLogger.error(String.format("Error: There was an error extracting the archive %s", zipFile), ex); + appLogger.error(String.format(LocalizationManager.getLocalizedString("createmodpack.log.error.unziparchive.extract"), zipFile), ex); } } /** Helper-Method for unzipArchive. With help from: https://www.baeldung.com/java-compress-and-uncompress @@ -262,15 +263,15 @@ public class CreateModpack { destDirPath = destinationDir.getCanonicalPath(); } catch (IOException ex) { - appLogger.error(String.format("Error: There was an error getting the path for %s", destinationDir), ex); + appLogger.error(String.format(LocalizationManager.getLocalizedString("createmodpack.log.error.newfile.path"), destinationDir), ex); } try { destFilePath = destFile.getCanonicalPath(); } catch (IOException ex) { - appLogger.error(String.format("Error: There was an error getting the path for %s", destFile.toString()), ex); + appLogger.error(String.format(LocalizationManager.getLocalizedString("createmodpack.log.error.newfile.path"), destFile.toString()), ex); } if (destFilePath != null && !destFilePath.startsWith(destDirPath + File.separator)) { - appLogger.error(String.format("Entry is outside of the target dir: %s", zipEntry.getName())); + appLogger.error(String.format(LocalizationManager.getLocalizedString("createmodpack.log.error.newfile.outside"), zipEntry.getName())); } return destFile; } diff --git a/src/main/java/de/griefed/ServerPackCreator/FilesSetup.java b/src/main/java/de/griefed/ServerPackCreator/FilesSetup.java index 0e98efc33..4b8dfea72 100644 --- a/src/main/java/de/griefed/ServerPackCreator/FilesSetup.java +++ b/src/main/java/de/griefed/ServerPackCreator/FilesSetup.java @@ -15,11 +15,11 @@ public class FilesSetup { * @return Boolean. Returns true if no default file has been generated. False if any default file was generated. */ static boolean filesSetup() { - appLogger.info("Checking for default files..."); + appLogger.info(LocalizationManager.getLocalizedString("filessetup.log.info.filessetup.enter")); try { Files.createDirectories(Paths.get("./server_files")); } catch (IOException ex) { - appLogger.error("Could not create server_files directory.", ex); + appLogger.error(LocalizationManager.getLocalizedString("filessetup.log.error.filessetup"), ex); } boolean doesConfigExist = checkForConfig(); boolean doesFabricLinuxExist = checkForFabricLinux(); @@ -38,7 +38,7 @@ public class FilesSetup { doesIconExist) { return false; } else { - appLogger.info("Setup completed."); + appLogger.info(LocalizationManager.getLocalizedString("filessetup.log.info.filessetup.finish")); return true; } } @@ -53,11 +53,11 @@ public class FilesSetup { boolean isOldConfigDeleted = Reference.oldConfigFile.delete(); if (isOldConfigDeleted) { - appLogger.info("creator.conf migrated to serverpackcreator.conf"); + appLogger.info(LocalizationManager.getLocalizedString("filessetup.log.info.chechforconfig.old")); } } catch (IOException ex) { - appLogger.error("Error renaming creator.conf to serverpackcreator.conf", ex); + appLogger.error(LocalizationManager.getLocalizedString("filessetup.log.error.checkforconfig.old"), ex); } } else if (!Reference.configFile.exists()) { try { @@ -68,12 +68,12 @@ public class FilesSetup { link.close(); } - appLogger.info("serverpackcreator.conf generated. Please customize."); + appLogger.info(LocalizationManager.getLocalizedString("filessetup.log.info.checkforconfig.config")); firstRun = true; } catch (IOException ex) { if (!ex.toString().startsWith("java.nio.file.FileAlreadyExistsException")) { - appLogger.error("Could not extract default config-file", ex); + appLogger.error(LocalizationManager.getLocalizedString("filessetup.log.error.checkforconfig.config"), ex); firstRun = true; } } @@ -94,12 +94,12 @@ public class FilesSetup { link.close(); } - appLogger.info("start-fabric.sh generated. Please customize if you intend on using it."); + appLogger.info(LocalizationManager.getLocalizedString("filessetup.log.info.checkforfabriclinux")); firstRun = true; } catch (IOException ex) { if (!ex.toString().startsWith("java.nio.file.FileAlreadyExistsException")) { - appLogger.error("Could not extract default Fabric Linux start file", ex); + appLogger.error(LocalizationManager.getLocalizedString("filessetup.log.error.checkforfabriclinux"), ex); firstRun = true; } } @@ -120,12 +120,12 @@ public class FilesSetup { link.close(); } - appLogger.info("start-fabric.bat generated. Please customize if you intend on using it."); + appLogger.info(LocalizationManager.getLocalizedString("filessetup.log.info.checkforfabricwindows")); firstRun = true; } catch (IOException ex) { if (!ex.toString().startsWith("java.nio.file.FileAlreadyExistsException")) { - appLogger.error("Could not extract default Fabric Windows start file", ex); + appLogger.error(LocalizationManager.getLocalizedString("filessetup.log.error.checkforfabricwindows"), ex); firstRun = true; } } @@ -146,12 +146,12 @@ public class FilesSetup { link.close(); } - appLogger.info("start-forge.sh generated. Please customize if you intend on using it."); + appLogger.info(LocalizationManager.getLocalizedString("filessetup.log.info.checkforforgelinux")); firstRun = true; } catch (IOException ex) { if (!ex.toString().startsWith("java.nio.file.FileAlreadyExistsException")) { - appLogger.error("Could not extract default Forge Linux start file", ex); + appLogger.error(LocalizationManager.getLocalizedString("filessetup.log.error.checkforforgelinux"), ex); firstRun = true; } } @@ -172,12 +172,12 @@ public class FilesSetup { link.close(); } - appLogger.info("start-forge.bat generated. Please customize if you intend on using it."); + appLogger.info(LocalizationManager.getLocalizedString("filessetup.log.info.checkforforgewindows")); firstRun = true; } catch (IOException ex) { if (!ex.toString().startsWith("java.nio.file.FileAlreadyExistsException")) { - appLogger.error("Could not extract default Forge Windows start file", ex); + appLogger.error(LocalizationManager.getLocalizedString("filessetup.log.error.checkforforgewindows"), ex); firstRun = true; } } @@ -198,12 +198,12 @@ public class FilesSetup { link.close(); } - appLogger.info("server.properties generated. Please customize if you intend on using it."); + appLogger.info(LocalizationManager.getLocalizedString("filessetup.log.info.checkforproperties")); firstRun = true; } catch (IOException ex) { if (!ex.toString().startsWith("java.nio.file.FileAlreadyExistsException")) { - appLogger.error("Could not extract default server.properties file", ex); + appLogger.error(LocalizationManager.getLocalizedString("filessetup.log.error.checkforproperties"), ex); firstRun = true; } } @@ -224,12 +224,12 @@ public class FilesSetup { link.close(); } - appLogger.info("server-icon.png generated. Please customize if you intend on using it."); + appLogger.info(LocalizationManager.getLocalizedString("filessetup.log.info.checkforicon")); firstRun = true; } catch (IOException ex) { if (!ex.toString().startsWith("java.nio.file.FileAlreadyExistsException")) { - appLogger.error("Could not extract default server-icon.png file", ex); + appLogger.error(LocalizationManager.getLocalizedString("filessetup.log.error.checkforicon"), ex); firstRun = true; } } @@ -409,16 +409,16 @@ public class FilesSetup { if (Reference.configFile.exists()) { boolean delConf = Reference.configFile.delete(); if (delConf) { - appLogger.info("Deleted existing config file to replace with new one."); } + appLogger.info(LocalizationManager.getLocalizedString("filessetup.log.info.writeconfigtofile.config")); } else { - appLogger.error("Could not delete existing config file."); } + appLogger.error(LocalizationManager.getLocalizedString("filessetup.log.error.writeconfigtofile.config")); } } if (Reference.oldConfigFile.exists()) { boolean delOldConf = Reference.oldConfigFile.delete(); if (delOldConf) { - appLogger.info("Deleted old existing config file from previous versions of SPC, to ensure new one is always used."); } + appLogger.info(LocalizationManager.getLocalizedString("filessetup.log.info.writeconfigtofile.old")); } else { - appLogger.error("Could not delete old existing config file from previous versions of SPC."); } + appLogger.error(LocalizationManager.getLocalizedString("filessetup.log.error.writeconfigtofile.old")); } } try { BufferedWriter writer = new BufferedWriter(new FileWriter(Reference.configFile)); @@ -426,7 +426,7 @@ public class FilesSetup { writer.close(); configWritten = true; } catch (IOException ex) { - appLogger.error("Error: Couldn't write serverpackcreator.conf.", ex); + appLogger.error(LocalizationManager.getLocalizedString("filessetup.log.error.writeconfigtofile"), ex); } return configWritten; } diff --git a/src/main/java/de/griefed/ServerPackCreator/Main.java b/src/main/java/de/griefed/ServerPackCreator/Main.java index e8664fd84..5c72fc957 100644 --- a/src/main/java/de/griefed/ServerPackCreator/Main.java +++ b/src/main/java/de/griefed/ServerPackCreator/Main.java @@ -36,12 +36,12 @@ public class Main { osName = null, osVersion = null; - appLogger.warn("################################################################"); - appLogger.warn("# WORK IN PROGRESS! #"); - appLogger.warn("# USE AT YOUR OWN RISK! BE AWARE THAT DATA LOSS IS POSSIBLE! #"); - appLogger.warn("# I WILL NOT BE HELD RESPONSIBLE FOR DATA LOSS! #"); - appLogger.warn("# YOU HAVE BEEN WARNED! #"); - appLogger.warn("################################################################"); + appLogger.warn(LocalizationManager.getLocalizedString("handler.log.warn.wip0")); + appLogger.warn(LocalizationManager.getLocalizedString("handler.log.warn.wip1")); + appLogger.warn(LocalizationManager.getLocalizedString("handler.log.warn.wip2")); + appLogger.warn(LocalizationManager.getLocalizedString("handler.log.warn.wip3")); + appLogger.warn(LocalizationManager.getLocalizedString("handler.log.warn.wip4")); + appLogger.warn(LocalizationManager.getLocalizedString("handler.log.warn.wip0")); try { jarPath = Main.class.getProtectionDomain().getCodeSource().getLocation().toURI().getPath(); @@ -50,27 +50,27 @@ public class Main { osArch = System.getProperty("os.arch"); osName = System.getProperty("os.name"); osVersion = System.getProperty("os.version"); - appLogger.info("SYSTEM INFORMATION:"); - appLogger.info(String.format("JAR Path: %s", jarPath)); - appLogger.info(String.format("JAR Name: %s", jarName)); - appLogger.info(String.format("Java version: %s", javaVersion)); - appLogger.info(String.format("OS architecture: %s", osArch)); - appLogger.info(String.format("OS name: %s", osName)); - appLogger.info(String.format("OS version: %s", osVersion)); - appLogger.info("Include this information when reporting an issue on GitHub."); + appLogger.info(LocalizationManager.getLocalizedString("handler.log.info.system.enter")); + appLogger.info(String.format(LocalizationManager.getLocalizedString("handler.log.info.system.jarpath"), jarPath)); + appLogger.info(String.format(LocalizationManager.getLocalizedString("handler.log.info.system.jarname"), jarName)); + appLogger.info(String.format(LocalizationManager.getLocalizedString("handler.log.info.system.java"), javaVersion)); + appLogger.info(String.format(LocalizationManager.getLocalizedString("handler.log.info.system.osarchitecture"), osArch)); + appLogger.info(String.format(LocalizationManager.getLocalizedString("handler.log.info.system.osname"), osName)); + appLogger.info(String.format(LocalizationManager.getLocalizedString("handler.log.info.system.osversion"), osVersion)); + appLogger.info(LocalizationManager.getLocalizedString("handler.log.info.system.include")); } catch (URISyntaxException ex) { - appLogger.error("Error getting system properties.", ex); + appLogger.error(LocalizationManager.getLocalizedString("handler.log.error.system.properties"), ex); } if (programArgs.contains(Reference.CONFIG_GEN_ARGUMENT) || (!Reference.oldConfigFile.exists() && !Reference.configFile.exists() && !jarPath.endsWith(".exe"))){ CLISetup.setup(); } if (!FilesSetup.filesSetup()) { - appLogger.warn("################################################################"); - appLogger.warn("# ONE OR MORE DEFAULT FILE(S) GENERATED. #"); - appLogger.warn("# CHECK THE LOGS TO FIND OUT WHICH FILE(S) WAS/WERE GENERATED. #"); - appLogger.warn("# CUSTOMIZE, THEN RUN SERVERPACKCREATOR AGAIN! #"); - appLogger.warn("################################################################"); + appLogger.warn(LocalizationManager.getLocalizedString("filessetup.log.warn.filessetup.warning0")); + appLogger.warn(LocalizationManager.getLocalizedString("filessetup.log.warn.filessetup.warning1")); + appLogger.warn(LocalizationManager.getLocalizedString("filessetup.log.warn.filessetup.warning2")); + appLogger.warn(LocalizationManager.getLocalizedString("filessetup.log.warn.filessetup.warning3")); + appLogger.warn(LocalizationManager.getLocalizedString("filessetup.log.warn.filessetup.warning0")); System.exit(0); } if (!ConfigCheck.checkConfig()) { @@ -78,35 +78,35 @@ public class Main { try { CopyFiles.copyFiles(Reference.modpackDir, Reference.copyDirs, Reference.clientMods); } catch (IOException ex) { - appLogger.error("There was an error calling the copyFiles method.", ex); + appLogger.error(LocalizationManager.getLocalizedString("handler.log.error.runincli.copyfiles"), ex); } CopyFiles.copyStartScripts(Reference.modpackDir, Reference.modLoader, Reference.includeStartScripts); if (Reference.includeServerInstallation) { ServerSetup.installServer(Reference.modLoader, Reference.modpackDir, Reference.minecraftVersion, Reference.modLoaderVersion, Reference.javaPath); } else { - appLogger.info("Not installing modded server."); + appLogger.info(LocalizationManager.getLocalizedString("handler.log.info.runincli.server")); } if (Reference.includeServerIcon) { CopyFiles.copyIcon(Reference.modpackDir); } else { - appLogger.info("Not including servericon."); + appLogger.info(LocalizationManager.getLocalizedString("handler.log.info.runincli.icon")); } if (Reference.includeServerProperties) { CopyFiles.copyProperties(Reference.modpackDir); } else { - appLogger.info("Not including server.properties."); + appLogger.info(LocalizationManager.getLocalizedString("handler.log.info.runincli.properties")); } if (Reference.includeZipCreation) { ServerSetup.zipBuilder(Reference.modpackDir, Reference.modLoader, Reference.includeServerInstallation); } else { - appLogger.info("Not creating zip archive of serverpack."); + appLogger.info(LocalizationManager.getLocalizedString("handler.log.info.runincli.zip")); } - appLogger.info(String.format("Server pack available at: %s/server_pack", Reference.modpackDir)); - appLogger.info(String.format("Server pack archive available at : %s/server_pack.zip", Reference.modpackDir)); - appLogger.info("Done!"); + appLogger.info(String.format(LocalizationManager.getLocalizedString("handler.log.info.runincli.serverpack"), Reference.modpackDir)); + appLogger.info(String.format(LocalizationManager.getLocalizedString("handler.log.info.runincli.archive"), Reference.modpackDir)); + appLogger.info(LocalizationManager.getLocalizedString("handler.log.info.runincli.finish")); System.exit(0); } else { - appLogger.error("ERROR: Please check your serverpackcreator.conf for any incorrect settings. This message is also displayed if ServerPackCreator downloaded and setup a modpack from a projectID,fileID for modpackDir."); + appLogger.error(LocalizationManager.getLocalizedString("handler.log.error.runincli")); System.exit(1); } } diff --git a/src/main/java/de/griefed/ServerPackCreator/ServerSetup.java b/src/main/java/de/griefed/ServerPackCreator/ServerSetup.java index 64db9a6ab..ff7d155e7 100644 --- a/src/main/java/de/griefed/ServerPackCreator/ServerSetup.java +++ b/src/main/java/de/griefed/ServerPackCreator/ServerSetup.java @@ -1,5 +1,6 @@ package de.griefed.ServerPackCreator; +import de.griefed.ServerPackCreator.i18n.LocalizationManager; import org.apache.logging.log4j.LogManager; import org.apache.logging.log4j.Logger; @@ -27,9 +28,9 @@ class ServerSetup { File forgeInstaller = new File(String.format("%s/server_pack/forge-installer.jar", modpackDir)); if (modLoader.equalsIgnoreCase("Fabric")) { try { - appLogger.info("Starting Fabric installation."); + appLogger.info(LocalizationManager.getLocalizedString("serversetup.log.info.installserver.fabric.enter")); if (ServerUtilities.downloadFabricJar(modpackDir)) { - appLogger.info("Fabric installer successfully downloaded. Installing Fabric. This may take a while..."); + appLogger.info(LocalizationManager.getLocalizedString("serversetup.log.info.installserver.fabric.download")); ProcessBuilder processBuilder = new ProcessBuilder( javaPath, "-jar", @@ -48,19 +49,19 @@ class ServerSetup { installerLogger.info(line); } reader.close(); - appLogger.info("For details regarding the installation of this modloader server, see logs/modloader_installer.log"); - appLogger.info("Returning to ServerPackCreator."); + appLogger.info(LocalizationManager.getLocalizedString("serversetup.log.info.installserver.fabric.details")); + appLogger.info(LocalizationManager.getLocalizedString("serversetup.log.info.installserver")); } else { - appLogger.error("Something went wrong during the installation of Fabric. Maybe the Fabric server are down or unreachable? Skipping..."); + appLogger.error(LocalizationManager.getLocalizedString("serversetup.log.error.installserver.fabric")); } } catch (IOException ex) { - appLogger.error("An error occurred during Fabric installation.", ex); + appLogger.error(LocalizationManager.getLocalizedString("serversetup.log.error.installserver.fabricfail"), ex); } } else if (modLoader.equalsIgnoreCase("Forge")) { try { - appLogger.info("Starting Forge installation."); + appLogger.info(LocalizationManager.getLocalizedString("serversetup.log.info.installserver.forge.enter")); if (ServerUtilities.downloadForgeJar(minecraftVersion, modLoaderVersion, modpackDir)) { - appLogger.info("Forge installer successfully downloaded. Installing Forge. This may take a while..."); + appLogger.info(LocalizationManager.getLocalizedString("serversetup.log.info.installserver.forge.download")); ProcessBuilder processBuilder = new ProcessBuilder( javaPath, "-jar", @@ -77,16 +78,16 @@ class ServerSetup { installerLogger.info(line); } reader.close(); - appLogger.info("For details regarding the installation of this modloader server, see logs/modloader_installer.log"); - appLogger.info("Returning to ServerPackCreator."); + appLogger.info(LocalizationManager.getLocalizedString("serversetup.log.info.installserver.forge.details")); + appLogger.info(LocalizationManager.getLocalizedString("serversetup.log.info.installserver")); } else { - appLogger.error("Something went wrong during the installation of Forge. Maybe the Forge servers are down or unreachable? Skipping..."); + appLogger.error(LocalizationManager.getLocalizedString("serversetup.log.error.installserver.forge")); } } catch (IOException ex) { - appLogger.error("An error occurred during Forge installation.", ex); + appLogger.error(LocalizationManager.getLocalizedString("serversetup.log.error.installserver.forgefail"), ex); } } else { - appLogger.error(String.format("Specified invalid modloader: %s", modLoader)); + appLogger.error(String.format(LocalizationManager.getLocalizedString("configcheck.log.error.checkmodloader"), modLoader)); } ServerUtilities.generateDownloadScripts(modLoader, modpackDir, minecraftVersion); ServerUtilities.cleanUpServerPack( @@ -105,7 +106,7 @@ class ServerSetup { static void zipBuilder(String modpackDir, String modLoader, Boolean includeServerInstallation) { final Path sourceDir = Paths.get(String.format("%s/server_pack", modpackDir)); String zipFileName = sourceDir.toString().concat(".zip"); - appLogger.info("Creating zip archive of serverpack..."); + appLogger.info(LocalizationManager.getLocalizedString("serversetup.log.info.zipbuilder.enter")); try { final ZipOutputStream outputStream = new ZipOutputStream(new FileOutputStream(zipFileName)); Files.walkFileTree(sourceDir, new SimpleFileVisitor<Path>() { @@ -118,22 +119,22 @@ class ServerSetup { outputStream.write(bytes, 0, bytes.length); outputStream.closeEntry(); } catch (IOException ex) { - appLogger.error("There was an error during zip creation", ex); + appLogger.error(LocalizationManager.getLocalizedString("serversetup.log.error.zipbuilder.create"), ex); } return FileVisitResult.CONTINUE; } }); outputStream.close(); } catch (IOException ex) { - appLogger.error("There was an error during zip creation", ex); + appLogger.error(LocalizationManager.getLocalizedString("serversetup.log.error.zipbuilder.create"), ex); } if (includeServerInstallation) { ServerUtilities.deleteMinecraftJar(modLoader, modpackDir); - appLogger.warn("!!! NOTE: The minecraft_server.jar will not be included in the zip-archive. !!!"); - appLogger.warn("!!! Mojang strictly prohibits the distribution of their software through third parties. !!!"); - appLogger.warn("!!! Tell your users to execute the download scripts to get the Minecraft server jar. !!!"); + appLogger.warn(LocalizationManager.getLocalizedString("serversetup.log.warn.zipbuilder.minecraftjar1")); + appLogger.warn(LocalizationManager.getLocalizedString("serversetup.log.warn.zipbuilder.minecraftjar2")); + appLogger.warn(LocalizationManager.getLocalizedString("serversetup.log.warn.zipbuilder.minecraftjar3")); } - appLogger.info("Finished creation of zip archive."); + appLogger.info(LocalizationManager.getLocalizedString("serversetup.log.info.zipbuilder.finish")); } /** Deletes client-side-only mods in server_pack, if specified. * @param modpackDir String. /server_pack/mods The directory where the files will be deleted. diff --git a/src/main/java/de/griefed/ServerPackCreator/ServerUtilities.java b/src/main/java/de/griefed/ServerPackCreator/ServerUtilities.java index 4071f68ad..d7506c20b 100644 --- a/src/main/java/de/griefed/ServerPackCreator/ServerUtilities.java +++ b/src/main/java/de/griefed/ServerPackCreator/ServerUtilities.java @@ -1,5 +1,6 @@ package de.griefed.ServerPackCreator; +import de.griefed.ServerPackCreator.i18n.LocalizationManager; import net.fabricmc.installer.util.LauncherMeta; import org.apache.logging.log4j.LogManager; import org.apache.logging.log4j.Logger; @@ -42,7 +43,7 @@ class ServerUtilities { forgeShell(modpackDir, minecraftVersion); forgeBatch(modpackDir, minecraftVersion); } else { - appLogger.error(String.format("Specified invalid Modloader: %s", modLoader)); + appLogger.error(String.format(LocalizationManager.getLocalizedString("configcheck.log.error.checkmodloader"), modLoader)); } } /** Generates download scripts for Mojang's Minecraft server for Fabric,Linux. @@ -65,11 +66,11 @@ class ServerUtilities { byte[] strToBytesSh = shFabric.getBytes(); Files.write(pathSh, strToBytesSh); String readSh = Files.readAllLines(pathSh).get(0); - appLogger.debug(String.format("fabricShell.readSh was: %s", readSh)); + appLogger.debug(String.format(LocalizationManager.getLocalizedString("serverutilities.log.debug.fabricshell"), readSh)); } catch (IOException ex) { - appLogger.error("Error creating shell script for Fabric.", ex); + appLogger.error(LocalizationManager.getLocalizedString("serverutilities.log.error.fabricshell"), ex); } - appLogger.info("Fabric shell script generated."); + appLogger.info(LocalizationManager.getLocalizedString("serverutilities.log.info.fabricshell")); } /** Generates download scripts for Mojang's Minecraft server for Fabric,Windows. * @param modpackDir String. /server_pack The directory where the scripts will be placed in. @@ -91,11 +92,11 @@ class ServerUtilities { byte[] strToBytesBat = batFabric.getBytes(); Files.write(pathBat, strToBytesBat); String readBat = Files.readAllLines(pathBat).get(0); - appLogger.debug(String.format("fabricBatch.readBat was: %s", readBat)); + appLogger.debug(String.format(LocalizationManager.getLocalizedString("serverutilities.log.debug.fabricbatch"), readBat)); } catch (IOException ex) { - appLogger.error("Error creating batch script for Fabric.", ex); + appLogger.error(LocalizationManager.getLocalizedString("serverutilities.log.error.fabricbatch"), ex); } - appLogger.info("Fabric batch script generated."); + appLogger.info(LocalizationManager.getLocalizedString("serverutilities.log.info.fabricbatch")); } /** Generates download scripts for Mojang's Minecraft server for Forge,Linux. * @param modpackDir String. /server_pack The directory where the scripts will be placed in. @@ -117,11 +118,11 @@ class ServerUtilities { byte[] strToBytesSh = shForge.getBytes(); Files.write(pathSh, strToBytesSh); String readSh = Files.readAllLines(pathSh).get(0); - appLogger.debug(String.format("forgeShell.readSh was: %s", readSh)); + appLogger.debug(String.format(LocalizationManager.getLocalizedString("serverutilities.log.debug.forgeshell"), readSh)); } catch (IOException ex) { - appLogger.error("Error creating shell script for Forge.", ex); + appLogger.error(LocalizationManager.getLocalizedString("serverutilities.log.error.forgeshell"), ex); } - appLogger.info("Forge shell script generated."); + appLogger.info(LocalizationManager.getLocalizedString("serverutilities.log.info.forgeshell")); } /** Generates download scripts for Mojang's Minecraft server for Forge,Windows. * @param modpackDir String. /server_pack The directory where the scripts will be placed in. @@ -143,11 +144,11 @@ class ServerUtilities { byte[] strToBytesBat = batForge.getBytes(); Files.write(pathBat, strToBytesBat); String readBat = Files.readAllLines(pathBat).get(0); - appLogger.debug(String.format("forgeBatch.readBat was: %s", readBat)); + appLogger.debug(String.format(LocalizationManager.getLocalizedString("serverutilities.log.debug.forgebatch"), readBat)); } catch (IOException ex) { - appLogger.error("Error creating shell script for Forge.", ex); + appLogger.error(LocalizationManager.getLocalizedString("serverutilities.log.error.forgebatch"), ex); } - appLogger.info("Forge batch script generated."); + appLogger.info(LocalizationManager.getLocalizedString("serverutilities.log.info.forgebatch")); } /** Downloads the specified version of Fabric. * @param modpackDir String. /server_pack The directory where the Fabric installer will be placed in. @@ -156,7 +157,7 @@ class ServerUtilities { static boolean downloadFabricJar(String modpackDir) { boolean downloaded = false; try { - appLogger.info("Trying to download Fabric installer..."); + appLogger.info(LocalizationManager.getLocalizedString("serverutilities.log.info.downloadfabricjar.enter")); URL downloadFabric = new URL(String.format("https://maven.fabricmc.net/net/fabricmc/fabric-installer/%s/fabric-installer-%s.jar", latestFabricInstaller(modpackDir), latestFabricInstaller(modpackDir))); ReadableByteChannel readableByteChannel = Channels.newChannel(downloadFabric.openStream()); @@ -170,12 +171,12 @@ class ServerUtilities { downloadFabricFileChannel.close(); } catch (IOException e) { - appLogger.error("An error occurred downloading Fabric: ", e); + appLogger.error(LocalizationManager.getLocalizedString("serverutilities.log.error.downloadfabricjar.download"), e); if (new File(String.format("%s/server_pack/fabric-installer.jar", modpackDir)).exists()) { try { Files.delete(Paths.get(String.format("%s/server_pack/fabric-installer.jar", modpackDir))); } catch (IOException ex) { - appLogger.error("Couldn't delete corrupted Fabric installer.", ex); + appLogger.error(LocalizationManager.getLocalizedString("serverutilities.log.error.downloadfabricjar.delete"), ex); } } } @@ -210,9 +211,9 @@ class ServerUtilities { XPath xpath = xPathFactory.newXPath(); result = (String) xpath.evaluate("/metadata/versioning/release", fabricXml, XPathConstants.STRING); - appLogger.info("Successfully retrieved Fabric-Installer XML."); + appLogger.info(LocalizationManager.getLocalizedString("serverutilities.log.info.latestfabricinstaller")); } catch (IOException | ParserConfigurationException | SAXException | XPathExpressionException ex) { - appLogger.error("Could not retrieve Installer XML file. Defaulting to Installer version 0.7.2.", ex); + appLogger.error(LocalizationManager.getLocalizedString("serverutilities.log.error.latestfabricinstaller"), ex); result = "0.7.2"; } return result; @@ -226,7 +227,7 @@ class ServerUtilities { static boolean downloadForgeJar(String minecraftVersion, String modLoaderVersion, String modpackDir) { boolean downloaded = false; try { - appLogger.info("Trying to download specified Forge installer..."); + appLogger.info(LocalizationManager.getLocalizedString("serverutilities.log.info.downloadforgejar.enter")); URL downloadForge = new URL(String.format("https://files.minecraftforge.net/maven/net/minecraftforge/forge/%s-%s/forge-%s-%s-installer.jar", minecraftVersion, modLoaderVersion, minecraftVersion, modLoaderVersion)); ReadableByteChannel readableByteChannel = Channels.newChannel(downloadForge.openStream()); @@ -240,10 +241,10 @@ class ServerUtilities { downloadForgeFileChannel.close(); } catch (IOException e) { - appLogger.error("An error occurred downloading Forge: ", e); + appLogger.error(LocalizationManager.getLocalizedString("serverutilities.log.error.downloadforgejar.download"), e); if (new File(String.format("%s/server_pack/forge-installer.jar", modpackDir)).exists()) { if (new File(String.format("%s/server_pack/forge-installer.jar", modpackDir)).delete()) { - appLogger.debug("Deleted incomplete Forge-installer..."); + appLogger.error(LocalizationManager.getLocalizedString("serverutilities.log.debug.downloadforgejar")); } } } @@ -259,7 +260,7 @@ class ServerUtilities { */ static void deleteMinecraftJar(String modLoader, String modpackDir) { if (modLoader.equalsIgnoreCase("Forge")) { - appLogger.info("Deleting minecraft_server.jar from server_pack.zip."); + appLogger.info(LocalizationManager.getLocalizedString("serverutilities.log.info.deleteminecraftjar.enter")); Map<String, String> zip_properties = new HashMap<>(); zip_properties.put("create", "false"); @@ -271,12 +272,12 @@ class ServerUtilities { try (FileSystem zipfs = FileSystems.newFileSystem(zipUri, zip_properties)) { Path pathInZipfile = zipfs.getPath("minecraft_server.1.16.5.jar"); Files.delete(pathInZipfile); - appLogger.info("File successfully deleted"); + appLogger.info(LocalizationManager.getLocalizedString("serverutilities.log.info.deleteminecraftjar.success")); } catch (IOException ex) { - appLogger.error("Error deleting minecraft-server.jar from archive.", ex); + appLogger.error(LocalizationManager.getLocalizedString("serverutilities.log.error.deleteminecraftjar.delete"), ex); } } else if (modLoader.equalsIgnoreCase("Fabric")) { - appLogger.info("Deleting minecraft_server.jar from server_pack.zip."); + appLogger.info(LocalizationManager.getLocalizedString("serverutilities.log.info.deleteminecraftjar.enter")); Map<String, String> zip_properties = new HashMap<>(); zip_properties.put("create", "false"); @@ -288,12 +289,12 @@ class ServerUtilities { try (FileSystem zipfs = FileSystems.newFileSystem(zipUri, zip_properties)) { Path pathInZipfile = zipfs.getPath("server.jar"); Files.delete(pathInZipfile); - appLogger.info("File successfully deleted"); + appLogger.info(LocalizationManager.getLocalizedString("serverutilities.log.info.deleteminecraftjar.success")); } catch (IOException ex) { - appLogger.error("Error deleting minecraft-server.jar from archive.", ex); + appLogger.error(LocalizationManager.getLocalizedString("serverutilities.log.error.deleteminecraftjar.delete"), ex); } } else { - appLogger.error("Specified invalid modloader: " + modLoader); + appLogger.error(String.format(LocalizationManager.getLocalizedString("configcheck.log.error.checkmodloader"), modLoader)); } } /** Deletes remnant files from Fabric/Forge installation no longer needed. @@ -305,20 +306,20 @@ class ServerUtilities { * @param modLoaderVersion String. Needed for renaming the Forge server jar to work with launch scripts provided by ServerPackCreator. */ static void cleanUpServerPack(File fabricInstaller, File forgeInstaller, String modLoader, String modpackDir, String minecraftVersion, String modLoaderVersion) { - appLogger.info("Cleanup after modloader server installation."); + appLogger.info(LocalizationManager.getLocalizedString("serverutilities.log.info.cleanupserverpack.enter")); if (modLoader.equalsIgnoreCase("Fabric")) { File fabricXML = new File(String.format("%s/server_pack/fabric-installer.xml", modpackDir)); boolean isXmlDeleted = fabricXML.delete(); boolean isInstallerDeleted = fabricInstaller.delete(); if (isXmlDeleted) - { appLogger.info(String.format("Deleted %s", fabricXML.getName())); } + { appLogger.info(String.format(LocalizationManager.getLocalizedString("serverutilities.log.info.cleanupserverpack.deleted"), fabricXML.getName())); } else - { appLogger.error(String.format("Could not delete %s", fabricXML.getName())); } + { appLogger.error(String.format(LocalizationManager.getLocalizedString("serverutilities.log.error.cleanupserverpack.delete"), fabricXML.getName())); } if (isInstallerDeleted) - { appLogger.info(String.format("Deleted %s", fabricInstaller.getName())); } + { appLogger.info(String.format(LocalizationManager.getLocalizedString("serverutilities.log.info.cleanupserverpack.deleted"), fabricInstaller.getName())); } else - { appLogger.error(String.format("Could not delete %s", fabricInstaller.getName())); } + { appLogger.error(String.format(LocalizationManager.getLocalizedString("serverutilities.log.error.cleanupserverpack.delete"), fabricInstaller.getName())); } } else if (modLoader.equalsIgnoreCase("Forge")) { try { @@ -331,20 +332,20 @@ class ServerUtilities { boolean isInstallerDeleted = forgeInstaller.delete(); if ((isOldJarDeleted) && (new File(String.format("%s/server_pack/forge.jar", modpackDir)).exists())) - { appLogger.info("Renamed forge.jar and deleted old one."); } + { appLogger.info(LocalizationManager.getLocalizedString("serverutilities.log.info.cleanupserverpack.rename")); } else - { appLogger.error("There was an error during renaming or deletion of the forge server jar."); } + { appLogger.error(LocalizationManager.getLocalizedString("serverutilities.log.error.cleanupserverpack.rename")); } if (isInstallerDeleted) - { appLogger.info(String.format("Deleted %s", forgeInstaller.getName())); } + { appLogger.info(String.format(LocalizationManager.getLocalizedString("serverutilities.log.info.cleanupserverpack.deleted"), forgeInstaller.getName())); } else - { appLogger.error(String.format("Could not delete %s", forgeInstaller.getName())); } + { appLogger.error(String.format(LocalizationManager.getLocalizedString("serverutilities.log.error.cleanupserverpack.delete"), forgeInstaller.getName())); } } catch (IOException ex) { - appLogger.error("Error during Forge cleanup.", ex); + appLogger.error(LocalizationManager.getLocalizedString("serverutilities.log.error.cleanupserverpack"), ex); } } else { - appLogger.error(String.format("Specified invalid modloader: %s", modLoader)); + appLogger.error(String.format(LocalizationManager.getLocalizedString("configcheck.log.error.checkmodloader"), modLoader)); } } } diff --git a/src/main/resources/de/griefed/resources/lang/lang_de_de.properties b/src/main/resources/de/griefed/resources/lang/lang_de_de.properties index afe0476f6..7e973037f 100644 --- a/src/main/resources/de/griefed/resources/lang/lang_de_de.properties +++ b/src/main/resources/de/griefed/resources/lang/lang_de_de.properties @@ -5,7 +5,275 @@ localeName=Deutsch (Deutschland) cli.usingLanguage=Benutzte Sprache: +cli.input.true=[Ww]ahr cli.input.yes=[Jj]a cli.input.yes.short=[Jj] cli.input.no=[Nn]ein cli.input.no.short=[Nn] +cli.input.false=[Ff]alsch + +# DO NOT REMOVE %s \n OR SIMILAR VALUES. DOING SO WILL BREAK SERVERPACKCREATOR FUNCTIONALITY. +# PLEASE BE AWARE OF WHITESPACE! + +# Logs +## Error logs +createmodpack.log.error.curseforgemodpack=Error: Could not retrieve either projectID %s or fileID %s. Please verify that they are correct. +createmodpack.log.error.initializemodpack.download=Error: Could not download file %s for project %s to directory %s. +createmodpack.log.error.initializemodpack.readmodpack=Error: There was a fault during json parsing. +createmodpack.log.error.downloadmods.curseforgeinfo=Error: Couldn't retrieve CurseForge project name and file name. +createmodpack.log.error.downloadmods.errordownload=Error: Could not download mod %s (ID %s) | %s (ID %s). +createmodpack.log.error.downloadmods.retryfail=Error: Retry of download for %s (ID %s) | %s (ID %s). +createmodpack.log.error.downloadmods.urlfail=Error: An error occurred during URL retrieval. +createmodpack.log.error.downloadmods.fail=Error: An error was encountered in the downloadMods method. +createmodpack.log.error.downloadmods.urllist=Failed downloads detected. Try manually downloading them: %s +createmodpack.log.error.copyoverrides.copy=An error occurred copying files from overrides to parent directory. +createmodpack.log.error.unziparchive.createdir=Failed to create directory %s +createmodpack.log.error.unziparchive.extract=Error: There was an error extracting the archive %s +createmodpack.log.error.newfile.path=Error: There was an error getting the path for %s +createmodpack.log.error.newfile.outside=Entry is outside of the target dir: %s +clisetup.log.error.answer=Incorrect value specified. Please try again. +configcheck.log.error.checkconfig.start=Couldn't parse config file. Consider checking your config file and fixing empty values. If the value needs to be an empty string, leave its value to "". +configcheck.log.error.checkconfig.failure=Config check not successful. Check your config for errors. +configcheck.log.error.iscurse.curseforge=Error: Could not retrieve CurseForge project and file. +configcheck.log.error.iscurse.json=Error: There was a fault during json parsing. +configcheck.log.error.iscurse.project=Error: Project with ID %s could not be found +configcheck.log.error.suggestcopydirs=Error: Something went wrong during the setup of the modpack. Copy dirs should never be empty. Please check the logs for errors and open an issue on https://github.com/Griefed/ServerPackCreator/issues. +configcheck.log.error.printconfig.copydirs=Error: List of directories to copy is empty. +configcheck.log.error.checkmodpackdir=Error: Modpack directory not specified. Please specify an existing directory. +configcheck.log.error.checkcopydirs.empty=Error: No directories specified for copying. This would result in an empty serverpack. +configcheck.log.error.checkcopydirs.notfound=Error: Specified directory %s does not exist. Please specify existing directories. +configcheck.log.error.checkjavapath=Incorrect Java path specified. +configcheck.log.error.checkmodloader=Error: Invalid modloader specified. Modloader must bei either Forge or Fabric. +configcheck.log.error.checkmodloaderversion=Specified incorrect modloader version. Please check your modpack for the correct version and enter again. +configcheck.log.error.isminecraftversioncorrect.parse=Error: Could not create Manifest JSON File. +configcheck.log.error.isminecraftversioncorrect.validate=Error: Could not validate Minecraft version %s. +configcheck.log.error.isminecraftversioncorrect.empty=You didn't specify your Minecraft version. +configcheck.log.error.isfabricversioncorrect.parse=Error: Could not create Fabric Manifest XML File. +configcheck.log.error.isfabricversioncorrect.validate=An error occurred during Minecraft version validation. +configcheck.log.error.isforgeversioncorrect.parse=Error: Could not create Forge Manifest JSON File. +configcheck.log.error.isforgeversioncorrect.validate=An error occurred during Forge version validation. +configcheck.log.error.latestfabricloader.parse=Could not retrieve XML file. Defaulting to Loader version 0.11.3. +copyfiles.log.error.cleanupenvironment.folder.delete=Error deleting file from %s/server_pack. +copyfiles.log.error.cleanupenvironment.zip.delete=Error deleting old zip archive. +copyfiles.log.error.copystartscripts=An error occurred while copying files: +copyfiles.log.error.copyfiles.saves=An error occurred during copy operation. +copyfiles.log.error.copyfiles.saves.world=An error occurred copying the specified world. +copyfiles.log.error.copyfiles.mods=An error occurred copying files to the serverpack. +copyfiles.log.error.copyfiles=An error occurred during the copy-procedure to the serverpack. +copyfiles.log.error.excludeclientmods=Error: There was an error during the acquisition of files in mods directory. +copyfiles.log.error.copyicon=An error occurred trying to copy the server-icon. +copyfiles.log.error.copyproperties=An error occurred trying to copy the server.properties-file. +filessetup.log.error.filessetup=Could not create server_files directory. +filessetup.log.error.checkforconfig.old=Error renaming creator.conf to serverpackcreator.conf. +filessetup.log.error.checkforconfig.config=Could not extract default config-file. +filessetup.log.error.checkforfabriclinux=Could not extract default Fabric Linux start file. +filessetup.log.error.checkforfabricwindows=Could not extract default Fabric Windows start file. +filessetup.log.error.checkforforgelinux=Could not extract default Forge Linux start file. +filessetup.log.error.checkforforgewindows=Could not extract default Forge Windows start file. +filessetup.log.error.checkforproperties=Could not extract default server.properties file. +filessetup.log.error.checkforicon=Could not extract default server-icon.png file. +filessetup.log.error.writeconfigtofile.config=Could not delete existing config file. +filessetup.log.error.writeconfigtofile.old=Could not delete old existing config file from previous versions of ServerPackCreator. +filessetup.log.error.writeconfigtofile=Error: Couldn't write serverpackcreator.conf. +handler.log.error.system.properties=Error getting system properties. +handler.log.error.runincli.copyfiles=There was an error calling the copyFiles method. +handler.log.error.runincli=Error: Please check your serverpackcreator.conf for any incorrect settings. This message is also displayed if serverpackcreator downloaded and setup a modpack from a projectID,fileID for modpackDir. +serversetup.log.error.installserver.fabric=Something went wrong during the installation of Fabric. Maybe the Fabric server are down or unreachable? Skipping... +serversetup.log.error.installserver.fabricfail=An error occurred during Fabric installation. +serversetup.log.error.installserver.forge=Something went wrong during the installation of Forge. Maybe the Forge servers are down or unreachable? Skipping... +serversetup.log.error.installserver.forgefail=An error occurred during Forge installation. +serversetup.log.error.zipbuilder.create=There was an error during zip creation +serverutilities.log.error.fabricshell=Error creating shell script for Fabric. +serverutilities.log.error.fabricbatch=Error creating batch script for Fabric. +serverutilities.log.error.forgeshell=Error creating shell script for Forge. +serverutilities.log.error.forgebatch=Error creating shell script for Forge. +serverutilities.log.error.downloadfabricjar.download=An error occurred downloading Fabric: +serverutilities.log.error.downloadfabricjar.delete=Couldn't delete corrupted Fabric installer. +serverutilities.log.error.latestfabricinstaller=Could not retrieve Installer XML file. Defaulting to Installer version 0.7.2. +serverutilities.log.error.downloadforgejar.download=An error occurred downloading Forge: +serverutilities.log.error.deleteminecraftjar.delete=Error deleting minecraft-server.jar from archive. +serverutilities.log.error.cleanupserverpack.delete=Could not delete %s. +serverutilities.log.error.cleanupserverpack.rename=There was an error during renaming or deletion of the forge server jar. +serverutilities.log.error.cleanupserverpack=Error during Forge cleanup. + +## Info logs +createmodpack.log.info.initializemodpack.download=Downloading %s/%s. +createmodpack.log.info.initializemodpack.deletezip=Downloaded ZIP-file no longer needed. Deleted. +createmodpack.log.info.initializemodpack.infoheader=CurseForge modpack manifest.json parsed. +createmodpack.log.info.initializemodpack.modpackname=CurseForge modpack name: %s +createmodpack.log.info.initializemodpack.modpackversion=CurseForge modpack version: %s +createmodpack.log.info.initializemodpack.modpackauthor=CurseForge modpack author: %s +createmodpack.log.info.initializemodpack.modpackminecraftversion=CurseForge modpack Minecraft version: %s +createmodpack.log.info.initializemodpack.modloader=CurseForge modpack modloader: %s +createmodpack.log.info.initializemodpack.modloaderversion=CurseForge modpack modloader version: %s +createmodpack.log.info.initializemodpack.overrides=Directory "overrides" not found. Skipping delete action... +createmodpack.log.info.downloadmods.info=Downloading mods... +createmodpack.log.info.downloadmods.specificmod=Downloading mod %d of %d: %s | %s. +createmodpack.log.info.downloadmods.tryagain=Trying again for mod %s (ID %s) | %s (ID %s). +createmodpack.log.info.copyoverrides.info=Copying folders from overrides to modpack... +createmodpack.log.info.checkcurseforgedir.create=CurseForge directory doesn't exist. We will download your file and create the modpack. +createmodpack.log.info.checkcurseforgedir=CurseForge directory found. +createmodpack.log.info.unziparchive=Extracting modpack ZIP-file. +clisetup.log.info.start=You started serverpackcreator with the "%s" argument. Step-by-step generation of config file initiated... +clisetup.log.info.modpack.enter=Please enter your modpack path. This path can be relative to serverpackcreator, or absolute. +clisetup.log.info.modpack.example=Example: "./Some Modpack" or "C:\Minecraft\Some Modpack" +clisetup.log.info.modpack.cli=Path to modpack directory: +clisetup.log.info.clientmods.enter=Enter filenames of clientside-only mods, one per line. When you are done, simply press enter with empty input. +clisetup.log.info.checkreturn=You entered: %s +clisetup.log.info.clientmods.checkreturninfo=If you are satisfied with these values, enter true. If not, enter false to restart clientmod configuration. +clisetup.log.info.answer=Answer: +clisetup.log.info.copydirs.enter=Which directories should be copied to the server pack? These are folder names inside your modpack directory. +clisetup.log.info.copydirs.specify=Specify your directories you want to be copied: +clisetup.log.info.copydirs.checkreturninfo=If you are satisfied with these values, enter true. If not, enter false to restart clientmod configuration. +clisetup.log.info.server.enter=Do you want serverpackcreator to install the modloader server for your server pack? Must be true or false. +clisetup.log.info.server.include=Include modloader server installation: +clisetup.log.info.minecraft.enter=Which version of Minecraft does your modpack use? +clisetup.log.info.minecraft.specify=Minecraft version: +clisetup.log.info.modloader.enter=What modloader does your modpack use? +clisetup.log.info.modloader.cli=Modloader: +clisetup.log.info.modloaderversion.enter=What version of %s does your modpack use? +clisetup.log.info.modloaderversion.cli=Modloader version: +clisetup.log.info.java.enter=Specify the path to your Java installation. Must end with "java" on Linux, or "java.exe" on Windows. +clisetup.log.info.java.enter2=If you leave this empty, serverpackcreator will try to determine the path for you. +clisetup.log.info.java.example=Example Linux: /usr/bin/java | Example Windows: C:/Program Files/AdoptOpenJDK/jdk-8.0.275.1-hotspot/jre/bin/java.exe +clisetup.log.info.java.cli=Path to your Java installation: +clisetup.log.info.icon.enter=Do you want serverpackcreator to include a server-icon in your server pack? Must be true or false. +clisetup.log.info.icon.cli=Include server-icon.png: +clisetup.log.info.properties.enter=Do you want serverpackcreator to include a server.properties in your server pack? Must be true or false. +clisetup.log.info.properties.cli=Include server.properties: +clisetup.log.info.scripts.enter=Do you want serverpackcreator to include start scripts for Linux and Windows in your server pack? Must be true or false. +clisetup.log.info.scripts.cli=Include start scripts: +clisetup.log.info.zip.enter=Do you want serverpackcreator to create a ZIP-archive of your server pack? Must be true or false. +clisetup.log.info.zip.cli=Create ZIP-archive: +clisetup.log.info.config.enter=If you are satisfied with these values, enter true. If not, enter false to restart config generation. +clisetup.log.info.config.written=New config file successfully written. Thanks go to Whitebear60 for initially writing the CLI-Config-Generation. +configcheck.log.info.checkconfig.start=Checking configuration... +configcheck.log.info.checkconfig.success=Config check successful. No errors encountered. +configcheck.log.info.checkconfig.skipstart=Server installation disabled. Skipping check of: +configcheck.log.info.checkconfig.skipjava= Java path +configcheck.log.info.checkconfig.skipminecraft= Minecraft version +configcheck.log.info.checkconfig.skipmodlaoder= Modloader +configcheck.log.info.checkconfig.skipmodloaderversion= Modloader version +configcheck.log.info.iscurse.display=Display name not found. Setting display name as file name on disk. +configcheck.log.info.iscurse.fabric=Please make sure to check the configuration for the used Fabric version after serverpackcreator is done setting up the modpack and new config file. +configcheck.log.info.iscurse.replace=Your old config file will now be replaced by a new one, with values gathered from the downloaded modpack. +configcheck.log.info.containsfabric=Fabric detected. Setting modloader to Fabric. +configcheck.log.info.suggestcopydirs.start=Preparing a list of directories to include in server pack... +configcheck.log.info.suggestcopydirs.list=Modpack directory checked. Suggested directories for copyDirs-setting are: %s +configcheck.log.info.checkcurseforge.info=You specified a CurseForge projectID and fileID combination. +configcheck.log.info.checkcurseforge.return=You entered: ProjectID %s | FileID %s. +configcheck.log.info.printconfig.start=Your configuration is: +configcheck.log.info.printconfig.modpackdir=Modpack directory: %s +configcheck.log.info.printconfig.clientmods=Client mods specified. Client mods are: +configcheck.log.info.printconfig.copydirs=Directories to copy: +configcheck.log.info.printconfig.server=Include server installation: %s +configcheck.log.info.printconfig.javapath=Java Installation path: %s +configcheck.log.info.printconfig.minecraftversion=Minecraft version: %s +configcheck.log.info.printconfig.modloader=Modloader: %s +configcheck.log.info.printconfig.modloaderversion=Modloader Version: %s +configcheck.log.info.printconfig.icon=Include server icon: %s +configcheck.log.info.printconfig.properties=Include server properties: %s +configcheck.log.info.printconfig.scripts=Include start scripts: %s +configcheck.log.info.printconfig.zip=Create zip-archive of serverpack: %s +configcheck.log.info.isminecraftversioncorrect.create=Manifest JSON File does not exist, creating... +configcheck.log.info.isminecraftversioncorrect.created=Manifest JSON File created. +configcheck.log.info.isfabricversioncorrect.create=Fabric Manifest XML File does not exist, creating... +configcheck.log.info.isfabricversioncorrect.created=Fabric Manifest XML File created +configcheck.log.info.isforgeversioncorrect.create=Forge Manifest JSON File does not exist, creating... +configcheck.log.info.isforgeversioncorrect.created=Forge Manifest JSON File created +configcheck.log.info.latestfabricloader.created=Successfully retrieved Fabric-Loader XML. +copyfiles.log.info.cleanupenvironment.folder.enter=Found old server_pack. Cleaning up... +copyfiles.log.info.cleanupenvironment.folder.complete=Cleanup of previous server_pack completed. +copyfiles.log.info.cleanupenvironment.zip.enter=Found old server_pack.zip. Cleaning up... +copyfiles.log.info.cleanupenvironment.zip.complete=Old server_pack.zip deleted. +copyfiles.log.info.copystartscripts.forge=Copying Forge start scripts... +copyfiles.log.info.copystartscripts.fabric=Copying Fabric start scripts... +copyfiles.log.info.copyfiles.setup=Setting up %s files. +copyfiles.log.info.excludeclientmods=Preparing a list of mods to include in server pack... +copyfiles.log.info.copyicon=Copying server-icon.png... +copyfiles.log.info.copyproperties=Copying server.properties... +filessetup.log.info.filessetup.enter=Checking for default files... +filessetup.log.info.filessetup.finish=Setup completed. +filessetup.log.info.chechforconfig.old=creator.conf migrated to serverpackcreator.conf. +filessetup.log.info.checkforconfig.config=serverpackcreator.conf generated. Please customize. +filessetup.log.info.checkforfabriclinux=start-fabric.sh generated. Please customize if you intend on using it. +filessetup.log.info.checkforfabricwindows=start-fabric.bat generated. Please customize if you intend on using it. +filessetup.log.info.checkforforgelinux=start-forge.sh generated. Please customize if you intend on using it. +filessetup.log.info.checkforforgewindows=start-forge.bat generated. Please customize if you intend on using it. +filessetup.log.info.checkforproperties=server.properties generated. Please customize if you intend on using it. +filessetup.log.info.checkforicon=server-icon.png generated. Please customize if you intend on using it. +filessetup.log.info.writeconfigtofile.config=Deleted existing config file to replace with new one. +filessetup.log.info.writeconfigtofile.old=Deleted old existing config file from previous versions of ServerPackCreator, to ensure new one is always used. +handler.log.info.system.enter=SYSTEM INFORMATION: +handler.log.info.system.jarpath=JAR Path: %s +handler.log.info.system.jarname=JAR Name: %s +handler.log.info.system.java=Java version: %s +handler.log.info.system.osarchitecture=OS architecture: %s +handler.log.info.system.osname=OS name: %s +handler.log.info.system.osversion=OS version: %s +handler.log.info.system.include=Include this information when reporting an issue on GitHub. +handler.log.info.runincli.server=Not installing modded server. +handler.log.info.runincli.icon=Not including servericon. +handler.log.info.runincli.properties=Not including server.properties. +handler.log.info.runincli.zip=Not creating zip archive of serverpack. +handler.log.info.runincli.serverpack=Server pack available at: %s/server_pack +handler.log.info.runincli.archive=Server pack archive available at: %s/server_pack.zip +handler.log.info.runincli.finish=Done! +serversetup.log.info.installserver.fabric.enter=Starting Fabric installation. +serversetup.log.info.installserver.fabric.download=Fabric installer successfully downloaded. Installing Fabric. This may take a while... +serversetup.log.info.installserver.fabric.details=For details regarding the installation of this modloader server, see logs/modloader_installer.log. +serversetup.log.info.installserver=Returning to serverpackcreator. +serversetup.log.info.installserver.forge.enter=Starting Forge installation. +serversetup.log.info.installserver.forge.download=Forge installer successfully downloaded. Installing Forge. This may take a while... +serversetup.log.info.installserver.forge.details=For details regarding the installation of this modloader server, see logs/modloader_installer.log. +serversetup.log.info.zipbuilder.enter=Creating zip archive of serverpack... +serversetup.log.info.zipbuilder.finish=Finished creation of zip archive. +serverutilities.log.info.fabricshell=Fabric shell script generated. +serverutilities.log.info.fabricbatch=Fabric batch script generated. +serverutilities.log.info.forgeshell=Forge shell script generated. +serverutilities.log.info.forgebatch=Forge batch script generated. +serverutilities.log.info.downloadfabricjar.enter=Trying to download Fabric installer... +serverutilities.log.info.latestfabricinstaller=Successfully retrieved Fabric-Installer XML. +serverutilities.log.info.downloadforgejar.enter=Trying to download specified Forge installer... +serverutilities.log.info.deleteminecraftjar.enter=Deleting minecraft_server.jar from server_pack.zip. +serverutilities.log.info.deleteminecraftjar.success=File successfully deleted. +serverutilities.log.info.cleanupserverpack.enter=Cleanup after modloader server installation. +serverutilities.log.info.cleanupserverpack.deleted=Deleted %s +serverutilities.log.info.cleanupserverpack.rename=Renamed forge.jar and deleted old one. + +## Warn logs +configcheck.log.warn.checkcurseforge.warn=WARNING: This functionality is experimental and prone to errors. If you encounter any errors, please open an issue on https://github.com/Griefed/ServerPackCreator/issues +configcheck.log.warn.checkcurseforge.warn2=You did not specify a CurseForge projectID,fileID combination or you specified an incorrect one. +configcheck.log.warn.converttoboolean.warn=Warning. Couldn't parse boolean. Assuming false. +configcheck.log.warn.printconfig.noclientmods=No client mods specified. +configcheck.log.warn.checkmodpackdir=Warning: Couldn't find a directory with setting %s. Checking for CurseForge projectID,fileID next... +configcheck.log.warn.getjavapath.empty=You didn't specify the path to your Java installation. serverpackcreator will try to determine it for you... +configcheck.log.warn.getjavapath.set=ServerPackCreator set the path to your Java installation to: %s +# BEWARE INDENTATION! +filessetup.log.warn.filessetup.warning0=################################################################ +filessetup.log.warn.filessetup.warning1=# ONE OR MORE DEFAULT FILE(S) GENERATED. # +filessetup.log.warn.filessetup.warning2=# CHECK THE LOGS TO FIND OUT WHICH FILE(S) WAS/WERE GENERATED. # +filessetup.log.warn.filessetup.warning3=# CUSTOMIZE THEM BEFORE CONTINUING! # +# BEWARE INDENTATION! +handler.log.warn.wip0=################################################################ +handler.log.warn.wip1=# WORK IN PROGRESS! # +handler.log.warn.wip2=# USE AT YOUR OWN RISK! BE AWARE THAT DATA LOSS IS POSSIBLE! # +handler.log.warn.wip3=# I WILL NOT BE HELD RESPONSIBLE FOR DATA LOSS! # +handler.log.warn.wip4=# YOU HAVE BEEN WARNED! # + +serversetup.log.warn.zipbuilder.minecraftjar1=!!! NOTE: The minecraft_server.jar will not be included in the zip-archive. !!! +serversetup.log.warn.zipbuilder.minecraftjar2=!!! Mojang strictly prohibits the distribution of their software through third parties. !!! +serversetup.log.warn.zipbuilder.minecraftjar3=!!! Tell your users to execute the download scripts to get the Minecraft server jar. !!! + +## Debug logs +createmodpack.log.debug.downloadmods.sleep=Error during interruption event. +createmodpack.log.debug.copyoverrides.status=Copying: %s +configcheck.log.debug.isminecraftversioncorrect=Couldn't find mcmanifest.json +configcheck.log.debug.isfabricversioncorrect=Couldn't find fabric-manifest.xml. +configcheck.log.debug.isforgeversioncorrect=Couldn't find forge-manifest.json +copyfiles.log.debug.copyfiles=Copying: %s +serverutilities.log.debug.fabricshell=fabricShell.readSh was: %s +serverutilities.log.debug.fabricbatch=fabricBatch.readBat was: %s +serverutilities.log.debug.forgeshell=forgeShell.readSh was: %s +serverutilities.log.debug.forgebatch=forgeBatch.readBat was: %s +serverutilities.log.debug.downloadforgejar=Deleted incomplete Forge-installer... \ No newline at end of file diff --git a/src/main/resources/de/griefed/resources/lang/lang_en_us.properties b/src/main/resources/de/griefed/resources/lang/lang_en_us.properties index ead06aced..52c50fb8e 100644 --- a/src/main/resources/de/griefed/resources/lang/lang_en_us.properties +++ b/src/main/resources/de/griefed/resources/lang/lang_en_us.properties @@ -5,7 +5,298 @@ localeName=English (US) cli.usingLanguage=Using language: +cli.input.true=[Tt]rue cli.input.yes=[Yy]es cli.input.yes.short=[Yy] cli.input.no=[Nn]o cli.input.no.short=[Nn] +cli.input.false=[Ff]alse + +# DO NOT REMOVE %s \n OR SIMILAR VALUES. DOING SO WILL BREAK SERVERPACKCREATOR FUNCTIONALITY. +# PLEASE BE AWARE OF WHITESPACE! + +# LOGS +## Error logs +createmodpack.log.error.curseforgemodpack=Error: Could not retrieve either projectID %s or fileID %s. Please verify that they are correct. +createmodpack.log.error.initializemodpack.download=Error: Could not download file %s for project %s to directory %s. +createmodpack.log.error.initializemodpack.readmodpack=Error: There was a fault during json parsing. +createmodpack.log.error.downloadmods.curseforgeinfo=Error: Couldn't retrieve CurseForge project name and file name. +createmodpack.log.error.downloadmods.errordownload=Error: Could not download mod %s (ID %s) | %s (ID %s). +createmodpack.log.error.downloadmods.retryfail=Error: Retry of download for %s (ID %s) | %s (ID %s). +createmodpack.log.error.downloadmods.urlfail=Error: An error occurred during URL retrieval. +createmodpack.log.error.downloadmods.fail=Error: An error was encountered in the downloadMods method. +createmodpack.log.error.downloadmods.urllist=Failed downloads detected. Try manually downloading them: %s +createmodpack.log.error.copyoverrides.copy=An error occurred copying files from overrides to parent directory. +createmodpack.log.error.unziparchive.createdir=Failed to create directory %s +createmodpack.log.error.unziparchive.extract=Error: There was an error extracting the archive %s +createmodpack.log.error.newfile.path=Error: There was an error getting the path for %s +createmodpack.log.error.newfile.outside=Entry is outside of the target dir: %s +clisetup.log.error.answer=Incorrect value specified. Please try again. +configcheck.log.error.checkconfig.start=Couldn't parse config file. Consider checking your config file and fixing empty values. If the value needs to be an empty string, leave its value to "". +configcheck.log.error.checkconfig.failure=Config check not successful. Check your config for errors. +configcheck.log.error.iscurse.curseforge=Error: Could not retrieve CurseForge project and file. +configcheck.log.error.iscurse.json=Error: There was a fault during json parsing. +configcheck.log.error.iscurse.project=Error: Project with ID %s could not be found +configcheck.log.error.suggestcopydirs=Error: Something went wrong during the setup of the modpack. Copy dirs should never be empty. Please check the logs for errors and open an issue on https://github.com/Griefed/ServerPackCreator/issues. +configcheck.log.error.printconfig.copydirs=Error: List of directories to copy is empty. +configcheck.log.error.checkmodpackdir=Error: Modpack directory not specified. Please specify an existing directory. +configcheck.log.error.checkcopydirs.empty=Error: No directories specified for copying. This would result in an empty serverpack. +configcheck.log.error.checkcopydirs.notfound=Error: Specified directory %s does not exist. Please specify existing directories. +configcheck.log.error.checkjavapath=Incorrect Java path specified. +configcheck.log.error.checkmodloader=Error: Invalid modloader specified. Modloader must bei either Forge or Fabric. +configcheck.log.error.checkmodloaderversion=Specified incorrect modloader version. Please check your modpack for the correct version and enter again. +configcheck.log.error.isminecraftversioncorrect.parse=Error: Could not create Manifest JSON File. +configcheck.log.error.isminecraftversioncorrect.validate=Error: Could not validate Minecraft version %s. +configcheck.log.error.isminecraftversioncorrect.empty=You didn't specify your Minecraft version. +configcheck.log.error.isfabricversioncorrect.parse=Error: Could not create Fabric Manifest XML File. +configcheck.log.error.isfabricversioncorrect.validate=An error occurred during Minecraft version validation. +configcheck.log.error.isforgeversioncorrect.parse=Error: Could not create Forge Manifest JSON File. +configcheck.log.error.isforgeversioncorrect.validate=An error occurred during Forge version validation. +configcheck.log.error.latestfabricloader.parse=Could not retrieve XML file. Defaulting to Loader version 0.11.3. +copyfiles.log.error.cleanupenvironment.folder.delete=Error deleting file from %s/server_pack. +copyfiles.log.error.cleanupenvironment.zip.delete=Error deleting old zip archive. +copyfiles.log.error.copystartscripts=An error occurred while copying files: +copyfiles.log.error.copyfiles.saves=An error occurred during copy operation. +copyfiles.log.error.copyfiles.saves.world=An error occurred copying the specified world. +copyfiles.log.error.copyfiles.mods=An error occurred copying files to the serverpack. +copyfiles.log.error.copyfiles=An error occurred during the copy-procedure to the serverpack. +copyfiles.log.error.excludeclientmods=Error: There was an error during the acquisition of files in mods directory. +copyfiles.log.error.copyicon=An error occurred trying to copy the server-icon. +copyfiles.log.error.copyproperties=An error occurred trying to copy the server.properties-file. +filessetup.log.error.filessetup=Could not create server_files directory. +filessetup.log.error.checkforconfig.old=Error renaming creator.conf to serverpackcreator.conf. +filessetup.log.error.checkforconfig.config=Could not extract default config-file. +filessetup.log.error.checkforfabriclinux=Could not extract default Fabric Linux start file. +filessetup.log.error.checkforfabricwindows=Could not extract default Fabric Windows start file. +filessetup.log.error.checkforforgelinux=Could not extract default Forge Linux start file. +filessetup.log.error.checkforforgewindows=Could not extract default Forge Windows start file. +filessetup.log.error.checkforproperties=Could not extract default server.properties file. +filessetup.log.error.checkforicon=Could not extract default server-icon.png file. +filessetup.log.error.writeconfigtofile.config=Could not delete existing config file. +filessetup.log.error.writeconfigtofile.old=Could not delete old existing config file from previous versions of ServerPackCreator. +filessetup.log.error.writeconfigtofile=Error: Couldn't write serverpackcreator.conf. +handler.log.error.system.properties=Error getting system properties. +handler.log.error.runincli.copyfiles=There was an error calling the copyFiles method. +handler.log.error.runincli=Error: Please check your serverpackcreator.conf for any incorrect settings. This message is also displayed if serverpackcreator downloaded and setup a modpack from a projectID,fileID for modpackDir. +serversetup.log.error.installserver.fabric=Something went wrong during the installation of Fabric. Maybe the Fabric server are down or unreachable? Skipping... +serversetup.log.error.installserver.fabricfail=An error occurred during Fabric installation. +serversetup.log.error.installserver.forge=Something went wrong during the installation of Forge. Maybe the Forge servers are down or unreachable? Skipping... +serversetup.log.error.installserver.forgefail=An error occurred during Forge installation. +serversetup.log.error.zipbuilder.create=There was an error during zip creation +serverutilities.log.error.fabricshell=Error creating shell script for Fabric. +serverutilities.log.error.fabricbatch=Error creating batch script for Fabric. +serverutilities.log.error.forgeshell=Error creating shell script for Forge. +serverutilities.log.error.forgebatch=Error creating shell script for Forge. +serverutilities.log.error.downloadfabricjar.download=An error occurred downloading Fabric: +serverutilities.log.error.downloadfabricjar.delete=Couldn't delete corrupted Fabric installer. +serverutilities.log.error.latestfabricinstaller=Could not retrieve Installer XML file. Defaulting to Installer version 0.7.2. +serverutilities.log.error.downloadforgejar.download=An error occurred downloading Forge: +serverutilities.log.error.deleteminecraftjar.delete=Error deleting minecraft-server.jar from archive. +serverutilities.log.error.cleanupserverpack.delete=Could not delete %s. +serverutilities.log.error.cleanupserverpack.rename=There was an error during renaming or deletion of the forge server jar. +serverutilities.log.error.cleanupserverpack=Error during Forge cleanup. +about.log.error.document=Error inserting string into document. +about.log.error.browser=Error opening browser. +createserverpack.log.error.buttonmodpack=Error getting directory from modpack directory chooser. +createserverpack.log.error.buttonjavapath=Error getting path to java binary/executable. +createserverpack.log.error.buttonloadconfigfromfile=Error loading configuration from selected file. +createserverpack.log.error.buttoncreateserverpack.tempfile=Could not delete temporary config file. +createserverpack.log.error.buttoncreateserverpack.log=Error reading log. +createserverpack.log.error.buttoncreateserverpack.lognotfound=Log file not found. +createserverpack.log.error.loadconfig=File or config string not found. +modloaderinstallerlog.log.error=Error reading the modloader_installer.log. +serverpackcreatorlog.log.error=Error reading the serverpackcreator.log. +tabbedpane.log.error=Error: There was an error setting the look and feel. + +## Info logs +createmodpack.log.info.initializemodpack.download=Downloading %s/%s. +createmodpack.log.info.initializemodpack.deletezip=Downloaded ZIP-file no longer needed. Deleted. +createmodpack.log.info.initializemodpack.infoheader=CurseForge modpack manifest.json parsed. +createmodpack.log.info.initializemodpack.modpackname=CurseForge modpack name: %s +createmodpack.log.info.initializemodpack.modpackversion=CurseForge modpack version: %s +createmodpack.log.info.initializemodpack.modpackauthor=CurseForge modpack author: %s +createmodpack.log.info.initializemodpack.modpackminecraftversion=CurseForge modpack Minecraft version: %s +createmodpack.log.info.initializemodpack.modloader=CurseForge modpack modloader: %s +createmodpack.log.info.initializemodpack.modloaderversion=CurseForge modpack modloader version: %s +createmodpack.log.info.initializemodpack.overrides=Directory "overrides" not found. Skipping delete action... +createmodpack.log.info.downloadmods.info=Downloading mods... +createmodpack.log.info.downloadmods.specificmod=Downloading mod %d of %d: %s | %s. +createmodpack.log.info.downloadmods.tryagain=Trying again for mod %s (ID %s) | %s (ID %s). +createmodpack.log.info.copyoverrides.info=Copying folders from overrides to modpack... +createmodpack.log.info.checkcurseforgedir.create=CurseForge directory doesn't exist. We will download your file and create the modpack. +createmodpack.log.info.checkcurseforgedir=CurseForge directory found. +createmodpack.log.info.unziparchive=Extracting modpack ZIP-file. +clisetup.log.info.start=You started serverpackcreator with the "%s" argument. Step-by-step generation of config file initiated... +clisetup.log.info.modpack.enter=Please enter your modpack path. This path can be relative to serverpackcreator, or absolute. +clisetup.log.info.modpack.example=Example: "./Some Modpack" or "C:\Minecraft\Some Modpack" +clisetup.log.info.modpack.cli=Path to modpack directory: +clisetup.log.info.clientmods.enter=Enter filenames of clientside-only mods, one per line. When you are done, simply press enter with empty input. +clisetup.log.info.checkreturn=You entered: %s +clisetup.log.info.clientmods.checkreturninfo=If you are satisfied with these values, enter true. If not, enter false to restart clientmod configuration. +clisetup.log.info.answer=Answer: +clisetup.log.info.copydirs.enter=Which directories should be copied to the server pack? These are folder names inside your modpack directory. +clisetup.log.info.copydirs.specify=Specify your directories you want to be copied: +clisetup.log.info.copydirs.checkreturninfo=If you are satisfied with these values, enter true. If not, enter false to restart clientmod configuration. +clisetup.log.info.server.enter=Do you want serverpackcreator to install the modloader server for your server pack? Must be true or false. +clisetup.log.info.server.include=Include modloader server installation: +clisetup.log.info.minecraft.enter=Which version of Minecraft does your modpack use? +clisetup.log.info.minecraft.specify=Minecraft version: +clisetup.log.info.modloader.enter=What modloader does your modpack use? +clisetup.log.info.modloader.cli=Modloader: +clisetup.log.info.modloaderversion.enter=What version of %s does your modpack use? +clisetup.log.info.modloaderversion.cli=Modloader version: +clisetup.log.info.java.enter=Specify the path to your Java installation. Must end with "java" on Linux, or "java.exe" on Windows. +clisetup.log.info.java.enter2=If you leave this empty, serverpackcreator will try to determine the path for you. +clisetup.log.info.java.example=Example Linux: /usr/bin/java | Example Windows: C:/Program Files/AdoptOpenJDK/jdk-8.0.275.1-hotspot/jre/bin/java.exe +clisetup.log.info.java.cli=Path to your Java installation: +clisetup.log.info.icon.enter=Do you want serverpackcreator to include a server-icon in your server pack? Must be true or false. +clisetup.log.info.icon.cli=Include server-icon.png: +clisetup.log.info.properties.enter=Do you want serverpackcreator to include a server.properties in your server pack? Must be true or false. +clisetup.log.info.properties.cli=Include server.properties: +clisetup.log.info.scripts.enter=Do you want serverpackcreator to include start scripts for Linux and Windows in your server pack? Must be true or false. +clisetup.log.info.scripts.cli=Include start scripts: +clisetup.log.info.zip.enter=Do you want serverpackcreator to create a ZIP-archive of your server pack? Must be true or false. +clisetup.log.info.zip.cli=Create ZIP-archive: +clisetup.log.info.config.enter=If you are satisfied with these values, enter true. If not, enter false to restart config generation. +clisetup.log.info.config.written=New config file successfully written. Thanks go to Whitebear60 for initially writing the CLI-Config-Generation. +configcheck.log.info.checkconfig.start=Checking configuration... +configcheck.log.info.checkconfig.success=Config check successful. No errors encountered. +configcheck.log.info.checkconfig.skipstart=Server installation disabled. Skipping check of: +configcheck.log.info.checkconfig.skipjava= Java path +configcheck.log.info.checkconfig.skipminecraft= Minecraft version +configcheck.log.info.checkconfig.skipmodlaoder= Modloader +configcheck.log.info.checkconfig.skipmodloaderversion= Modloader version +configcheck.log.info.iscurse.display=Display name not found. Setting display name as file name on disk. +configcheck.log.info.iscurse.fabric=Please make sure to check the configuration for the used Fabric version after serverpackcreator is done setting up the modpack and new config file. +configcheck.log.info.iscurse.replace=Your old config file will now be replaced by a new one, with values gathered from the downloaded modpack. +configcheck.log.info.containsfabric=Fabric detected. Setting modloader to Fabric. +configcheck.log.info.suggestcopydirs.start=Preparing a list of directories to include in server pack... +configcheck.log.info.suggestcopydirs.list=Modpack directory checked. Suggested directories for copyDirs-setting are: %s +configcheck.log.info.checkcurseforge.info=You specified a CurseForge projectID and fileID combination. +configcheck.log.info.checkcurseforge.return=You entered: ProjectID %s | FileID %s. +configcheck.log.info.printconfig.start=Your configuration is: +configcheck.log.info.printconfig.modpackdir=Modpack directory: %s +configcheck.log.info.printconfig.clientmods=Client mods specified. Client mods are: +configcheck.log.info.printconfig.copydirs=Directories to copy: +configcheck.log.info.printconfig.server=Include server installation: %s +configcheck.log.info.printconfig.javapath=Java Installation path: %s +configcheck.log.info.printconfig.minecraftversion=Minecraft version: %s +configcheck.log.info.printconfig.modloader=Modloader: %s +configcheck.log.info.printconfig.modloaderversion=Modloader Version: %s +configcheck.log.info.printconfig.icon=Include server icon: %s +configcheck.log.info.printconfig.properties=Include server properties: %s +configcheck.log.info.printconfig.scripts=Include start scripts: %s +configcheck.log.info.printconfig.zip=Create zip-archive of serverpack: %s +configcheck.log.info.isminecraftversioncorrect.create=Manifest JSON File does not exist, creating... +configcheck.log.info.isminecraftversioncorrect.created=Manifest JSON File created. +configcheck.log.info.isfabricversioncorrect.create=Fabric Manifest XML File does not exist, creating... +configcheck.log.info.isfabricversioncorrect.created=Fabric Manifest XML File created +configcheck.log.info.isforgeversioncorrect.create=Forge Manifest JSON File does not exist, creating... +configcheck.log.info.isforgeversioncorrect.created=Forge Manifest JSON File created +configcheck.log.info.latestfabricloader.created=Successfully retrieved Fabric-Loader XML. +copyfiles.log.info.cleanupenvironment.folder.enter=Found old server_pack. Cleaning up... +copyfiles.log.info.cleanupenvironment.folder.complete=Cleanup of previous server_pack completed. +copyfiles.log.info.cleanupenvironment.zip.enter=Found old server_pack.zip. Cleaning up... +copyfiles.log.info.cleanupenvironment.zip.complete=Old server_pack.zip deleted. +copyfiles.log.info.copystartscripts.forge=Copying Forge start scripts... +copyfiles.log.info.copystartscripts.fabric=Copying Fabric start scripts... +copyfiles.log.info.copyfiles.setup=Setting up %s files. +copyfiles.log.info.excludeclientmods=Preparing a list of mods to include in server pack... +copyfiles.log.info.copyicon=Copying server-icon.png... +copyfiles.log.info.copyproperties=Copying server.properties... +filessetup.log.info.filessetup.enter=Checking for default files... +filessetup.log.info.filessetup.finish=Setup completed. +filessetup.log.info.chechforconfig.old=creator.conf migrated to serverpackcreator.conf. +filessetup.log.info.checkforconfig.config=serverpackcreator.conf generated. Please customize. +filessetup.log.info.checkforfabriclinux=start-fabric.sh generated. Please customize if you intend on using it. +filessetup.log.info.checkforfabricwindows=start-fabric.bat generated. Please customize if you intend on using it. +filessetup.log.info.checkforforgelinux=start-forge.sh generated. Please customize if you intend on using it. +filessetup.log.info.checkforforgewindows=start-forge.bat generated. Please customize if you intend on using it. +filessetup.log.info.checkforproperties=server.properties generated. Please customize if you intend on using it. +filessetup.log.info.checkforicon=server-icon.png generated. Please customize if you intend on using it. +filessetup.log.info.writeconfigtofile.config=Deleted existing config file to replace with new one. +filessetup.log.info.writeconfigtofile.old=Deleted old existing config file from previous versions of ServerPackCreator, to ensure new one is always used. +handler.log.info.system.enter=SYSTEM INFORMATION: +handler.log.info.system.jarpath=JAR Path: %s +handler.log.info.system.jarname=JAR Name: %s +handler.log.info.system.java=Java version: %s +handler.log.info.system.osarchitecture=OS architecture: %s +handler.log.info.system.osname=OS name: %s +handler.log.info.system.osversion=OS version: %s +handler.log.info.system.include=Include this information when reporting an issue on GitHub. +handler.log.info.runincli.server=Not installing modded server. +handler.log.info.runincli.icon=Not including servericon. +handler.log.info.runincli.properties=Not including server.properties. +handler.log.info.runincli.zip=Not creating zip archive of serverpack. +handler.log.info.runincli.serverpack=Server pack available at: %s/server_pack +handler.log.info.runincli.archive=Server pack archive available at: %s/server_pack.zip +handler.log.info.runincli.finish=Done! +serversetup.log.info.installserver.fabric.enter=Starting Fabric installation. +serversetup.log.info.installserver.fabric.download=Fabric installer successfully downloaded. Installing Fabric. This may take a while... +serversetup.log.info.installserver.fabric.details=For details regarding the installation of this modloader server, see logs/modloader_installer.log. +serversetup.log.info.installserver=Returning to serverpackcreator. +serversetup.log.info.installserver.forge.enter=Starting Forge installation. +serversetup.log.info.installserver.forge.download=Forge installer successfully downloaded. Installing Forge. This may take a while... +serversetup.log.info.installserver.forge.details=For details regarding the installation of this modloader server, see logs/modloader_installer.log. +serversetup.log.info.zipbuilder.enter=Creating zip archive of serverpack... +serversetup.log.info.zipbuilder.finish=Finished creation of zip archive. +serverutilities.log.info.fabricshell=Fabric shell script generated. +serverutilities.log.info.fabricbatch=Fabric batch script generated. +serverutilities.log.info.forgeshell=Forge shell script generated. +serverutilities.log.info.forgebatch=Forge batch script generated. +serverutilities.log.info.downloadfabricjar.enter=Trying to download Fabric installer... +serverutilities.log.info.latestfabricinstaller=Successfully retrieved Fabric-Installer XML. +serverutilities.log.info.downloadforgejar.enter=Trying to download specified Forge installer... +serverutilities.log.info.deleteminecraftjar.enter=Deleting minecraft_server.jar from server_pack.zip. +serverutilities.log.info.deleteminecraftjar.success=File successfully deleted. +serverutilities.log.info.cleanupserverpack.enter=Cleanup after modloader server installation. +serverutilities.log.info.cleanupserverpack.deleted=Deleted %s +serverutilities.log.info.cleanupserverpack.rename=Renamed forge.jar and deleted old one. +createserverpack.log.info.buttonmodpack=Selected modpack directory: %s +createserverpack.log.info.buttonclientmods=Selected mods: %s +createserverpack.log.info.buttoncopydirs=Selected directories: %s +createserverpack.log.info.buttonjavapath=Set path to Java executable to: %s +createserverpack.log.info.buttonloadconfigfromfile=Loading from configuration file: %s +createserverpack.log.info.buttonloadconfigfromfile.finish=Configuration successfully loaded. +createserverpack.log.info.buttoncreateserverpack.start=Checking entered configuration. +createserverpack.log.info.buttoncreateserverpack.checked=Configuration checked successfully. +createserverpack.log.info.buttoncreateserverpack.tempfile=Deleted temporary config file. +createserverpack.log.info.buttoncreateserverpack.writing=Writing configuration to file. +createserverpack.log.info.buttoncreateserverpack.generating=Generating server pack. +createserverpack.log.info.buttoncreateserverpack.ready=ServerPackCreator ready. + +## Warn logs +configcheck.log.warn.checkcurseforge.warn=WARNING: This functionality is experimental and prone to errors. If you encounter any errors, please open an issue on https://github.com/Griefed/ServerPackCreator/issues +configcheck.log.warn.checkcurseforge.warn2=You did not specify a CurseForge projectID,fileID combination or you specified an incorrect one. +configcheck.log.warn.converttoboolean.warn=Warning. Couldn't parse boolean. Assuming false. +configcheck.log.warn.printconfig.noclientmods=No client mods specified. +configcheck.log.warn.checkmodpackdir=Warning: Couldn't find a directory with setting %s. Checking for CurseForge projectID,fileID next... +configcheck.log.warn.getjavapath.empty=You didn't specify the path to your Java installation. serverpackcreator will try to determine it for you... +configcheck.log.warn.getjavapath.set=ServerPackCreator set the path to your Java installation to: %s +# BEWARE INDENTATION! +filessetup.log.warn.filessetup.warning0=################################################################ +filessetup.log.warn.filessetup.warning1=# ONE OR MORE DEFAULT FILE(S) GENERATED. # +filessetup.log.warn.filessetup.warning2=# CHECK THE LOGS TO FIND OUT WHICH FILE(S) WAS/WERE GENERATED. # +filessetup.log.warn.filessetup.warning3=# CUSTOMIZE THEM BEFORE CONTINUING! # +# BEWARE INDENTATION! +handler.log.warn.wip0=################################################################ +handler.log.warn.wip1=# WORK IN PROGRESS! # +handler.log.warn.wip2=# USE AT YOUR OWN RISK! BE AWARE THAT DATA LOSS IS POSSIBLE! # +handler.log.warn.wip3=# I WILL NOT BE HELD RESPONSIBLE FOR DATA LOSS! # +handler.log.warn.wip4=# YOU HAVE BEEN WARNED! # +serversetup.log.warn.zipbuilder.minecraftjar1=!!! NOTE: The minecraft_server.jar will not be included in the zip-archive. !!! +serversetup.log.warn.zipbuilder.minecraftjar2=!!! Mojang strictly prohibits the distribution of their software through third parties. !!! +serversetup.log.warn.zipbuilder.minecraftjar3=!!! Tell your users to execute the download scripts to get the Minecraft server jar. !!! + +## Debug logs +createmodpack.log.debug.downloadmods.sleep=Error during interruption event. +createmodpack.log.debug.copyoverrides.status=Copying: %s +configcheck.log.debug.isminecraftversioncorrect=Couldn't find mcmanifest.json +configcheck.log.debug.isfabricversioncorrect=Couldn't find fabric-manifest.xml. +configcheck.log.debug.isforgeversioncorrect=Couldn't find forge-manifest.json +copyfiles.log.debug.copyfiles=Copying: %s +serverutilities.log.debug.fabricshell=fabricShell.readSh was: %s +serverutilities.log.debug.fabricbatch=fabricBatch.readBat was: %s +serverutilities.log.debug.forgeshell=forgeShell.readSh was: %s +serverutilities.log.debug.forgebatch=forgeBatch.readBat was: %s +serverutilities.log.debug.downloadforgejar=Deleted incomplete Forge-installer... \ No newline at end of file diff --git a/src/main/resources/de/griefed/resources/lang/lang_uk_ua.properties b/src/main/resources/de/griefed/resources/lang/lang_uk_ua.properties index 44fc5566d..7df8f09c5 100644 --- a/src/main/resources/de/griefed/resources/lang/lang_uk_ua.properties +++ b/src/main/resources/de/griefed/resources/lang/lang_uk_ua.properties @@ -5,7 +5,275 @@ localeName=УкраїнÑька (Україна) cli.usingLanguage=ВикориÑтовуєтьÑÑ Ð¼Ð¾Ð²Ð°: +cli.input.true=[Tt]rue cli.input.yes=[Тт]ак cli.input.yes.short=[Тт] cli.input.no=[Ðн]Ñ– cli.input.no.short=[Ðн] +cli.input.false=[Ff]alse + +# DO NOT REMOVE %s \n OR SIMILAR VALUES. DOING SO WILL BREAK SERVERPACKCREATOR FUNCTIONALITY. +# PLEASE BE AWARE OF WHITESPACE! + +# Logs +## Error logs +createmodpack.log.error.curseforgemodpack=Error: Could not retrieve either projectID %s or fileID %s. Please verify that they are correct. +createmodpack.log.error.initializemodpack.download=Error: Could not download file %s for project %s to directory %s. +createmodpack.log.error.initializemodpack.readmodpack=Error: There was a fault during json parsing. +createmodpack.log.error.downloadmods.curseforgeinfo=Error: Couldn't retrieve CurseForge project name and file name. +createmodpack.log.error.downloadmods.errordownload=Error: Could not download mod %s (ID %s) | %s (ID %s). +createmodpack.log.error.downloadmods.retryfail=Error: Retry of download for %s (ID %s) | %s (ID %s). +createmodpack.log.error.downloadmods.urlfail=Error: An error occurred during URL retrieval. +createmodpack.log.error.downloadmods.fail=Error: An error was encountered in the downloadMods method. +createmodpack.log.error.downloadmods.urllist=Failed downloads detected. Try manually downloading them: %s +createmodpack.log.error.copyoverrides.copy=An error occurred copying files from overrides to parent directory. +createmodpack.log.error.unziparchive.createdir=Failed to create directory %s +createmodpack.log.error.unziparchive.extract=Error: There was an error extracting the archive %s +createmodpack.log.error.newfile.path=Error: There was an error getting the path for %s +createmodpack.log.error.newfile.outside=Entry is outside of the target dir: %s +clisetup.log.error.answer=Incorrect value specified. Please try again. +configcheck.log.error.checkconfig.start=Couldn't parse config file. Consider checking your config file and fixing empty values. If the value needs to be an empty string, leave its value to "". +configcheck.log.error.checkconfig.failure=Config check not successful. Check your config for errors. +configcheck.log.error.iscurse.curseforge=Error: Could not retrieve CurseForge project and file. +configcheck.log.error.iscurse.json=Error: There was a fault during json parsing. +configcheck.log.error.iscurse.project=Error: Project with ID %s could not be found +configcheck.log.error.suggestcopydirs=Error: Something went wrong during the setup of the modpack. Copy dirs should never be empty. Please check the logs for errors and open an issue on https://github.com/Griefed/ServerPackCreator/issues. +configcheck.log.error.printconfig.copydirs=Error: List of directories to copy is empty. +configcheck.log.error.checkmodpackdir=Error: Modpack directory not specified. Please specify an existing directory. +configcheck.log.error.checkcopydirs.empty=Error: No directories specified for copying. This would result in an empty serverpack. +configcheck.log.error.checkcopydirs.notfound=Error: Specified directory %s does not exist. Please specify existing directories. +configcheck.log.error.checkjavapath=Incorrect Java path specified. +configcheck.log.error.checkmodloader=Error: Invalid modloader specified. Modloader must bei either Forge or Fabric. +configcheck.log.error.checkmodloaderversion=Specified incorrect modloader version. Please check your modpack for the correct version and enter again. +configcheck.log.error.isminecraftversioncorrect.parse=Error: Could not create Manifest JSON File. +configcheck.log.error.isminecraftversioncorrect.validate=Error: Could not validate Minecraft version %s. +configcheck.log.error.isminecraftversioncorrect.empty=You didn't specify your Minecraft version. +configcheck.log.error.isfabricversioncorrect.parse=Error: Could not create Fabric Manifest XML File. +configcheck.log.error.isfabricversioncorrect.validate=An error occurred during Minecraft version validation. +configcheck.log.error.isforgeversioncorrect.parse=Error: Could not create Forge Manifest JSON File. +configcheck.log.error.isforgeversioncorrect.validate=An error occurred during Forge version validation. +configcheck.log.error.latestfabricloader.parse=Could not retrieve XML file. Defaulting to Loader version 0.11.3. +copyfiles.log.error.cleanupenvironment.folder.delete=Error deleting file from %s/server_pack. +copyfiles.log.error.cleanupenvironment.zip.delete=Error deleting old zip archive. +copyfiles.log.error.copystartscripts=An error occurred while copying files: +copyfiles.log.error.copyfiles.saves=An error occurred during copy operation. +copyfiles.log.error.copyfiles.saves.world=An error occurred copying the specified world. +copyfiles.log.error.copyfiles.mods=An error occurred copying files to the serverpack. +copyfiles.log.error.copyfiles=An error occurred during the copy-procedure to the serverpack. +copyfiles.log.error.excludeclientmods=Error: There was an error during the acquisition of files in mods directory. +copyfiles.log.error.copyicon=An error occurred trying to copy the server-icon. +copyfiles.log.error.copyproperties=An error occurred trying to copy the server.properties-file. +filessetup.log.error.filessetup=Could not create server_files directory. +filessetup.log.error.checkforconfig.old=Error renaming creator.conf to serverpackcreator.conf. +filessetup.log.error.checkforconfig.config=Could not extract default config-file. +filessetup.log.error.checkforfabriclinux=Could not extract default Fabric Linux start file. +filessetup.log.error.checkforfabricwindows=Could not extract default Fabric Windows start file. +filessetup.log.error.checkforforgelinux=Could not extract default Forge Linux start file. +filessetup.log.error.checkforforgewindows=Could not extract default Forge Windows start file. +filessetup.log.error.checkforproperties=Could not extract default server.properties file. +filessetup.log.error.checkforicon=Could not extract default server-icon.png file. +filessetup.log.error.writeconfigtofile.config=Could not delete existing config file. +filessetup.log.error.writeconfigtofile.old=Could not delete old existing config file from previous versions of ServerPackCreator. +filessetup.log.error.writeconfigtofile=Error: Couldn't write serverpackcreator.conf. +handler.log.error.system.properties=Error getting system properties. +handler.log.error.runincli.copyfiles=There was an error calling the copyFiles method. +handler.log.error.runincli=Error: Please check your serverpackcreator.conf for any incorrect settings. This message is also displayed if serverpackcreator downloaded and setup a modpack from a projectID,fileID for modpackDir. +serversetup.log.error.installserver.fabric=Something went wrong during the installation of Fabric. Maybe the Fabric server are down or unreachable? Skipping... +serversetup.log.error.installserver.fabricfail=An error occurred during Fabric installation. +serversetup.log.error.installserver.forge=Something went wrong during the installation of Forge. Maybe the Forge servers are down or unreachable? Skipping... +serversetup.log.error.installserver.forgefail=An error occurred during Forge installation. +serversetup.log.error.zipbuilder.create=There was an error during zip creation +serverutilities.log.error.fabricshell=Error creating shell script for Fabric. +serverutilities.log.error.fabricbatch=Error creating batch script for Fabric. +serverutilities.log.error.forgeshell=Error creating shell script for Forge. +serverutilities.log.error.forgebatch=Error creating shell script for Forge. +serverutilities.log.error.downloadfabricjar.download=An error occurred downloading Fabric: +serverutilities.log.error.downloadfabricjar.delete=Couldn't delete corrupted Fabric installer. +serverutilities.log.error.latestfabricinstaller=Could not retrieve Installer XML file. Defaulting to Installer version 0.7.2. +serverutilities.log.error.downloadforgejar.download=An error occurred downloading Forge: +serverutilities.log.error.deleteminecraftjar.delete=Error deleting minecraft-server.jar from archive. +serverutilities.log.error.cleanupserverpack.delete=Could not delete %s. +serverutilities.log.error.cleanupserverpack.rename=There was an error during renaming or deletion of the forge server jar. +serverutilities.log.error.cleanupserverpack=Error during Forge cleanup. + +## Info logs +createmodpack.log.info.initializemodpack.download=Downloading %s/%s. +createmodpack.log.info.initializemodpack.deletezip=Downloaded ZIP-file no longer needed. Deleted. +createmodpack.log.info.initializemodpack.infoheader=CurseForge modpack manifest.json parsed. +createmodpack.log.info.initializemodpack.modpackname=CurseForge modpack name: %s +createmodpack.log.info.initializemodpack.modpackversion=CurseForge modpack version: %s +createmodpack.log.info.initializemodpack.modpackauthor=CurseForge modpack author: %s +createmodpack.log.info.initializemodpack.modpackminecraftversion=CurseForge modpack Minecraft version: %s +createmodpack.log.info.initializemodpack.modloader=CurseForge modpack modloader: %s +createmodpack.log.info.initializemodpack.modloaderversion=CurseForge modpack modloader version: %s +createmodpack.log.info.initializemodpack.overrides=Directory "overrides" not found. Skipping delete action... +createmodpack.log.info.downloadmods.info=Downloading mods... +createmodpack.log.info.downloadmods.specificmod=Downloading mod %d of %d: %s | %s. +createmodpack.log.info.downloadmods.tryagain=Trying again for mod %s (ID %s) | %s (ID %s). +createmodpack.log.info.copyoverrides.info=Copying folders from overrides to modpack... +createmodpack.log.info.checkcurseforgedir.create=CurseForge directory doesn't exist. We will download your file and create the modpack. +createmodpack.log.info.checkcurseforgedir=CurseForge directory found. +createmodpack.log.info.unziparchive=Extracting modpack ZIP-file. +clisetup.log.info.start=You started serverpackcreator with the "%s" argument. Step-by-step generation of config file initiated... +clisetup.log.info.modpack.enter=Please enter your modpack path. This path can be relative to serverpackcreator, or absolute. +clisetup.log.info.modpack.example=Example: "./Some Modpack" or "C:\Minecraft\Some Modpack" +clisetup.log.info.modpack.cli=Path to modpack directory: +clisetup.log.info.clientmods.enter=Enter filenames of clientside-only mods, one per line. When you are done, simply press enter with empty input. +clisetup.log.info.checkreturn=You entered: %s +clisetup.log.info.clientmods.checkreturninfo=If you are satisfied with these values, enter true. If not, enter false to restart clientmod configuration. +clisetup.log.info.answer=Answer: +clisetup.log.info.copydirs.enter=Which directories should be copied to the server pack? These are folder names inside your modpack directory. +clisetup.log.info.copydirs.specify=Specify your directories you want to be copied: +clisetup.log.info.copydirs.checkreturninfo=If you are satisfied with these values, enter true. If not, enter false to restart clientmod configuration. +clisetup.log.info.server.enter=Do you want serverpackcreator to install the modloader server for your server pack? Must be true or false. +clisetup.log.info.server.include=Include modloader server installation: +clisetup.log.info.minecraft.enter=Which version of Minecraft does your modpack use? +clisetup.log.info.minecraft.specify=Minecraft version: +clisetup.log.info.modloader.enter=What modloader does your modpack use? +clisetup.log.info.modloader.cli=Modloader: +clisetup.log.info.modloaderversion.enter=What version of %s does your modpack use? +clisetup.log.info.modloaderversion.cli=Modloader version: +clisetup.log.info.java.enter=Specify the path to your Java installation. Must end with "java" on Linux, or "java.exe" on Windows. +clisetup.log.info.java.enter2=If you leave this empty, serverpackcreator will try to determine the path for you. +clisetup.log.info.java.example=Example Linux: /usr/bin/java | Example Windows: C:/Program Files/AdoptOpenJDK/jdk-8.0.275.1-hotspot/jre/bin/java.exe +clisetup.log.info.java.cli=Path to your Java installation: +clisetup.log.info.icon.enter=Do you want serverpackcreator to include a server-icon in your server pack? Must be true or false. +clisetup.log.info.icon.cli=Include server-icon.png: +clisetup.log.info.properties.enter=Do you want serverpackcreator to include a server.properties in your server pack? Must be true or false. +clisetup.log.info.properties.cli=Include server.properties: +clisetup.log.info.scripts.enter=Do you want serverpackcreator to include start scripts for Linux and Windows in your server pack? Must be true or false. +clisetup.log.info.scripts.cli=Include start scripts: +clisetup.log.info.zip.enter=Do you want serverpackcreator to create a ZIP-archive of your server pack? Must be true or false. +clisetup.log.info.zip.cli=Create ZIP-archive: +clisetup.log.info.config.enter=If you are satisfied with these values, enter true. If not, enter false to restart config generation. +clisetup.log.info.config.written=New config file successfully written. Thanks go to Whitebear60 for initially writing the CLI-Config-Generation. +configcheck.log.info.checkconfig.start=Checking configuration... +configcheck.log.info.checkconfig.success=Config check successful. No errors encountered. +configcheck.log.info.checkconfig.skipstart=Server installation disabled. Skipping check of: +configcheck.log.info.checkconfig.skipjava= Java path +configcheck.log.info.checkconfig.skipminecraft= Minecraft version +configcheck.log.info.checkconfig.skipmodlaoder= Modloader +configcheck.log.info.checkconfig.skipmodloaderversion= Modloader version +configcheck.log.info.iscurse.display=Display name not found. Setting display name as file name on disk. +configcheck.log.info.iscurse.fabric=Please make sure to check the configuration for the used Fabric version after serverpackcreator is done setting up the modpack and new config file. +configcheck.log.info.iscurse.replace=Your old config file will now be replaced by a new one, with values gathered from the downloaded modpack. +configcheck.log.info.containsfabric=Fabric detected. Setting modloader to Fabric. +configcheck.log.info.suggestcopydirs.start=Preparing a list of directories to include in server pack... +configcheck.log.info.suggestcopydirs.list=Modpack directory checked. Suggested directories for copyDirs-setting are: %s +configcheck.log.info.checkcurseforge.info=You specified a CurseForge projectID and fileID combination. +configcheck.log.info.checkcurseforge.return=You entered: ProjectID %s | FileID %s. +configcheck.log.info.printconfig.start=Your configuration is: +configcheck.log.info.printconfig.modpackdir=Modpack directory: %s +configcheck.log.info.printconfig.clientmods=Client mods specified. Client mods are: +configcheck.log.info.printconfig.copydirs=Directories to copy: +configcheck.log.info.printconfig.server=Include server installation: %s +configcheck.log.info.printconfig.javapath=Java Installation path: %s +configcheck.log.info.printconfig.minecraftversion=Minecraft version: %s +configcheck.log.info.printconfig.modloader=Modloader: %s +configcheck.log.info.printconfig.modloaderversion=Modloader Version: %s +configcheck.log.info.printconfig.icon=Include server icon: %s +configcheck.log.info.printconfig.properties=Include server properties: %s +configcheck.log.info.printconfig.scripts=Include start scripts: %s +configcheck.log.info.printconfig.zip=Create zip-archive of serverpack: %s +configcheck.log.info.isminecraftversioncorrect.create=Manifest JSON File does not exist, creating... +configcheck.log.info.isminecraftversioncorrect.created=Manifest JSON File created. +configcheck.log.info.isfabricversioncorrect.create=Fabric Manifest XML File does not exist, creating... +configcheck.log.info.isfabricversioncorrect.created=Fabric Manifest XML File created +configcheck.log.info.isforgeversioncorrect.create=Forge Manifest JSON File does not exist, creating... +configcheck.log.info.isforgeversioncorrect.created=Forge Manifest JSON File created +configcheck.log.info.latestfabricloader.created=Successfully retrieved Fabric-Loader XML. +copyfiles.log.info.cleanupenvironment.folder.enter=Found old server_pack. Cleaning up... +copyfiles.log.info.cleanupenvironment.folder.complete=Cleanup of previous server_pack completed. +copyfiles.log.info.cleanupenvironment.zip.enter=Found old server_pack.zip. Cleaning up... +copyfiles.log.info.cleanupenvironment.zip.complete=Old server_pack.zip deleted. +copyfiles.log.info.copystartscripts.forge=Copying Forge start scripts... +copyfiles.log.info.copystartscripts.fabric=Copying Fabric start scripts... +copyfiles.log.info.copyfiles.setup=Setting up %s files. +copyfiles.log.info.excludeclientmods=Preparing a list of mods to include in server pack... +copyfiles.log.info.copyicon=Copying server-icon.png... +copyfiles.log.info.copyproperties=Copying server.properties... +filessetup.log.info.filessetup.enter=Checking for default files... +filessetup.log.info.filessetup.finish=Setup completed. +filessetup.log.info.chechforconfig.old=creator.conf migrated to serverpackcreator.conf. +filessetup.log.info.checkforconfig.config=serverpackcreator.conf generated. Please customize. +filessetup.log.info.checkforfabriclinux=start-fabric.sh generated. Please customize if you intend on using it. +filessetup.log.info.checkforfabricwindows=start-fabric.bat generated. Please customize if you intend on using it. +filessetup.log.info.checkforforgelinux=start-forge.sh generated. Please customize if you intend on using it. +filessetup.log.info.checkforforgewindows=start-forge.bat generated. Please customize if you intend on using it. +filessetup.log.info.checkforproperties=server.properties generated. Please customize if you intend on using it. +filessetup.log.info.checkforicon=server-icon.png generated. Please customize if you intend on using it. +filessetup.log.info.writeconfigtofile.config=Deleted existing config file to replace with new one. +filessetup.log.info.writeconfigtofile.old=Deleted old existing config file from previous versions of ServerPackCreator, to ensure new one is always used. +handler.log.info.system.enter=SYSTEM INFORMATION: +handler.log.info.system.jarpath=JAR Path: %s +handler.log.info.system.jarname=JAR Name: %s +handler.log.info.system.java=Java version: %s +handler.log.info.system.osarchitecture=OS architecture: %s +handler.log.info.system.osname=OS name: %s +handler.log.info.system.osversion=OS version: %s +handler.log.info.system.include=Include this information when reporting an issue on GitHub. +handler.log.info.runincli.server=Not installing modded server. +handler.log.info.runincli.icon=Not including servericon. +handler.log.info.runincli.properties=Not including server.properties. +handler.log.info.runincli.zip=Not creating zip archive of serverpack. +handler.log.info.runincli.serverpack=Server pack available at: %s/server_pack +handler.log.info.runincli.archive=Server pack archive available at: %s/server_pack.zip +handler.log.info.runincli.finish=Done! +serversetup.log.info.installserver.fabric.enter=Starting Fabric installation. +serversetup.log.info.installserver.fabric.download=Fabric installer successfully downloaded. Installing Fabric. This may take a while... +serversetup.log.info.installserver.fabric.details=For details regarding the installation of this modloader server, see logs/modloader_installer.log. +serversetup.log.info.installserver=Returning to serverpackcreator. +serversetup.log.info.installserver.forge.enter=Starting Forge installation. +serversetup.log.info.installserver.forge.download=Forge installer successfully downloaded. Installing Forge. This may take a while... +serversetup.log.info.installserver.forge.details=For details regarding the installation of this modloader server, see logs/modloader_installer.log. +serversetup.log.info.zipbuilder.enter=Creating zip archive of serverpack... +serversetup.log.info.zipbuilder.finish=Finished creation of zip archive. +serverutilities.log.info.fabricshell=Fabric shell script generated. +serverutilities.log.info.fabricbatch=Fabric batch script generated. +serverutilities.log.info.forgeshell=Forge shell script generated. +serverutilities.log.info.forgebatch=Forge batch script generated. +serverutilities.log.info.downloadfabricjar.enter=Trying to download Fabric installer... +serverutilities.log.info.latestfabricinstaller=Successfully retrieved Fabric-Installer XML. +serverutilities.log.info.downloadforgejar.enter=Trying to download specified Forge installer... +serverutilities.log.info.deleteminecraftjar.enter=Deleting minecraft_server.jar from server_pack.zip. +serverutilities.log.info.deleteminecraftjar.success=File successfully deleted. +serverutilities.log.info.cleanupserverpack.enter=Cleanup after modloader server installation. +serverutilities.log.info.cleanupserverpack.deleted=Deleted %s +serverutilities.log.info.cleanupserverpack.rename=Renamed forge.jar and deleted old one. + +## Warn logs +configcheck.log.warn.checkcurseforge.warn=WARNING: This functionality is experimental and prone to errors. If you encounter any errors, please open an issue on https://github.com/Griefed/ServerPackCreator/issues +configcheck.log.warn.checkcurseforge.warn2=You did not specify a CurseForge projectID,fileID combination or you specified an incorrect one. +configcheck.log.warn.converttoboolean.warn=Warning. Couldn't parse boolean. Assuming false. +configcheck.log.warn.printconfig.noclientmods=No client mods specified. +configcheck.log.warn.checkmodpackdir=Warning: Couldn't find a directory with setting %s. Checking for CurseForge projectID,fileID next... +configcheck.log.warn.getjavapath.empty=You didn't specify the path to your Java installation. serverpackcreator will try to determine it for you... +configcheck.log.warn.getjavapath.set=ServerPackCreator set the path to your Java installation to: %s +# BEWARE INDENTATION! +filessetup.log.warn.filessetup.warning0=################################################################ +filessetup.log.warn.filessetup.warning1=# ONE OR MORE DEFAULT FILE(S) GENERATED. # +filessetup.log.warn.filessetup.warning2=# CHECK THE LOGS TO FIND OUT WHICH FILE(S) WAS/WERE GENERATED. # +filessetup.log.warn.filessetup.warning3=# CUSTOMIZE THEM BEFORE CONTINUING! # +# BEWARE INDENTATION! +handler.log.warn.wip0=################################################################ +handler.log.warn.wip1=# WORK IN PROGRESS! # +handler.log.warn.wip2=# USE AT YOUR OWN RISK! BE AWARE THAT DATA LOSS IS POSSIBLE! # +handler.log.warn.wip3=# I WILL NOT BE HELD RESPONSIBLE FOR DATA LOSS! # +handler.log.warn.wip4=# YOU HAVE BEEN WARNED! # + +serversetup.log.warn.zipbuilder.minecraftjar1=!!! NOTE: The minecraft_server.jar will not be included in the zip-archive. !!! +serversetup.log.warn.zipbuilder.minecraftjar2=!!! Mojang strictly prohibits the distribution of their software through third parties. !!! +serversetup.log.warn.zipbuilder.minecraftjar3=!!! Tell your users to execute the download scripts to get the Minecraft server jar. !!! + +## Debug logs +createmodpack.log.debug.downloadmods.sleep=Error during interruption event. +createmodpack.log.debug.copyoverrides.status=Copying: %s +configcheck.log.debug.isminecraftversioncorrect=Couldn't find mcmanifest.json +configcheck.log.debug.isfabricversioncorrect=Couldn't find fabric-manifest.xml. +configcheck.log.debug.isforgeversioncorrect=Couldn't find forge-manifest.json +copyfiles.log.debug.copyfiles=Copying: %s +serverutilities.log.debug.fabricshell=fabricShell.readSh was: %s +serverutilities.log.debug.fabricbatch=fabricBatch.readBat was: %s +serverutilities.log.debug.forgeshell=forgeShell.readSh was: %s +serverutilities.log.debug.forgebatch=forgeBatch.readBat was: %s +serverutilities.log.debug.downloadforgejar=Deleted incomplete Forge-installer... \ No newline at end of file diff --git a/src/test/java/de/griefed/ServerPackCreator/CLISetupTest.java b/src/test/java/de/griefed/ServerPackCreator/CLISetupTest.java index fc999739f..663f4549b 100644 --- a/src/test/java/de/griefed/ServerPackCreator/CLISetupTest.java +++ b/src/test/java/de/griefed/ServerPackCreator/CLISetupTest.java @@ -20,6 +20,7 @@ class CLISetupTest { @BeforeEach void setUp() { + FilesSetup.checkLocaleFile(); MockitoAnnotations.openMocks(this); } diff --git a/src/test/java/de/griefed/ServerPackCreator/ConfigCheckTest.java b/src/test/java/de/griefed/ServerPackCreator/ConfigCheckTest.java index cc8bea30e..eda09b321 100644 --- a/src/test/java/de/griefed/ServerPackCreator/ConfigCheckTest.java +++ b/src/test/java/de/griefed/ServerPackCreator/ConfigCheckTest.java @@ -27,6 +27,7 @@ class ConfigCheckTest { @BeforeEach void setUp() { + FilesSetup.checkLocaleFile(); MockitoAnnotations.openMocks(this); } diff --git a/src/test/java/de/griefed/ServerPackCreator/CopyFilesTest.java b/src/test/java/de/griefed/ServerPackCreator/CopyFilesTest.java index d80c481a2..5471ec92a 100644 --- a/src/test/java/de/griefed/ServerPackCreator/CopyFilesTest.java +++ b/src/test/java/de/griefed/ServerPackCreator/CopyFilesTest.java @@ -29,6 +29,7 @@ class CopyFilesTest { @BeforeEach void setUp() { + FilesSetup.checkLocaleFile(); MockitoAnnotations.openMocks(this); } diff --git a/src/test/java/de/griefed/ServerPackCreator/CurseForgeModpack/CreateModpackTest.java b/src/test/java/de/griefed/ServerPackCreator/CurseForgeModpack/CreateModpackTest.java index af0b8a163..d99a62d7e 100644 --- a/src/test/java/de/griefed/ServerPackCreator/CurseForgeModpack/CreateModpackTest.java +++ b/src/test/java/de/griefed/ServerPackCreator/CurseForgeModpack/CreateModpackTest.java @@ -2,6 +2,8 @@ package de.griefed.ServerPackCreator.CurseForgeModpack; import com.therandomlabs.curseapi.CurseAPI; import com.therandomlabs.curseapi.CurseException; +import de.griefed.ServerPackCreator.FilesSetup; +import de.griefed.ServerPackCreator.Reference; import org.apache.logging.log4j.Logger; import org.junit.jupiter.api.Assertions; import org.junit.jupiter.api.BeforeEach; @@ -27,6 +29,7 @@ class CreateModpackTest { @BeforeEach void setUp() { + FilesSetup.checkLocaleFile(); MockitoAnnotations.openMocks(this); } diff --git a/src/test/java/de/griefed/ServerPackCreator/FilesSetupTest.java b/src/test/java/de/griefed/ServerPackCreator/FilesSetupTest.java index b5f3ba419..47712f9d6 100644 --- a/src/test/java/de/griefed/ServerPackCreator/FilesSetupTest.java +++ b/src/test/java/de/griefed/ServerPackCreator/FilesSetupTest.java @@ -26,6 +26,7 @@ class FilesSetupTest { @BeforeEach void setUp() { + FilesSetup.checkLocaleFile(); MockitoAnnotations.openMocks(this); } diff --git a/src/test/java/de/griefed/ServerPackCreator/ServerSetupTest.java b/src/test/java/de/griefed/ServerPackCreator/ServerSetupTest.java index fa66b5de4..588476503 100644 --- a/src/test/java/de/griefed/ServerPackCreator/ServerSetupTest.java +++ b/src/test/java/de/griefed/ServerPackCreator/ServerSetupTest.java @@ -29,6 +29,7 @@ class ServerSetupTest { @BeforeEach void setUp() { + FilesSetup.checkLocaleFile(); MockitoAnnotations.openMocks(this); } diff --git a/src/test/java/de/griefed/ServerPackCreator/ServerUtilitiesTest.java b/src/test/java/de/griefed/ServerPackCreator/ServerUtilitiesTest.java index 6295edbca..13d969cce 100644 --- a/src/test/java/de/griefed/ServerPackCreator/ServerUtilitiesTest.java +++ b/src/test/java/de/griefed/ServerPackCreator/ServerUtilitiesTest.java @@ -23,6 +23,7 @@ class ServerUtilitiesTest { @BeforeEach void setUp() { + FilesSetup.checkLocaleFile(); MockitoAnnotations.openMocks(this); } -- GitLab From dbfd3d8d31097110c4fb7eeae0fce6e0f1eb35d6 Mon Sep 17 00:00:00 2001 From: Griefed <griefed@griefed.de> Date: Tue, 20 Apr 2021 09:47:43 +0200 Subject: [PATCH 4/4] docs: Update docs --- docs/docs/javadoc/allclasses-frame.html | 33 + docs/docs/javadoc/allclasses-noframe.html | 33 + docs/docs/javadoc/constant-values.html | 206 +++++ .../griefed/ServerPackCreator/CLISetup.html | 369 +++++++++ .../ServerPackCreator/ConfigCheck.html | 764 +++++++++++++++++ .../griefed/ServerPackCreator/CopyFiles.html | 431 ++++++++++ .../CurseForgeModpack/CreateModpack.html | 540 ++++++++++++ .../CurseForgeModpack/Files.html | 373 +++++++++ .../CurseForgeModpack/Minecraft.html | 373 +++++++++ .../CurseForgeModpack/ModLoaders.html | 334 ++++++++ .../CurseForgeModpack/Modpack.html | 490 +++++++++++ .../CurseForgeModpack/Splines.html | 330 ++++++++ .../CurseForgeModpack/package-frame.html | 24 + .../CurseForgeModpack/package-summary.html | 159 ++++ .../CurseForgeModpack/package-tree.html | 139 ++++ .../griefed/ServerPackCreator/FilesSetup.html | 532 ++++++++++++ .../de/griefed/ServerPackCreator/Main.html | 311 +++++++ .../griefed/ServerPackCreator/Reference.html | 667 +++++++++++++++ .../ServerPackCreator/ServerSetup.html | 388 +++++++++ .../ServerPackCreator/ServerUtilities.html | 540 ++++++++++++ .../i18n/IncorrectLanguageException.html | 297 +++++++ .../i18n/LocalizationManager.html | 471 +++++++++++ .../ServerPackCreator/i18n/package-frame.html | 23 + .../i18n/package-summary.html | 156 ++++ .../ServerPackCreator/i18n/package-tree.html | 143 ++++ .../ServerPackCreator/package-frame.html | 26 + .../ServerPackCreator/package-summary.html | 167 ++++ .../ServerPackCreator/package-tree.html | 141 ++++ docs/docs/javadoc/deprecated-list.html | 146 ++++ docs/docs/javadoc/help-doc.html | 222 +++++ docs/docs/javadoc/index-all.html | 767 ++++++++++++++++++ docs/docs/javadoc/index.html | 75 ++ docs/docs/javadoc/overview-frame.html | 22 + docs/docs/javadoc/overview-summary.html | 143 ++++ docs/docs/javadoc/overview-tree.html | 159 ++++ docs/docs/javadoc/package-list | 3 + docs/docs/javadoc/script.js | 30 + docs/docs/javadoc/serialized-form.html | 134 +++ docs/docs/javadoc/stylesheet.css | 574 +++++++++++++ 39 files changed, 10735 insertions(+) create mode 100644 docs/docs/javadoc/allclasses-frame.html create mode 100644 docs/docs/javadoc/allclasses-noframe.html create mode 100644 docs/docs/javadoc/constant-values.html create mode 100644 docs/docs/javadoc/de/griefed/ServerPackCreator/CLISetup.html create mode 100644 docs/docs/javadoc/de/griefed/ServerPackCreator/ConfigCheck.html create mode 100644 docs/docs/javadoc/de/griefed/ServerPackCreator/CopyFiles.html create mode 100644 docs/docs/javadoc/de/griefed/ServerPackCreator/CurseForgeModpack/CreateModpack.html create mode 100644 docs/docs/javadoc/de/griefed/ServerPackCreator/CurseForgeModpack/Files.html create mode 100644 docs/docs/javadoc/de/griefed/ServerPackCreator/CurseForgeModpack/Minecraft.html create mode 100644 docs/docs/javadoc/de/griefed/ServerPackCreator/CurseForgeModpack/ModLoaders.html create mode 100644 docs/docs/javadoc/de/griefed/ServerPackCreator/CurseForgeModpack/Modpack.html create mode 100644 docs/docs/javadoc/de/griefed/ServerPackCreator/CurseForgeModpack/Splines.html create mode 100644 docs/docs/javadoc/de/griefed/ServerPackCreator/CurseForgeModpack/package-frame.html create mode 100644 docs/docs/javadoc/de/griefed/ServerPackCreator/CurseForgeModpack/package-summary.html create mode 100644 docs/docs/javadoc/de/griefed/ServerPackCreator/CurseForgeModpack/package-tree.html create mode 100644 docs/docs/javadoc/de/griefed/ServerPackCreator/FilesSetup.html create mode 100644 docs/docs/javadoc/de/griefed/ServerPackCreator/Main.html create mode 100644 docs/docs/javadoc/de/griefed/ServerPackCreator/Reference.html create mode 100644 docs/docs/javadoc/de/griefed/ServerPackCreator/ServerSetup.html create mode 100644 docs/docs/javadoc/de/griefed/ServerPackCreator/ServerUtilities.html create mode 100644 docs/docs/javadoc/de/griefed/ServerPackCreator/i18n/IncorrectLanguageException.html create mode 100644 docs/docs/javadoc/de/griefed/ServerPackCreator/i18n/LocalizationManager.html create mode 100644 docs/docs/javadoc/de/griefed/ServerPackCreator/i18n/package-frame.html create mode 100644 docs/docs/javadoc/de/griefed/ServerPackCreator/i18n/package-summary.html create mode 100644 docs/docs/javadoc/de/griefed/ServerPackCreator/i18n/package-tree.html create mode 100644 docs/docs/javadoc/de/griefed/ServerPackCreator/package-frame.html create mode 100644 docs/docs/javadoc/de/griefed/ServerPackCreator/package-summary.html create mode 100644 docs/docs/javadoc/de/griefed/ServerPackCreator/package-tree.html create mode 100644 docs/docs/javadoc/deprecated-list.html create mode 100644 docs/docs/javadoc/help-doc.html create mode 100644 docs/docs/javadoc/index-all.html create mode 100644 docs/docs/javadoc/index.html create mode 100644 docs/docs/javadoc/overview-frame.html create mode 100644 docs/docs/javadoc/overview-summary.html create mode 100644 docs/docs/javadoc/overview-tree.html create mode 100644 docs/docs/javadoc/package-list create mode 100644 docs/docs/javadoc/script.js create mode 100644 docs/docs/javadoc/serialized-form.html create mode 100644 docs/docs/javadoc/stylesheet.css diff --git a/docs/docs/javadoc/allclasses-frame.html b/docs/docs/javadoc/allclasses-frame.html new file mode 100644 index 000000000..71d47665d --- /dev/null +++ b/docs/docs/javadoc/allclasses-frame.html @@ -0,0 +1,33 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> +<!-- NewPage --> +<html lang="de"> +<head> +<!-- Generated by javadoc --> +<title>All Classes (ServerPackCreator API)</title> +<link rel="stylesheet" type="text/css" href="stylesheet.css" title="Style"> +<script type="text/javascript" src="script.js"></script> +</head> +<body> +<h1 class="bar">All Classes</h1> +<div class="indexContainer"> +<ul> +<li><a href="de/griefed/ServerPackCreator/CLISetup.html" title="class in de.griefed.ServerPackCreator" target="classFrame">CLISetup</a></li> +<li><a href="de/griefed/ServerPackCreator/ConfigCheck.html" title="class in de.griefed.ServerPackCreator" target="classFrame">ConfigCheck</a></li> +<li><a href="de/griefed/ServerPackCreator/CopyFiles.html" title="class in de.griefed.ServerPackCreator" target="classFrame">CopyFiles</a></li> +<li><a href="de/griefed/ServerPackCreator/CurseForgeModpack/CreateModpack.html" title="class in de.griefed.ServerPackCreator.CurseForgeModpack" target="classFrame">CreateModpack</a></li> +<li><a href="de/griefed/ServerPackCreator/CurseForgeModpack/Files.html" title="class in de.griefed.ServerPackCreator.CurseForgeModpack" target="classFrame">Files</a></li> +<li><a href="de/griefed/ServerPackCreator/FilesSetup.html" title="class in de.griefed.ServerPackCreator" target="classFrame">FilesSetup</a></li> +<li><a href="de/griefed/ServerPackCreator/i18n/IncorrectLanguageException.html" title="class in de.griefed.ServerPackCreator.i18n" target="classFrame">IncorrectLanguageException</a></li> +<li><a href="de/griefed/ServerPackCreator/i18n/LocalizationManager.html" title="class in de.griefed.ServerPackCreator.i18n" target="classFrame">LocalizationManager</a></li> +<li><a href="de/griefed/ServerPackCreator/Main.html" title="class in de.griefed.ServerPackCreator" target="classFrame">Main</a></li> +<li><a href="de/griefed/ServerPackCreator/CurseForgeModpack/Minecraft.html" title="class in de.griefed.ServerPackCreator.CurseForgeModpack" target="classFrame">Minecraft</a></li> +<li><a href="de/griefed/ServerPackCreator/CurseForgeModpack/ModLoaders.html" title="class in de.griefed.ServerPackCreator.CurseForgeModpack" target="classFrame">ModLoaders</a></li> +<li><a href="de/griefed/ServerPackCreator/CurseForgeModpack/Modpack.html" title="class in de.griefed.ServerPackCreator.CurseForgeModpack" target="classFrame">Modpack</a></li> +<li><a href="de/griefed/ServerPackCreator/Reference.html" title="class in de.griefed.ServerPackCreator" target="classFrame">Reference</a></li> +<li><a href="de/griefed/ServerPackCreator/ServerSetup.html" title="class in de.griefed.ServerPackCreator" target="classFrame">ServerSetup</a></li> +<li><a href="de/griefed/ServerPackCreator/ServerUtilities.html" title="class in de.griefed.ServerPackCreator" target="classFrame">ServerUtilities</a></li> +<li><a href="de/griefed/ServerPackCreator/CurseForgeModpack/Splines.html" title="class in de.griefed.ServerPackCreator.CurseForgeModpack" target="classFrame">Splines</a></li> +</ul> +</div> +</body> +</html> diff --git a/docs/docs/javadoc/allclasses-noframe.html b/docs/docs/javadoc/allclasses-noframe.html new file mode 100644 index 000000000..5992c95b4 --- /dev/null +++ b/docs/docs/javadoc/allclasses-noframe.html @@ -0,0 +1,33 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> +<!-- NewPage --> +<html lang="de"> +<head> +<!-- Generated by javadoc --> +<title>All Classes (ServerPackCreator API)</title> +<link rel="stylesheet" type="text/css" href="stylesheet.css" title="Style"> +<script type="text/javascript" src="script.js"></script> +</head> +<body> +<h1 class="bar">All Classes</h1> +<div class="indexContainer"> +<ul> +<li><a href="de/griefed/ServerPackCreator/CLISetup.html" title="class in de.griefed.ServerPackCreator">CLISetup</a></li> +<li><a href="de/griefed/ServerPackCreator/ConfigCheck.html" title="class in de.griefed.ServerPackCreator">ConfigCheck</a></li> +<li><a href="de/griefed/ServerPackCreator/CopyFiles.html" title="class in de.griefed.ServerPackCreator">CopyFiles</a></li> +<li><a href="de/griefed/ServerPackCreator/CurseForgeModpack/CreateModpack.html" title="class in de.griefed.ServerPackCreator.CurseForgeModpack">CreateModpack</a></li> +<li><a href="de/griefed/ServerPackCreator/CurseForgeModpack/Files.html" title="class in de.griefed.ServerPackCreator.CurseForgeModpack">Files</a></li> +<li><a href="de/griefed/ServerPackCreator/FilesSetup.html" title="class in de.griefed.ServerPackCreator">FilesSetup</a></li> +<li><a href="de/griefed/ServerPackCreator/i18n/IncorrectLanguageException.html" title="class in de.griefed.ServerPackCreator.i18n">IncorrectLanguageException</a></li> +<li><a href="de/griefed/ServerPackCreator/i18n/LocalizationManager.html" title="class in de.griefed.ServerPackCreator.i18n">LocalizationManager</a></li> +<li><a href="de/griefed/ServerPackCreator/Main.html" title="class in de.griefed.ServerPackCreator">Main</a></li> +<li><a href="de/griefed/ServerPackCreator/CurseForgeModpack/Minecraft.html" title="class in de.griefed.ServerPackCreator.CurseForgeModpack">Minecraft</a></li> +<li><a href="de/griefed/ServerPackCreator/CurseForgeModpack/ModLoaders.html" title="class in de.griefed.ServerPackCreator.CurseForgeModpack">ModLoaders</a></li> +<li><a href="de/griefed/ServerPackCreator/CurseForgeModpack/Modpack.html" title="class in de.griefed.ServerPackCreator.CurseForgeModpack">Modpack</a></li> +<li><a href="de/griefed/ServerPackCreator/Reference.html" title="class in de.griefed.ServerPackCreator">Reference</a></li> +<li><a href="de/griefed/ServerPackCreator/ServerSetup.html" title="class in de.griefed.ServerPackCreator">ServerSetup</a></li> +<li><a href="de/griefed/ServerPackCreator/ServerUtilities.html" title="class in de.griefed.ServerPackCreator">ServerUtilities</a></li> +<li><a href="de/griefed/ServerPackCreator/CurseForgeModpack/Splines.html" title="class in de.griefed.ServerPackCreator.CurseForgeModpack">Splines</a></li> +</ul> +</div> +</body> +</html> diff --git a/docs/docs/javadoc/constant-values.html b/docs/docs/javadoc/constant-values.html new file mode 100644 index 000000000..788d6a8f8 --- /dev/null +++ b/docs/docs/javadoc/constant-values.html @@ -0,0 +1,206 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> +<!-- NewPage --> +<html lang="de"> +<head> +<!-- Generated by javadoc --> +<title>Constant Field Values (ServerPackCreator API)</title> +<link rel="stylesheet" type="text/css" href="stylesheet.css" title="Style"> +<script type="text/javascript" src="script.js"></script> +</head> +<body> +<script type="text/javascript"><!-- + try { + if (location.href.indexOf('is-external=true') == -1) { + parent.document.title="Constant Field Values (ServerPackCreator API)"; + } + } + catch(err) { + } +//--> +</script> +<noscript> +<div>JavaScript is disabled on your browser.</div> +</noscript> +<!-- ========= START OF TOP NAVBAR ======= --> +<div class="topNav"><a name="navbar.top"> +<!-- --> +</a> +<div class="skipNav"><a href="#skip.navbar.top" title="Skip navigation links">Skip navigation links</a></div> +<a name="navbar.top.firstrow"> +<!-- --> +</a> +<ul class="navList" title="Navigation"> +<li><a href="overview-summary.html">Overview</a></li> +<li>Package</li> +<li>Class</li> +<li><a href="overview-tree.html">Tree</a></li> +<li><a href="deprecated-list.html">Deprecated</a></li> +<li><a href="index-all.html">Index</a></li> +<li><a href="help-doc.html">Help</a></li> +</ul> +</div> +<div class="subNav"> +<ul class="navList"> +<li>Prev</li> +<li>Next</li> +</ul> +<ul class="navList"> +<li><a href="index.html?constant-values.html" target="_top">Frames</a></li> +<li><a href="constant-values.html" target="_top">No Frames</a></li> +</ul> +<ul class="navList" id="allclasses_navbar_top"> +<li><a href="allclasses-noframe.html">All Classes</a></li> +</ul> +<div> +<script type="text/javascript"><!-- + allClassesLink = document.getElementById("allclasses_navbar_top"); + if(window==top) { + allClassesLink.style.display = "block"; + } + else { + allClassesLink.style.display = "none"; + } + //--> +</script> +</div> +<a name="skip.navbar.top"> +<!-- --> +</a></div> +<!-- ========= END OF TOP NAVBAR ========= --> +<div class="header"> +<h1 title="Constant Field Values" class="title">Constant Field Values</h1> +<h2 title="Contents">Contents</h2> +<ul> +<li><a href="#de.griefed">de.griefed.*</a></li> +</ul> +</div> +<div class="constantValuesContainer"><a name="de.griefed"> +<!-- --> +</a> +<h2 title="de.griefed">de.griefed.*</h2> +<ul class="blockList"> +<li class="blockList"> +<table class="constantsSummary" border="0" cellpadding="3" cellspacing="0" summary="Constant Field Values table, listing constant fields, and values"> +<caption><span>de.griefed.ServerPackCreator.<a href="de/griefed/ServerPackCreator/Reference.html" title="class in de.griefed.ServerPackCreator">Reference</a></span><span class="tabEnd"> </span></caption> +<tr> +<th class="colFirst" scope="col">Modifier and Type</th> +<th scope="col">Constant Field</th> +<th class="colLast" scope="col">Value</th> +</tr> +<tbody> +<tr class="altColor"> +<td class="colFirst"><a name="de.griefed.ServerPackCreator.Reference.CONFIG_GEN_ARGUMENT"> +<!-- --> +</a><code>static final java.lang.String</code></td> +<td><code><a href="de/griefed/ServerPackCreator/Reference.html#CONFIG_GEN_ARGUMENT">CONFIG_GEN_ARGUMENT</a></code></td> +<td class="colLast"><code>"-cgen"</code></td> +</tr> +<tr class="rowColor"> +<td class="colFirst"><a name="de.griefed.ServerPackCreator.Reference.FABRIC_MANIFEST_URL"> +<!-- --> +</a><code>static final java.lang.String</code></td> +<td><code><a href="de/griefed/ServerPackCreator/Reference.html#FABRIC_MANIFEST_URL">FABRIC_MANIFEST_URL</a></code></td> +<td class="colLast"><code>"https://maven.fabricmc.net/net/fabricmc/fabric-loader/maven-metadata.xml"</code></td> +</tr> +<tr class="altColor"> +<td class="colFirst"><a name="de.griefed.ServerPackCreator.Reference.FORGE_MANIFEST_URL"> +<!-- --> +</a><code>static final java.lang.String</code></td> +<td><code><a href="de/griefed/ServerPackCreator/Reference.html#FORGE_MANIFEST_URL">FORGE_MANIFEST_URL</a></code></td> +<td class="colLast"><code>"https://files.minecraftforge.net/maven/net/minecraftforge/forge/maven-metadata.json"</code></td> +</tr> +<tr class="rowColor"> +<td class="colFirst"><a name="de.griefed.ServerPackCreator.Reference.LANG_ARGUMENT"> +<!-- --> +</a><code>static final java.lang.String</code></td> +<td><code><a href="de/griefed/ServerPackCreator/Reference.html#LANG_ARGUMENT">LANG_ARGUMENT</a></code></td> +<td class="colLast"><code>"-lang"</code></td> +</tr> +<tr class="altColor"> +<td class="colFirst"><a name="de.griefed.ServerPackCreator.Reference.MINECRAFT_MANIFEST_URL"> +<!-- --> +</a><code>static final java.lang.String</code></td> +<td><code><a href="de/griefed/ServerPackCreator/Reference.html#MINECRAFT_MANIFEST_URL">MINECRAFT_MANIFEST_URL</a></code></td> +<td class="colLast"><code>"https://launchermeta.mojang.com/mc/game/version_manifest.json"</code></td> +</tr> +</tbody> +</table> +</li> +</ul> +<ul class="blockList"> +<li class="blockList"> +<table class="constantsSummary" border="0" cellpadding="3" cellspacing="0" summary="Constant Field Values table, listing constant fields, and values"> +<caption><span>de.griefed.ServerPackCreator.i18n.<a href="de/griefed/ServerPackCreator/i18n/LocalizationManager.html" title="class in de.griefed.ServerPackCreator.i18n">LocalizationManager</a></span><span class="tabEnd"> </span></caption> +<tr> +<th class="colFirst" scope="col">Modifier and Type</th> +<th scope="col">Constant Field</th> +<th class="colLast" scope="col">Value</th> +</tr> +<tbody> +<tr class="altColor"> +<td class="colFirst"><a name="de.griefed.ServerPackCreator.i18n.LocalizationManager.COUNTRY_MAP_PATH"> +<!-- --> +</a><code>private static final java.lang.String</code></td> +<td><code><a href="de/griefed/ServerPackCreator/i18n/LocalizationManager.html#COUNTRY_MAP_PATH">COUNTRY_MAP_PATH</a></code></td> +<td class="colLast"><code>"country"</code></td> +</tr> +<tr class="rowColor"> +<td class="colFirst"><a name="de.griefed.ServerPackCreator.i18n.LocalizationManager.LANGUAGE_MAP_PATH"> +<!-- --> +</a><code>private static final java.lang.String</code></td> +<td><code><a href="de/griefed/ServerPackCreator/i18n/LocalizationManager.html#LANGUAGE_MAP_PATH">LANGUAGE_MAP_PATH</a></code></td> +<td class="colLast"><code>"language"</code></td> +</tr> +</tbody> +</table> +</li> +</ul> +</div> +<!-- ======= START OF BOTTOM NAVBAR ====== --> +<div class="bottomNav"><a name="navbar.bottom"> +<!-- --> +</a> +<div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div> +<a name="navbar.bottom.firstrow"> +<!-- --> +</a> +<ul class="navList" title="Navigation"> +<li><a href="overview-summary.html">Overview</a></li> +<li>Package</li> +<li>Class</li> +<li><a href="overview-tree.html">Tree</a></li> +<li><a href="deprecated-list.html">Deprecated</a></li> +<li><a href="index-all.html">Index</a></li> +<li><a href="help-doc.html">Help</a></li> +</ul> +</div> +<div class="subNav"> +<ul class="navList"> +<li>Prev</li> +<li>Next</li> +</ul> +<ul class="navList"> +<li><a href="index.html?constant-values.html" target="_top">Frames</a></li> +<li><a href="constant-values.html" target="_top">No Frames</a></li> +</ul> +<ul class="navList" id="allclasses_navbar_bottom"> +<li><a href="allclasses-noframe.html">All Classes</a></li> +</ul> +<div> +<script type="text/javascript"><!-- + allClassesLink = document.getElementById("allclasses_navbar_bottom"); + if(window==top) { + allClassesLink.style.display = "block"; + } + else { + allClassesLink.style.display = "none"; + } + //--> +</script> +</div> +<a name="skip.navbar.bottom"> +<!-- --> +</a></div> +<!-- ======== END OF BOTTOM NAVBAR ======= --> +</body> +</html> diff --git a/docs/docs/javadoc/de/griefed/ServerPackCreator/CLISetup.html b/docs/docs/javadoc/de/griefed/ServerPackCreator/CLISetup.html new file mode 100644 index 000000000..ac252f7c0 --- /dev/null +++ b/docs/docs/javadoc/de/griefed/ServerPackCreator/CLISetup.html @@ -0,0 +1,369 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> +<!-- NewPage --> +<html lang="de"> +<head> +<!-- Generated by javadoc --> +<title>CLISetup (ServerPackCreator API)</title> +<link rel="stylesheet" type="text/css" href="../../../stylesheet.css" title="Style"> +<script type="text/javascript" src="../../../script.js"></script> +</head> +<body> +<script type="text/javascript"><!-- + try { + if (location.href.indexOf('is-external=true') == -1) { + parent.document.title="CLISetup (ServerPackCreator API)"; + } + } + catch(err) { + } +//--> +var methods = {"i0":9,"i1":9,"i2":9,"i3":9}; +var tabs = {65535:["t0","All Methods"],1:["t1","Static Methods"],8:["t4","Concrete Methods"]}; +var altColor = "altColor"; +var rowColor = "rowColor"; +var tableTab = "tableTab"; +var activeTableTab = "activeTableTab"; +</script> +<noscript> +<div>JavaScript is disabled on your browser.</div> +</noscript> +<!-- ========= START OF TOP NAVBAR ======= --> +<div class="topNav"><a name="navbar.top"> +<!-- --> +</a> +<div class="skipNav"><a href="#skip.navbar.top" title="Skip navigation links">Skip navigation links</a></div> +<a name="navbar.top.firstrow"> +<!-- --> +</a> +<ul class="navList" title="Navigation"> +<li><a href="../../../overview-summary.html">Overview</a></li> +<li><a href="package-summary.html">Package</a></li> +<li class="navBarCell1Rev">Class</li> +<li><a href="package-tree.html">Tree</a></li> +<li><a href="../../../deprecated-list.html">Deprecated</a></li> +<li><a href="../../../index-all.html">Index</a></li> +<li><a href="../../../help-doc.html">Help</a></li> +</ul> +</div> +<div class="subNav"> +<ul class="navList"> +<li>Prev Class</li> +<li><a href="../../../de/griefed/ServerPackCreator/ConfigCheck.html" title="class in de.griefed.ServerPackCreator"><span class="typeNameLink">Next Class</span></a></li> +</ul> +<ul class="navList"> +<li><a href="../../../index.html?de/griefed/ServerPackCreator/CLISetup.html" target="_top">Frames</a></li> +<li><a href="CLISetup.html" target="_top">No Frames</a></li> +</ul> +<ul class="navList" id="allclasses_navbar_top"> +<li><a href="../../../allclasses-noframe.html">All Classes</a></li> +</ul> +<div> +<script type="text/javascript"><!-- + allClassesLink = document.getElementById("allclasses_navbar_top"); + if(window==top) { + allClassesLink.style.display = "block"; + } + else { + allClassesLink.style.display = "none"; + } + //--> +</script> +</div> +<div> +<ul class="subNavList"> +<li>Summary: </li> +<li>Nested | </li> +<li><a href="#field.summary">Field</a> | </li> +<li><a href="#constructor.summary">Constr</a> | </li> +<li><a href="#method.summary">Method</a></li> +</ul> +<ul class="subNavList"> +<li>Detail: </li> +<li><a href="#field.detail">Field</a> | </li> +<li><a href="#constructor.detail">Constr</a> | </li> +<li><a href="#method.detail">Method</a></li> +</ul> +</div> +<a name="skip.navbar.top"> +<!-- --> +</a></div> +<!-- ========= END OF TOP NAVBAR ========= --> +<!-- ======== START OF CLASS DATA ======== --> +<div class="header"> +<div class="subTitle">de.griefed.ServerPackCreator</div> +<h2 title="Class CLISetup" class="title">Class CLISetup</h2> +</div> +<div class="contentContainer"> +<ul class="inheritance"> +<li>java.lang.Object</li> +<li> +<ul class="inheritance"> +<li>de.griefed.ServerPackCreator.CLISetup</li> +</ul> +</li> +</ul> +<div class="description"> +<ul class="blockList"> +<li class="blockList"> +<hr> +<br> +<pre>class <span class="typeNameLabel">CLISetup</span> +extends java.lang.Object</pre> +</li> +</ul> +</div> +<div class="summary"> +<ul class="blockList"> +<li class="blockList"> +<!-- =========== FIELD SUMMARY =========== --> +<ul class="blockList"> +<li class="blockList"><a name="field.summary"> +<!-- --> +</a> +<h3>Field Summary</h3> +<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Field Summary table, listing fields, and an explanation"> +<caption><span>Fields</span><span class="tabEnd"> </span></caption> +<tr> +<th class="colFirst" scope="col">Modifier and Type</th> +<th class="colLast" scope="col">Field and Description</th> +</tr> +<tr class="altColor"> +<td class="colFirst"><code>private static org.apache.logging.log4j.Logger</code></td> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../de/griefed/ServerPackCreator/CLISetup.html#appLogger">appLogger</a></span></code> </td> +</tr> +</table> +</li> +</ul> +<!-- ======== CONSTRUCTOR SUMMARY ======== --> +<ul class="blockList"> +<li class="blockList"><a name="constructor.summary"> +<!-- --> +</a> +<h3>Constructor Summary</h3> +<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Constructor Summary table, listing constructors, and an explanation"> +<caption><span>Constructors</span><span class="tabEnd"> </span></caption> +<tr> +<th class="colOne" scope="col">Constructor and Description</th> +</tr> +<tr class="altColor"> +<td class="colOne"><code><span class="memberNameLink"><a href="../../../de/griefed/ServerPackCreator/CLISetup.html#CLISetup--">CLISetup</a></span>()</code> </td> +</tr> +</table> +</li> +</ul> +<!-- ========== METHOD SUMMARY =========== --> +<ul class="blockList"> +<li class="blockList"><a name="method.summary"> +<!-- --> +</a> +<h3>Method Summary</h3> +<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation"> +<caption><span id="t0" class="activeTableTab"><span>All Methods</span><span class="tabEnd"> </span></span><span id="t1" class="tableTab"><span><a href="javascript:show(1);">Static Methods</a></span><span class="tabEnd"> </span></span><span id="t4" class="tableTab"><span><a href="javascript:show(8);">Concrete Methods</a></span><span class="tabEnd"> </span></span></caption> +<tr> +<th class="colFirst" scope="col">Modifier and Type</th> +<th class="colLast" scope="col">Method and Description</th> +</tr> +<tr id="i0" class="altColor"> +<td class="colFirst"><code>(package private) static java.lang.String</code></td> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../de/griefed/ServerPackCreator/CLISetup.html#buildString-java.lang.String...-">buildString</a></span>(java.lang.String... args)</code> +<div class="block">Converts list of strings into concatenated string.</div> +</td> +</tr> +<tr id="i1" class="rowColor"> +<td class="colFirst"><code>private static boolean</code></td> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../de/griefed/ServerPackCreator/CLISetup.html#readBoolean--">readBoolean</a></span>()</code> +<div class="block">A helper method for config setup.</div> +</td> +</tr> +<tr id="i2" class="altColor"> +<td class="colFirst"><code>private static java.util.List<java.lang.String></code></td> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../de/griefed/ServerPackCreator/CLISetup.html#readStringArray--">readStringArray</a></span>()</code> +<div class="block">A helper method for config setup.</div> +</td> +</tr> +<tr id="i3" class="rowColor"> +<td class="colFirst"><code>(package private) static void</code></td> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../de/griefed/ServerPackCreator/CLISetup.html#setup--">setup</a></span>()</code> +<div class="block">CLI for config file generation.</div> +</td> +</tr> +</table> +<ul class="blockList"> +<li class="blockList"><a name="methods.inherited.from.class.java.lang.Object"> +<!-- --> +</a> +<h3>Methods inherited from class java.lang.Object</h3> +<code>clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait</code></li> +</ul> +</li> +</ul> +</li> +</ul> +</div> +<div class="details"> +<ul class="blockList"> +<li class="blockList"> +<!-- ============ FIELD DETAIL =========== --> +<ul class="blockList"> +<li class="blockList"><a name="field.detail"> +<!-- --> +</a> +<h3>Field Detail</h3> +<a name="appLogger"> +<!-- --> +</a> +<ul class="blockListLast"> +<li class="blockList"> +<h4>appLogger</h4> +<pre>private static final org.apache.logging.log4j.Logger appLogger</pre> +</li> +</ul> +</li> +</ul> +<!-- ========= CONSTRUCTOR DETAIL ======== --> +<ul class="blockList"> +<li class="blockList"><a name="constructor.detail"> +<!-- --> +</a> +<h3>Constructor Detail</h3> +<a name="CLISetup--"> +<!-- --> +</a> +<ul class="blockListLast"> +<li class="blockList"> +<h4>CLISetup</h4> +<pre>CLISetup()</pre> +</li> +</ul> +</li> +</ul> +<!-- ============ METHOD DETAIL ========== --> +<ul class="blockList"> +<li class="blockList"><a name="method.detail"> +<!-- --> +</a> +<h3>Method Detail</h3> +<a name="setup--"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>setup</h4> +<pre>static void setup()</pre> +<div class="block">CLI for config file generation. Prompts user to enter config file values and then generates a config file with values entered by user.</div> +</li> +</ul> +<a name="readStringArray--"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>readStringArray</h4> +<pre>private static java.util.List<java.lang.String> readStringArray()</pre> +<div class="block">A helper method for config setup. Prompts user to enter the values that will be stored in arrays in config.</div> +<dl> +<dt><span class="returnLabel">Returns:</span></dt> +<dd>String List. Returns list with user input values that will be stored in config.</dd> +</dl> +</li> +</ul> +<a name="buildString-java.lang.String...-"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>buildString</h4> +<pre>static java.lang.String buildString(java.lang.String... args)</pre> +<div class="block">Converts list of strings into concatenated string.</div> +<dl> +<dt><span class="paramLabel">Parameters:</span></dt> +<dd><code>args</code> - Strings that will be concatenated into one string</dd> +<dt><span class="returnLabel">Returns:</span></dt> +<dd>String. Returns concatenated string that contains all provided values.</dd> +</dl> +</li> +</ul> +<a name="readBoolean--"> +<!-- --> +</a> +<ul class="blockListLast"> +<li class="blockList"> +<h4>readBoolean</h4> +<pre>private static boolean readBoolean()</pre> +<div class="block">A helper method for config setup. Prompts user to enter boolean values that will be stored in config and checks entered values to prevent storing non-boolean values in boolean variables.</div> +<dl> +<dt><span class="returnLabel">Returns:</span></dt> +<dd>Boolean. Converts to boolean and returns value entered by user that will be stored in config.</dd> +</dl> +</li> +</ul> +</li> +</ul> +</li> +</ul> +</div> +</div> +<!-- ========= END OF CLASS DATA ========= --> +<!-- ======= START OF BOTTOM NAVBAR ====== --> +<div class="bottomNav"><a name="navbar.bottom"> +<!-- --> +</a> +<div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div> +<a name="navbar.bottom.firstrow"> +<!-- --> +</a> +<ul class="navList" title="Navigation"> +<li><a href="../../../overview-summary.html">Overview</a></li> +<li><a href="package-summary.html">Package</a></li> +<li class="navBarCell1Rev">Class</li> +<li><a href="package-tree.html">Tree</a></li> +<li><a href="../../../deprecated-list.html">Deprecated</a></li> +<li><a href="../../../index-all.html">Index</a></li> +<li><a href="../../../help-doc.html">Help</a></li> +</ul> +</div> +<div class="subNav"> +<ul class="navList"> +<li>Prev Class</li> +<li><a href="../../../de/griefed/ServerPackCreator/ConfigCheck.html" title="class in de.griefed.ServerPackCreator"><span class="typeNameLink">Next Class</span></a></li> +</ul> +<ul class="navList"> +<li><a href="../../../index.html?de/griefed/ServerPackCreator/CLISetup.html" target="_top">Frames</a></li> +<li><a href="CLISetup.html" target="_top">No Frames</a></li> +</ul> +<ul class="navList" id="allclasses_navbar_bottom"> +<li><a href="../../../allclasses-noframe.html">All Classes</a></li> +</ul> +<div> +<script type="text/javascript"><!-- + allClassesLink = document.getElementById("allclasses_navbar_bottom"); + if(window==top) { + allClassesLink.style.display = "block"; + } + else { + allClassesLink.style.display = "none"; + } + //--> +</script> +</div> +<div> +<ul class="subNavList"> +<li>Summary: </li> +<li>Nested | </li> +<li><a href="#field.summary">Field</a> | </li> +<li><a href="#constructor.summary">Constr</a> | </li> +<li><a href="#method.summary">Method</a></li> +</ul> +<ul class="subNavList"> +<li>Detail: </li> +<li><a href="#field.detail">Field</a> | </li> +<li><a href="#constructor.detail">Constr</a> | </li> +<li><a href="#method.detail">Method</a></li> +</ul> +</div> +<a name="skip.navbar.bottom"> +<!-- --> +</a></div> +<!-- ======== END OF BOTTOM NAVBAR ======= --> +</body> +</html> diff --git a/docs/docs/javadoc/de/griefed/ServerPackCreator/ConfigCheck.html b/docs/docs/javadoc/de/griefed/ServerPackCreator/ConfigCheck.html new file mode 100644 index 000000000..f9a229e97 --- /dev/null +++ b/docs/docs/javadoc/de/griefed/ServerPackCreator/ConfigCheck.html @@ -0,0 +1,764 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> +<!-- NewPage --> +<html lang="de"> +<head> +<!-- Generated by javadoc --> +<title>ConfigCheck (ServerPackCreator API)</title> +<link rel="stylesheet" type="text/css" href="../../../stylesheet.css" title="Style"> +<script type="text/javascript" src="../../../script.js"></script> +</head> +<body> +<script type="text/javascript"><!-- + try { + if (location.href.indexOf('is-external=true') == -1) { + parent.document.title="ConfigCheck (ServerPackCreator API)"; + } + } + catch(err) { + } +//--> +var methods = {"i0":9,"i1":9,"i2":9,"i3":9,"i4":9,"i5":9,"i6":9,"i7":9,"i8":9,"i9":9,"i10":9,"i11":9,"i12":9,"i13":9,"i14":9,"i15":9,"i16":9,"i17":9,"i18":9,"i19":9}; +var tabs = {65535:["t0","All Methods"],1:["t1","Static Methods"],8:["t4","Concrete Methods"]}; +var altColor = "altColor"; +var rowColor = "rowColor"; +var tableTab = "tableTab"; +var activeTableTab = "activeTableTab"; +</script> +<noscript> +<div>JavaScript is disabled on your browser.</div> +</noscript> +<!-- ========= START OF TOP NAVBAR ======= --> +<div class="topNav"><a name="navbar.top"> +<!-- --> +</a> +<div class="skipNav"><a href="#skip.navbar.top" title="Skip navigation links">Skip navigation links</a></div> +<a name="navbar.top.firstrow"> +<!-- --> +</a> +<ul class="navList" title="Navigation"> +<li><a href="../../../overview-summary.html">Overview</a></li> +<li><a href="package-summary.html">Package</a></li> +<li class="navBarCell1Rev">Class</li> +<li><a href="package-tree.html">Tree</a></li> +<li><a href="../../../deprecated-list.html">Deprecated</a></li> +<li><a href="../../../index-all.html">Index</a></li> +<li><a href="../../../help-doc.html">Help</a></li> +</ul> +</div> +<div class="subNav"> +<ul class="navList"> +<li><a href="../../../de/griefed/ServerPackCreator/CLISetup.html" title="class in de.griefed.ServerPackCreator"><span class="typeNameLink">Prev Class</span></a></li> +<li><a href="../../../de/griefed/ServerPackCreator/CopyFiles.html" title="class in de.griefed.ServerPackCreator"><span class="typeNameLink">Next Class</span></a></li> +</ul> +<ul class="navList"> +<li><a href="../../../index.html?de/griefed/ServerPackCreator/ConfigCheck.html" target="_top">Frames</a></li> +<li><a href="ConfigCheck.html" target="_top">No Frames</a></li> +</ul> +<ul class="navList" id="allclasses_navbar_top"> +<li><a href="../../../allclasses-noframe.html">All Classes</a></li> +</ul> +<div> +<script type="text/javascript"><!-- + allClassesLink = document.getElementById("allclasses_navbar_top"); + if(window==top) { + allClassesLink.style.display = "block"; + } + else { + allClassesLink.style.display = "none"; + } + //--> +</script> +</div> +<div> +<ul class="subNavList"> +<li>Summary: </li> +<li>Nested | </li> +<li><a href="#field.summary">Field</a> | </li> +<li><a href="#constructor.summary">Constr</a> | </li> +<li><a href="#method.summary">Method</a></li> +</ul> +<ul class="subNavList"> +<li>Detail: </li> +<li><a href="#field.detail">Field</a> | </li> +<li><a href="#constructor.detail">Constr</a> | </li> +<li><a href="#method.detail">Method</a></li> +</ul> +</div> +<a name="skip.navbar.top"> +<!-- --> +</a></div> +<!-- ========= END OF TOP NAVBAR ========= --> +<!-- ======== START OF CLASS DATA ======== --> +<div class="header"> +<div class="subTitle">de.griefed.ServerPackCreator</div> +<h2 title="Class ConfigCheck" class="title">Class ConfigCheck</h2> +</div> +<div class="contentContainer"> +<ul class="inheritance"> +<li>java.lang.Object</li> +<li> +<ul class="inheritance"> +<li>de.griefed.ServerPackCreator.ConfigCheck</li> +</ul> +</li> +</ul> +<div class="description"> +<ul class="blockList"> +<li class="blockList"> +<hr> +<br> +<pre>class <span class="typeNameLabel">ConfigCheck</span> +extends java.lang.Object</pre> +</li> +</ul> +</div> +<div class="summary"> +<ul class="blockList"> +<li class="blockList"> +<!-- =========== FIELD SUMMARY =========== --> +<ul class="blockList"> +<li class="blockList"><a name="field.summary"> +<!-- --> +</a> +<h3>Field Summary</h3> +<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Field Summary table, listing fields, and an explanation"> +<caption><span>Fields</span><span class="tabEnd"> </span></caption> +<tr> +<th class="colFirst" scope="col">Modifier and Type</th> +<th class="colLast" scope="col">Field and Description</th> +</tr> +<tr class="altColor"> +<td class="colFirst"><code>private static org.apache.logging.log4j.Logger</code></td> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../de/griefed/ServerPackCreator/ConfigCheck.html#appLogger">appLogger</a></span></code> </td> +</tr> +</table> +</li> +</ul> +<!-- ======== CONSTRUCTOR SUMMARY ======== --> +<ul class="blockList"> +<li class="blockList"><a name="constructor.summary"> +<!-- --> +</a> +<h3>Constructor Summary</h3> +<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Constructor Summary table, listing constructors, and an explanation"> +<caption><span>Constructors</span><span class="tabEnd"> </span></caption> +<tr> +<th class="colOne" scope="col">Constructor and Description</th> +</tr> +<tr class="altColor"> +<td class="colOne"><code><span class="memberNameLink"><a href="../../../de/griefed/ServerPackCreator/ConfigCheck.html#ConfigCheck--">ConfigCheck</a></span>()</code> </td> +</tr> +</table> +</li> +</ul> +<!-- ========== METHOD SUMMARY =========== --> +<ul class="blockList"> +<li class="blockList"><a name="method.summary"> +<!-- --> +</a> +<h3>Method Summary</h3> +<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation"> +<caption><span id="t0" class="activeTableTab"><span>All Methods</span><span class="tabEnd"> </span></span><span id="t1" class="tableTab"><span><a href="javascript:show(1);">Static Methods</a></span><span class="tabEnd"> </span></span><span id="t4" class="tableTab"><span><a href="javascript:show(8);">Concrete Methods</a></span><span class="tabEnd"> </span></span></caption> +<tr> +<th class="colFirst" scope="col">Modifier and Type</th> +<th class="colLast" scope="col">Method and Description</th> +</tr> +<tr id="i0" class="altColor"> +<td class="colFirst"><code>static boolean</code></td> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../de/griefed/ServerPackCreator/ConfigCheck.html#checkConfig--">checkConfig</a></span>()</code> +<div class="block">Check the config file for configuration errors.</div> +</td> +</tr> +<tr id="i1" class="rowColor"> +<td class="colFirst"><code>(package private) static boolean</code></td> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../de/griefed/ServerPackCreator/ConfigCheck.html#checkCopyDirs-java.util.List-java.lang.String-">checkCopyDirs</a></span>(java.util.List<java.lang.String> copyDirs, + java.lang.String modpackDir)</code> +<div class="block">Check whether the specified directories exist in the modpack directory.</div> +</td> +</tr> +<tr id="i2" class="altColor"> +<td class="colFirst"><code>(package private) static boolean</code></td> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../de/griefed/ServerPackCreator/ConfigCheck.html#checkCurseForge-java.lang.String-">checkCurseForge</a></span>(java.lang.String modpackDir)</code> +<div class="block">Checks whether the modpackDir contains a valid projectID,fileID combination.</div> +</td> +</tr> +<tr id="i3" class="rowColor"> +<td class="colFirst"><code>(package private) static boolean</code></td> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../de/griefed/ServerPackCreator/ConfigCheck.html#checkJavaPath-java.lang.String-">checkJavaPath</a></span>(java.lang.String pathToJava)</code> +<div class="block">Checks whether the correct path to the Java installation was set.</div> +</td> +</tr> +<tr id="i4" class="altColor"> +<td class="colFirst"><code>(package private) static boolean</code></td> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../de/griefed/ServerPackCreator/ConfigCheck.html#checkModloader-java.lang.String-">checkModloader</a></span>(java.lang.String modloader)</code> +<div class="block">Checks whether Forge or Fabric were specified as modloader.</div> +</td> +</tr> +<tr id="i5" class="rowColor"> +<td class="colFirst"><code>(package private) static boolean</code></td> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../de/griefed/ServerPackCreator/ConfigCheck.html#checkModloaderVersion-java.lang.String-java.lang.String-">checkModloaderVersion</a></span>(java.lang.String modloader, + java.lang.String modloaderVersion)</code> +<div class="block">Determine whether to check for correct Forge or correct Fabric modloader version.</div> +</td> +</tr> +<tr id="i6" class="altColor"> +<td class="colFirst"><code>(package private) static boolean</code></td> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../de/griefed/ServerPackCreator/ConfigCheck.html#checkModpackDir-java.lang.String-">checkModpackDir</a></span>(java.lang.String modpackDir)</code> +<div class="block">Check whether the specified modpack directory exists.</div> +</td> +</tr> +<tr id="i7" class="rowColor"> +<td class="colFirst"><code>private static boolean</code></td> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../de/griefed/ServerPackCreator/ConfigCheck.html#containsFabric-de.griefed.ServerPackCreator.CurseForgeModpack.Modpack-">containsFabric</a></span>(<a href="../../../de/griefed/ServerPackCreator/CurseForgeModpack/Modpack.html" title="class in de.griefed.ServerPackCreator.CurseForgeModpack">Modpack</a> modpack)</code> +<div class="block">Checks for the Jumploader mod in the project list of the modpack.</div> +</td> +</tr> +<tr id="i8" class="altColor"> +<td class="colFirst"><code>private static boolean</code></td> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../de/griefed/ServerPackCreator/ConfigCheck.html#convertToBoolean-java.lang.String-">convertToBoolean</a></span>(java.lang.String stringBoolean)</code> +<div class="block">Converts various strings to booleans.</div> +</td> +</tr> +<tr id="i9" class="rowColor"> +<td class="colFirst"><code>(package private) static java.lang.String</code></td> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../de/griefed/ServerPackCreator/ConfigCheck.html#getJavaPath-java.lang.String-">getJavaPath</a></span>(java.lang.String enteredPath)</code> +<div class="block">Automatically set Java path if none is specified</div> +</td> +</tr> +<tr id="i10" class="altColor"> +<td class="colFirst"><code>private static boolean</code></td> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../de/griefed/ServerPackCreator/ConfigCheck.html#isCurse--">isCurse</a></span>()</code> +<div class="block">Checks whether the specified projectID,fileID combination is a valid CurseForge project and file and whether the resulting directory exists.</div> +</td> +</tr> +<tr id="i11" class="rowColor"> +<td class="colFirst"><code>private static boolean</code></td> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../de/griefed/ServerPackCreator/ConfigCheck.html#isDir-java.lang.String-">isDir</a></span>(java.lang.String modpackDir)</code> +<div class="block">Checks whether the specified modpack exists.</div> +</td> +</tr> +<tr id="i12" class="altColor"> +<td class="colFirst"><code>(package private) static boolean</code></td> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../de/griefed/ServerPackCreator/ConfigCheck.html#isFabricVersionCorrect-java.lang.String-">isFabricVersionCorrect</a></span>(java.lang.String fabricVersion)</code> +<div class="block">Check the specified Fabric version against Fabric's version manifest to validate the version.</div> +</td> +</tr> +<tr id="i13" class="rowColor"> +<td class="colFirst"><code>(package private) static boolean</code></td> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../de/griefed/ServerPackCreator/ConfigCheck.html#isForgeVersionCorrect-java.lang.String-">isForgeVersionCorrect</a></span>(java.lang.String forgeVersion)</code> +<div class="block">Checks Forge version for errors (basically for its availability in Forge manifest)</div> +</td> +</tr> +<tr id="i14" class="altColor"> +<td class="colFirst"><code>(package private) static boolean</code></td> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../de/griefed/ServerPackCreator/ConfigCheck.html#isMinecraftVersionCorrect-java.lang.String-">isMinecraftVersionCorrect</a></span>(java.lang.String minecraftVersion)</code> +<div class="block">Check the specified Minecraft version against Mojang's version manifest to validate the version.</div> +</td> +</tr> +<tr id="i15" class="rowColor"> +<td class="colFirst"><code>private static java.lang.String</code></td> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../de/griefed/ServerPackCreator/ConfigCheck.html#latestFabricLoader-java.lang.String-">latestFabricLoader</a></span>(java.lang.String modpackDir)</code> +<div class="block">Returns the latest installer version for the Fabric installer to be used in ServerSetup.installServer.</div> +</td> +</tr> +<tr id="i16" class="altColor"> +<td class="colFirst"><code>(package private) static void</code></td> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../de/griefed/ServerPackCreator/ConfigCheck.html#printConfig-java.lang.String-java.util.List-java.util.List-boolean-java.lang.String-java.lang.String-java.lang.String-java.lang.String-boolean-boolean-boolean-boolean-">printConfig</a></span>(java.lang.String modpackDirectory, + java.util.List<java.lang.String> clientsideMods, + java.util.List<java.lang.String> copyDirectories, + boolean installServer, + java.lang.String javaInstallPath, + java.lang.String minecraftVer, + java.lang.String modloader, + java.lang.String modloaderVersion, + boolean includeIcon, + boolean includeProperties, + boolean includeScripts, + boolean includeZip)</code> +<div class="block">Prints the configuration.</div> +</td> +</tr> +<tr id="i17" class="rowColor"> +<td class="colFirst"><code>(package private) static java.lang.String</code></td> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../de/griefed/ServerPackCreator/ConfigCheck.html#setModloader-java.lang.String-">setModloader</a></span>(java.lang.String modloader)</code> +<div class="block">Standardize the specified modloader.</div> +</td> +</tr> +<tr id="i18" class="altColor"> +<td class="colFirst"><code>private static java.lang.String[]</code></td> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../de/griefed/ServerPackCreator/ConfigCheck.html#splitString-java.lang.String-">splitString</a></span>(java.lang.String modpackDir)</code> +<div class="block">Splits a string into an array with the separator being ",".</div> +</td> +</tr> +<tr id="i19" class="rowColor"> +<td class="colFirst"><code>private static java.util.List<java.lang.String></code></td> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../de/griefed/ServerPackCreator/ConfigCheck.html#suggestCopyDirs-java.lang.String-">suggestCopyDirs</a></span>(java.lang.String modpackDir)</code> +<div class="block">Creates a list of suggested directories to include in server pack which is later on written to a new configuration file.</div> +</td> +</tr> +</table> +<ul class="blockList"> +<li class="blockList"><a name="methods.inherited.from.class.java.lang.Object"> +<!-- --> +</a> +<h3>Methods inherited from class java.lang.Object</h3> +<code>clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait</code></li> +</ul> +</li> +</ul> +</li> +</ul> +</div> +<div class="details"> +<ul class="blockList"> +<li class="blockList"> +<!-- ============ FIELD DETAIL =========== --> +<ul class="blockList"> +<li class="blockList"><a name="field.detail"> +<!-- --> +</a> +<h3>Field Detail</h3> +<a name="appLogger"> +<!-- --> +</a> +<ul class="blockListLast"> +<li class="blockList"> +<h4>appLogger</h4> +<pre>private static final org.apache.logging.log4j.Logger appLogger</pre> +</li> +</ul> +</li> +</ul> +<!-- ========= CONSTRUCTOR DETAIL ======== --> +<ul class="blockList"> +<li class="blockList"><a name="constructor.detail"> +<!-- --> +</a> +<h3>Constructor Detail</h3> +<a name="ConfigCheck--"> +<!-- --> +</a> +<ul class="blockListLast"> +<li class="blockList"> +<h4>ConfigCheck</h4> +<pre>ConfigCheck()</pre> +</li> +</ul> +</li> +</ul> +<!-- ============ METHOD DETAIL ========== --> +<ul class="blockList"> +<li class="blockList"><a name="method.detail"> +<!-- --> +</a> +<h3>Method Detail</h3> +<a name="checkConfig--"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>checkConfig</h4> +<pre>public static boolean checkConfig()</pre> +<div class="block">Check the config file for configuration errors. If an error is found, the log file will tell the user where the error is, so they can fix their config.</div> +<dl> +<dt><span class="returnLabel">Returns:</span></dt> +<dd>Return true if error is found in user's configuration. If an error is found, the application will exit in main.</dd> +</dl> +</li> +</ul> +<a name="isDir-java.lang.String-"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>isDir</h4> +<pre>private static boolean isDir(java.lang.String modpackDir)</pre> +<div class="block">Checks whether the specified modpack exists. If it does, the config file is checked for errors. Should any error be found, it will return true so the configCheck method informs the user about an invalid configuration.</div> +<dl> +<dt><span class="paramLabel">Parameters:</span></dt> +<dd><code>modpackDir</code> - String. Should an existing modpack be specified, all configurations are read from local file and the server pack is created, if config is correct.</dd> +<dt><span class="returnLabel">Returns:</span></dt> +<dd>Boolean. Returns true if an error is found during configuration check. False if the configuration is deemed valid.</dd> +</dl> +</li> +</ul> +<a name="isCurse--"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>isCurse</h4> +<pre>private static boolean isCurse()</pre> +<div class="block">Checks whether the specified projectID,fileID combination is a valid CurseForge project and file and whether the resulting directory exists. If the directory does not exist, make calls to other methods which create the modpack. Parses information gathered from the modpack to later replace the previous configuration file.</div> +<dl> +<dt><span class="returnLabel">Returns:</span></dt> +<dd>Boolean. Currently always returns true so ServerPackCreator does not go straight into server pack creation after the creation of the specified modpack. Gives the user the chance to check their config before actually creating the server pack.</dd> +</dl> +</li> +</ul> +<a name="containsFabric-de.griefed.ServerPackCreator.CurseForgeModpack.Modpack-"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>containsFabric</h4> +<pre>private static boolean containsFabric(<a href="../../../de/griefed/ServerPackCreator/CurseForgeModpack/Modpack.html" title="class in de.griefed.ServerPackCreator.CurseForgeModpack">Modpack</a> modpack)</pre> +<div class="block">Checks for the Jumploader mod in the project list of the modpack. If Jumploader is found, the modloader in the configuration will be set to Fabric.</div> +<dl> +<dt><span class="paramLabel">Parameters:</span></dt> +<dd><code>modpack</code> - Object. Contains information about our modpack. Used to get a list of all projects used in the modpack.</dd> +<dt><span class="returnLabel">Returns:</span></dt> +<dd>Boolean. Returns true if Jumploader is found, false if not found.</dd> +</dl> +</li> +</ul> +<a name="suggestCopyDirs-java.lang.String-"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>suggestCopyDirs</h4> +<pre>private static java.util.List<java.lang.String> suggestCopyDirs(java.lang.String modpackDir)</pre> +<div class="block">Creates a list of suggested directories to include in server pack which is later on written to a new configuration file.</div> +<dl> +<dt><span class="paramLabel">Parameters:</span></dt> +<dd><code>modpackDir</code> - String. The directory for which to gather a list of directories.</dd> +<dt><span class="returnLabel">Returns:</span></dt> +<dd>List, String. Returns a list of directories inside the modpack, excluding well known client-side only directories which would not be needed by a server pack. If you have suggestions to this list, open an issue on https://github.com/Griefed/ServerPackCreator/issues</dd> +</dl> +</li> +</ul> +<a name="checkCurseForge-java.lang.String-"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>checkCurseForge</h4> +<pre>static boolean checkCurseForge(java.lang.String modpackDir)</pre> +<div class="block">Checks whether the modpackDir contains a valid projectID,fileID combination. ProjectIDs must be at least two digits long, fileIDs must be at least 5 digits long. Must be numbers separated by a ",".</div> +<dl> +<dt><span class="paramLabel">Parameters:</span></dt> +<dd><code>modpackDir</code> - String. The string which to check for a valid projectID,fileID combination.</dd> +<dt><span class="returnLabel">Returns:</span></dt> +<dd>Boolean. Returns true if the combination is deemed valid, false if not.</dd> +</dl> +</li> +</ul> +<a name="convertToBoolean-java.lang.String-"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>convertToBoolean</h4> +<pre>private static boolean convertToBoolean(java.lang.String stringBoolean)</pre> +<div class="block">Converts various strings to booleans.</div> +<dl> +<dt><span class="paramLabel">Parameters:</span></dt> +<dd><code>stringBoolean</code> - String. The string which should be converted to boolean if it matches certain patterns.</dd> +<dt><span class="returnLabel">Returns:</span></dt> +<dd>Boolean. Returns the corresponding boolean if match with pattern was found. If no match is found, assume and return false.</dd> +</dl> +</li> +</ul> +<a name="printConfig-java.lang.String-java.util.List-java.util.List-boolean-java.lang.String-java.lang.String-java.lang.String-java.lang.String-boolean-boolean-boolean-boolean-"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>printConfig</h4> +<pre>static void printConfig(java.lang.String modpackDirectory, + java.util.List<java.lang.String> clientsideMods, + java.util.List<java.lang.String> copyDirectories, + boolean installServer, + java.lang.String javaInstallPath, + java.lang.String minecraftVer, + java.lang.String modloader, + java.lang.String modloaderVersion, + boolean includeIcon, + boolean includeProperties, + boolean includeScripts, + boolean includeZip)</pre> +<div class="block">Prints the configuration.</div> +<dl> +<dt><span class="paramLabel">Parameters:</span></dt> +<dd><code>modpackDirectory</code> - String. Path to modpack directory.</dd> +<dd><code>clientsideMods</code> - String List. List of clientside mods to delete from server pack.</dd> +<dd><code>copyDirectories</code> - String List. List of directories to copy to server pack.</dd> +<dd><code>installServer</code> - Boolean. Whether to install the modloader server.</dd> +<dd><code>javaInstallPath</code> - String. Path to Java installation needed to install modloader server.</dd> +<dd><code>minecraftVer</code> - String. Minecraft version the modpack uses.</dd> +<dd><code>modloader</code> - String. Modloader the modpack uses.</dd> +<dd><code>modloaderVersion</code> - String. Version of the modloader the modpack uses.</dd> +<dd><code>includeIcon</code> - Boolean. Whether to include the server-icon.png in the server pack.</dd> +<dd><code>includeProperties</code> - Boolean. Whether to include the server.properties in the server pack.</dd> +<dd><code>includeScripts</code> - Boolean. Whether to include start scripts for the specified modloader in the server pack.</dd> +<dd><code>includeZip</code> - Boolean. Whether to create a zip-archive of the server pack.</dd> +</dl> +</li> +</ul> +<a name="checkModpackDir-java.lang.String-"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>checkModpackDir</h4> +<pre>static boolean checkModpackDir(java.lang.String modpackDir)</pre> +<div class="block">Check whether the specified modpack directory exists.</div> +<dl> +<dt><span class="paramLabel">Parameters:</span></dt> +<dd><code>modpackDir</code> - String. The path to the modpack directory.</dd> +<dt><span class="returnLabel">Returns:</span></dt> +<dd>Boolean. Returns true if the directory exists. False if not.</dd> +</dl> +</li> +</ul> +<a name="checkCopyDirs-java.util.List-java.lang.String-"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>checkCopyDirs</h4> +<pre>static boolean checkCopyDirs(java.util.List<java.lang.String> copyDirs, + java.lang.String modpackDir)</pre> +<div class="block">Check whether the specified directories exist in the modpack directory.</div> +<dl> +<dt><span class="paramLabel">Parameters:</span></dt> +<dd><code>copyDirs</code> - String. The directories for which to check.</dd> +<dd><code>modpackDir</code> - String. The path to the modpack directory in which to check for directories.</dd> +<dt><span class="returnLabel">Returns:</span></dt> +<dd>Boolean. Returns true if all directories exist. False if any one does not.</dd> +</dl> +</li> +</ul> +<a name="getJavaPath-java.lang.String-"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>getJavaPath</h4> +<pre>static java.lang.String getJavaPath(java.lang.String enteredPath)</pre> +<div class="block">Automatically set Java path if none is specified</div> +<dl> +<dt><span class="paramLabel">Parameters:</span></dt> +<dd><code>enteredPath</code> - String. The path to check whether it is empty.</dd> +<dt><span class="returnLabel">Returns:</span></dt> +<dd>String. Return the entered Java path if it is not empty. Automatically determine path if empty.</dd> +</dl> +</li> +</ul> +<a name="checkJavaPath-java.lang.String-"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>checkJavaPath</h4> +<pre>static boolean checkJavaPath(java.lang.String pathToJava)</pre> +<div class="block">Checks whether the correct path to the Java installation was set.</div> +<dl> +<dt><span class="paramLabel">Parameters:</span></dt> +<dd><code>pathToJava</code> - String. The path to check for java.exe or java.</dd> +<dt><span class="returnLabel">Returns:</span></dt> +<dd>Boolean. Returns true if the path was correctly set. False if not.</dd> +</dl> +</li> +</ul> +<a name="checkModloader-java.lang.String-"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>checkModloader</h4> +<pre>static boolean checkModloader(java.lang.String modloader)</pre> +<div class="block">Checks whether Forge or Fabric were specified as modloader.</div> +<dl> +<dt><span class="paramLabel">Parameters:</span></dt> +<dd><code>modloader</code> - String. Check case insensitive for Forge or Fabric.</dd> +<dt><span class="returnLabel">Returns:</span></dt> +<dd>Boolean. Returns true if the specified modloader is either Forge or Fabric. False if not.</dd> +</dl> +</li> +</ul> +<a name="setModloader-java.lang.String-"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>setModloader</h4> +<pre>static java.lang.String setModloader(java.lang.String modloader)</pre> +<div class="block">Standardize the specified modloader.</div> +<dl> +<dt><span class="paramLabel">Parameters:</span></dt> +<dd><code>modloader</code> - String. If any case of Forge or Fabric was specified, return "Forge" or "Fabric", so users can enter "forge" or "fabric" or any combination of upper- and lowercase letters..</dd> +<dt><span class="returnLabel">Returns:</span></dt> +<dd>String. Returns a standardized String of the specified modloader.</dd> +</dl> +</li> +</ul> +<a name="checkModloaderVersion-java.lang.String-java.lang.String-"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>checkModloaderVersion</h4> +<pre>static boolean checkModloaderVersion(java.lang.String modloader, + java.lang.String modloaderVersion)</pre> +<div class="block">Determine whether to check for correct Forge or correct Fabric modloader version.</div> +<dl> +<dt><span class="paramLabel">Parameters:</span></dt> +<dd><code>modloader</code> - String. Determines whether the check for Forge or Fabric is called.</dd> +<dd><code>modloaderVersion</code> - String. The version of the modloader to check for.</dd> +<dt><span class="returnLabel">Returns:</span></dt> +<dd>Boolean. Returns true if the specified modloader version is correct. False if not.</dd> +</dl> +</li> +</ul> +<a name="isMinecraftVersionCorrect-java.lang.String-"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>isMinecraftVersionCorrect</h4> +<pre>static boolean isMinecraftVersionCorrect(java.lang.String minecraftVersion)</pre> +<div class="block">Check the specified Minecraft version against Mojang's version manifest to validate the version.</div> +<dl> +<dt><span class="paramLabel">Parameters:</span></dt> +<dd><code>minecraftVersion</code> - Minecraft version to check.</dd> +<dt><span class="returnLabel">Returns:</span></dt> +<dd>Boolean. Returns true if the specified Minecraft version could be found in Mojang's manifest. False if not.</dd> +</dl> +</li> +</ul> +<a name="isFabricVersionCorrect-java.lang.String-"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>isFabricVersionCorrect</h4> +<pre>static boolean isFabricVersionCorrect(java.lang.String fabricVersion)</pre> +<div class="block">Check the specified Fabric version against Fabric's version manifest to validate the version.</div> +<dl> +<dt><span class="paramLabel">Parameters:</span></dt> +<dd><code>fabricVersion</code> - String. The Fabric version to check.</dd> +<dt><span class="returnLabel">Returns:</span></dt> +<dd>Boolean. Returns true if the specified Fabric version could be found in Fabric's manifest. False if not.</dd> +</dl> +</li> +</ul> +<a name="isForgeVersionCorrect-java.lang.String-"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>isForgeVersionCorrect</h4> +<pre>static boolean isForgeVersionCorrect(java.lang.String forgeVersion)</pre> +<div class="block">Checks Forge version for errors (basically for its availability in Forge manifest)</div> +<dl> +<dt><span class="paramLabel">Parameters:</span></dt> +<dd><code>forgeVersion</code> - String. The Forge version to check.</dd> +<dt><span class="returnLabel">Returns:</span></dt> +<dd>Boolean. Returns true if Forge version correct and false if it isn't correct.</dd> +</dl> +</li> +</ul> +<a name="latestFabricLoader-java.lang.String-"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>latestFabricLoader</h4> +<pre>private static java.lang.String latestFabricLoader(java.lang.String modpackDir)</pre> +<div class="block">Returns the latest installer version for the Fabric installer to be used in ServerSetup.installServer.</div> +<dl> +<dt><span class="paramLabel">Parameters:</span></dt> +<dd><code>modpackDir</code> - String. /server_pack The directory where the Fabric installer will be placed in.</dd> +<dt><span class="returnLabel">Returns:</span></dt> +<dd>Boolean. Returns true if the download was successful. False if not.</dd> +</dl> +</li> +</ul> +<a name="splitString-java.lang.String-"> +<!-- --> +</a> +<ul class="blockListLast"> +<li class="blockList"> +<h4>splitString</h4> +<pre>private static java.lang.String[] splitString(java.lang.String modpackDir)</pre> +<div class="block">Splits a string into an array with the separator being ",". Used to get the CurseForge projectID and fileID as separate string so they can later be parsed into integers and used with the CurseForgeAPI make downloads and gather information.</div> +<dl> +<dt><span class="paramLabel">Parameters:</span></dt> +<dd><code>modpackDir</code> - String. The string which to split with the "," separator.</dd> +<dt><span class="returnLabel">Returns:</span></dt> +<dd>Array, String. Returns the array consisting of the projectID at 0 and the fileID at 1.</dd> +</dl> +</li> +</ul> +</li> +</ul> +</li> +</ul> +</div> +</div> +<!-- ========= END OF CLASS DATA ========= --> +<!-- ======= START OF BOTTOM NAVBAR ====== --> +<div class="bottomNav"><a name="navbar.bottom"> +<!-- --> +</a> +<div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div> +<a name="navbar.bottom.firstrow"> +<!-- --> +</a> +<ul class="navList" title="Navigation"> +<li><a href="../../../overview-summary.html">Overview</a></li> +<li><a href="package-summary.html">Package</a></li> +<li class="navBarCell1Rev">Class</li> +<li><a href="package-tree.html">Tree</a></li> +<li><a href="../../../deprecated-list.html">Deprecated</a></li> +<li><a href="../../../index-all.html">Index</a></li> +<li><a href="../../../help-doc.html">Help</a></li> +</ul> +</div> +<div class="subNav"> +<ul class="navList"> +<li><a href="../../../de/griefed/ServerPackCreator/CLISetup.html" title="class in de.griefed.ServerPackCreator"><span class="typeNameLink">Prev Class</span></a></li> +<li><a href="../../../de/griefed/ServerPackCreator/CopyFiles.html" title="class in de.griefed.ServerPackCreator"><span class="typeNameLink">Next Class</span></a></li> +</ul> +<ul class="navList"> +<li><a href="../../../index.html?de/griefed/ServerPackCreator/ConfigCheck.html" target="_top">Frames</a></li> +<li><a href="ConfigCheck.html" target="_top">No Frames</a></li> +</ul> +<ul class="navList" id="allclasses_navbar_bottom"> +<li><a href="../../../allclasses-noframe.html">All Classes</a></li> +</ul> +<div> +<script type="text/javascript"><!-- + allClassesLink = document.getElementById("allclasses_navbar_bottom"); + if(window==top) { + allClassesLink.style.display = "block"; + } + else { + allClassesLink.style.display = "none"; + } + //--> +</script> +</div> +<div> +<ul class="subNavList"> +<li>Summary: </li> +<li>Nested | </li> +<li><a href="#field.summary">Field</a> | </li> +<li><a href="#constructor.summary">Constr</a> | </li> +<li><a href="#method.summary">Method</a></li> +</ul> +<ul class="subNavList"> +<li>Detail: </li> +<li><a href="#field.detail">Field</a> | </li> +<li><a href="#constructor.detail">Constr</a> | </li> +<li><a href="#method.detail">Method</a></li> +</ul> +</div> +<a name="skip.navbar.bottom"> +<!-- --> +</a></div> +<!-- ======== END OF BOTTOM NAVBAR ======= --> +</body> +</html> diff --git a/docs/docs/javadoc/de/griefed/ServerPackCreator/CopyFiles.html b/docs/docs/javadoc/de/griefed/ServerPackCreator/CopyFiles.html new file mode 100644 index 000000000..725f26e62 --- /dev/null +++ b/docs/docs/javadoc/de/griefed/ServerPackCreator/CopyFiles.html @@ -0,0 +1,431 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> +<!-- NewPage --> +<html lang="de"> +<head> +<!-- Generated by javadoc --> +<title>CopyFiles (ServerPackCreator API)</title> +<link rel="stylesheet" type="text/css" href="../../../stylesheet.css" title="Style"> +<script type="text/javascript" src="../../../script.js"></script> +</head> +<body> +<script type="text/javascript"><!-- + try { + if (location.href.indexOf('is-external=true') == -1) { + parent.document.title="CopyFiles (ServerPackCreator API)"; + } + } + catch(err) { + } +//--> +var methods = {"i0":9,"i1":9,"i2":9,"i3":9,"i4":9,"i5":9}; +var tabs = {65535:["t0","All Methods"],1:["t1","Static Methods"],8:["t4","Concrete Methods"]}; +var altColor = "altColor"; +var rowColor = "rowColor"; +var tableTab = "tableTab"; +var activeTableTab = "activeTableTab"; +</script> +<noscript> +<div>JavaScript is disabled on your browser.</div> +</noscript> +<!-- ========= START OF TOP NAVBAR ======= --> +<div class="topNav"><a name="navbar.top"> +<!-- --> +</a> +<div class="skipNav"><a href="#skip.navbar.top" title="Skip navigation links">Skip navigation links</a></div> +<a name="navbar.top.firstrow"> +<!-- --> +</a> +<ul class="navList" title="Navigation"> +<li><a href="../../../overview-summary.html">Overview</a></li> +<li><a href="package-summary.html">Package</a></li> +<li class="navBarCell1Rev">Class</li> +<li><a href="package-tree.html">Tree</a></li> +<li><a href="../../../deprecated-list.html">Deprecated</a></li> +<li><a href="../../../index-all.html">Index</a></li> +<li><a href="../../../help-doc.html">Help</a></li> +</ul> +</div> +<div class="subNav"> +<ul class="navList"> +<li><a href="../../../de/griefed/ServerPackCreator/ConfigCheck.html" title="class in de.griefed.ServerPackCreator"><span class="typeNameLink">Prev Class</span></a></li> +<li><a href="../../../de/griefed/ServerPackCreator/FilesSetup.html" title="class in de.griefed.ServerPackCreator"><span class="typeNameLink">Next Class</span></a></li> +</ul> +<ul class="navList"> +<li><a href="../../../index.html?de/griefed/ServerPackCreator/CopyFiles.html" target="_top">Frames</a></li> +<li><a href="CopyFiles.html" target="_top">No Frames</a></li> +</ul> +<ul class="navList" id="allclasses_navbar_top"> +<li><a href="../../../allclasses-noframe.html">All Classes</a></li> +</ul> +<div> +<script type="text/javascript"><!-- + allClassesLink = document.getElementById("allclasses_navbar_top"); + if(window==top) { + allClassesLink.style.display = "block"; + } + else { + allClassesLink.style.display = "none"; + } + //--> +</script> +</div> +<div> +<ul class="subNavList"> +<li>Summary: </li> +<li>Nested | </li> +<li><a href="#field.summary">Field</a> | </li> +<li><a href="#constructor.summary">Constr</a> | </li> +<li><a href="#method.summary">Method</a></li> +</ul> +<ul class="subNavList"> +<li>Detail: </li> +<li><a href="#field.detail">Field</a> | </li> +<li><a href="#constructor.detail">Constr</a> | </li> +<li><a href="#method.detail">Method</a></li> +</ul> +</div> +<a name="skip.navbar.top"> +<!-- --> +</a></div> +<!-- ========= END OF TOP NAVBAR ========= --> +<!-- ======== START OF CLASS DATA ======== --> +<div class="header"> +<div class="subTitle">de.griefed.ServerPackCreator</div> +<h2 title="Class CopyFiles" class="title">Class CopyFiles</h2> +</div> +<div class="contentContainer"> +<ul class="inheritance"> +<li>java.lang.Object</li> +<li> +<ul class="inheritance"> +<li>de.griefed.ServerPackCreator.CopyFiles</li> +</ul> +</li> +</ul> +<div class="description"> +<ul class="blockList"> +<li class="blockList"> +<hr> +<br> +<pre>class <span class="typeNameLabel">CopyFiles</span> +extends java.lang.Object</pre> +</li> +</ul> +</div> +<div class="summary"> +<ul class="blockList"> +<li class="blockList"> +<!-- =========== FIELD SUMMARY =========== --> +<ul class="blockList"> +<li class="blockList"><a name="field.summary"> +<!-- --> +</a> +<h3>Field Summary</h3> +<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Field Summary table, listing fields, and an explanation"> +<caption><span>Fields</span><span class="tabEnd"> </span></caption> +<tr> +<th class="colFirst" scope="col">Modifier and Type</th> +<th class="colLast" scope="col">Field and Description</th> +</tr> +<tr class="altColor"> +<td class="colFirst"><code>private static org.apache.logging.log4j.Logger</code></td> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../de/griefed/ServerPackCreator/CopyFiles.html#appLogger">appLogger</a></span></code> </td> +</tr> +</table> +</li> +</ul> +<!-- ======== CONSTRUCTOR SUMMARY ======== --> +<ul class="blockList"> +<li class="blockList"><a name="constructor.summary"> +<!-- --> +</a> +<h3>Constructor Summary</h3> +<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Constructor Summary table, listing constructors, and an explanation"> +<caption><span>Constructors</span><span class="tabEnd"> </span></caption> +<tr> +<th class="colOne" scope="col">Constructor and Description</th> +</tr> +<tr class="altColor"> +<td class="colOne"><code><span class="memberNameLink"><a href="../../../de/griefed/ServerPackCreator/CopyFiles.html#CopyFiles--">CopyFiles</a></span>()</code> </td> +</tr> +</table> +</li> +</ul> +<!-- ========== METHOD SUMMARY =========== --> +<ul class="blockList"> +<li class="blockList"><a name="method.summary"> +<!-- --> +</a> +<h3>Method Summary</h3> +<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation"> +<caption><span id="t0" class="activeTableTab"><span>All Methods</span><span class="tabEnd"> </span></span><span id="t1" class="tableTab"><span><a href="javascript:show(1);">Static Methods</a></span><span class="tabEnd"> </span></span><span id="t4" class="tableTab"><span><a href="javascript:show(8);">Concrete Methods</a></span><span class="tabEnd"> </span></span></caption> +<tr> +<th class="colFirst" scope="col">Modifier and Type</th> +<th class="colLast" scope="col">Method and Description</th> +</tr> +<tr id="i0" class="altColor"> +<td class="colFirst"><code>(package private) static void</code></td> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../de/griefed/ServerPackCreator/CopyFiles.html#cleanupEnvironment-java.lang.String-">cleanupEnvironment</a></span>(java.lang.String modpackDir)</code> +<div class="block">Deletes files from previous runs of ServerPackCreator.</div> +</td> +</tr> +<tr id="i1" class="rowColor"> +<td class="colFirst"><code>(package private) static void</code></td> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../de/griefed/ServerPackCreator/CopyFiles.html#copyFiles-java.lang.String-java.util.List-java.util.List-">copyFiles</a></span>(java.lang.String modpackDir, + java.util.List<java.lang.String> copyDirs, + java.util.List<java.lang.String> clientMods)</code> +<div class="block">Copies all specified folders and their files to the modpackDir.</div> +</td> +</tr> +<tr id="i2" class="altColor"> +<td class="colFirst"><code>(package private) static void</code></td> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../de/griefed/ServerPackCreator/CopyFiles.html#copyIcon-java.lang.String-">copyIcon</a></span>(java.lang.String modpackDir)</code> +<div class="block">Copies the server-icon.png into server_pack.</div> +</td> +</tr> +<tr id="i3" class="rowColor"> +<td class="colFirst"><code>(package private) static void</code></td> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../de/griefed/ServerPackCreator/CopyFiles.html#copyProperties-java.lang.String-">copyProperties</a></span>(java.lang.String modpackDir)</code> +<div class="block">Copies the server.properties into server_pack.</div> +</td> +</tr> +<tr id="i4" class="altColor"> +<td class="colFirst"><code>(package private) static void</code></td> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../de/griefed/ServerPackCreator/CopyFiles.html#copyStartScripts-java.lang.String-java.lang.String-boolean-">copyStartScripts</a></span>(java.lang.String modpackDir, + java.lang.String modLoader, + boolean includeStartScripts)</code> +<div class="block">Copies start scripts for Forge modloader into the server_pack folder.</div> +</td> +</tr> +<tr id="i5" class="rowColor"> +<td class="colFirst"><code>private static java.util.List<java.lang.String></code></td> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../de/griefed/ServerPackCreator/CopyFiles.html#excludeClientMods-java.lang.String-java.util.List-">excludeClientMods</a></span>(java.lang.String modsDir, + java.util.List<java.lang.String> clientMods)</code> +<div class="block">Generate a list of all mods in a modpack EXCEPT clientside-only mods.</div> +</td> +</tr> +</table> +<ul class="blockList"> +<li class="blockList"><a name="methods.inherited.from.class.java.lang.Object"> +<!-- --> +</a> +<h3>Methods inherited from class java.lang.Object</h3> +<code>clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait</code></li> +</ul> +</li> +</ul> +</li> +</ul> +</div> +<div class="details"> +<ul class="blockList"> +<li class="blockList"> +<!-- ============ FIELD DETAIL =========== --> +<ul class="blockList"> +<li class="blockList"><a name="field.detail"> +<!-- --> +</a> +<h3>Field Detail</h3> +<a name="appLogger"> +<!-- --> +</a> +<ul class="blockListLast"> +<li class="blockList"> +<h4>appLogger</h4> +<pre>private static final org.apache.logging.log4j.Logger appLogger</pre> +</li> +</ul> +</li> +</ul> +<!-- ========= CONSTRUCTOR DETAIL ======== --> +<ul class="blockList"> +<li class="blockList"><a name="constructor.detail"> +<!-- --> +</a> +<h3>Constructor Detail</h3> +<a name="CopyFiles--"> +<!-- --> +</a> +<ul class="blockListLast"> +<li class="blockList"> +<h4>CopyFiles</h4> +<pre>CopyFiles()</pre> +</li> +</ul> +</li> +</ul> +<!-- ============ METHOD DETAIL ========== --> +<ul class="blockList"> +<li class="blockList"><a name="method.detail"> +<!-- --> +</a> +<h3>Method Detail</h3> +<a name="cleanupEnvironment-java.lang.String-"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>cleanupEnvironment</h4> +<pre>static void cleanupEnvironment(java.lang.String modpackDir)</pre> +<div class="block">Deletes files from previous runs of ServerPackCreator.</div> +<dl> +<dt><span class="paramLabel">Parameters:</span></dt> +<dd><code>modpackDir</code> - String. The directory in where to check for files from previous runs.</dd> +</dl> +</li> +</ul> +<a name="copyStartScripts-java.lang.String-java.lang.String-boolean-"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>copyStartScripts</h4> +<pre>static void copyStartScripts(java.lang.String modpackDir, + java.lang.String modLoader, + boolean includeStartScripts)</pre> +<div class="block">Copies start scripts for Forge modloader into the server_pack folder.</div> +<dl> +<dt><span class="paramLabel">Parameters:</span></dt> +<dd><code>modpackDir</code> - String. Files will be copied into subfolder server_pack. Checks for valid modpackDir are in ConfigCheck.</dd> +<dd><code>modLoader</code> - String. Determines whether start scripts for Forge or Fabric are copied to modpackDir. Checks for valid modLoader are in ConfigCheck.</dd> +<dd><code>includeStartScripts</code> - Boolean. Whether to include start scripts in server_pack. Boolean.</dd> +</dl> +</li> +</ul> +<a name="copyFiles-java.lang.String-java.util.List-java.util.List-"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>copyFiles</h4> +<pre>static void copyFiles(java.lang.String modpackDir, + java.util.List<java.lang.String> copyDirs, + java.util.List<java.lang.String> clientMods) + throws java.io.IOException</pre> +<div class="block">Copies all specified folders and their files to the modpackDir.</div> +<dl> +<dt><span class="paramLabel">Parameters:</span></dt> +<dd><code>modpackDir</code> - String. /server_pack. Directory where all directories listed in copyDirs will be copied into.</dd> +<dd><code>copyDirs</code> - String List. The folders and files within to copy.</dd> +<dd><code>clientMods</code> - String List. List of clientside-only mods NOT to copy to server pack.</dd> +<dt><span class="throwsLabel">Throws:</span></dt> +<dd><code>java.io.IOException</code> - Only print stacktrace if it does not start with java.nio.file.DirectoryNotEmptyException.</dd> +</dl> +</li> +</ul> +<a name="excludeClientMods-java.lang.String-java.util.List-"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>excludeClientMods</h4> +<pre>private static java.util.List<java.lang.String> excludeClientMods(java.lang.String modsDir, + java.util.List<java.lang.String> clientMods)</pre> +<div class="block">Generate a list of all mods in a modpack EXCEPT clientside-only mods. This list is then used by copyFiles.</div> +<dl> +<dt><span class="paramLabel">Parameters:</span></dt> +<dd><code>modsDir</code> - String. /mods The directory in which to generate a list of all available mods.</dd> +<dd><code>clientMods</code> - List String. A list of all clientside-only mods passed by copyFiles, which is then removed from the list generated in this method.</dd> +<dt><span class="returnLabel">Returns:</span></dt> +<dd>List String. A list of all mods inside the modpack excluding the specified clientside-only mods.</dd> +</dl> +</li> +</ul> +<a name="copyIcon-java.lang.String-"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>copyIcon</h4> +<pre>static void copyIcon(java.lang.String modpackDir)</pre> +<div class="block">Copies the server-icon.png into server_pack.</div> +<dl> +<dt><span class="paramLabel">Parameters:</span></dt> +<dd><code>modpackDir</code> - String. /server_pack. Directory where the server-icon.png will be copied to.</dd> +</dl> +</li> +</ul> +<a name="copyProperties-java.lang.String-"> +<!-- --> +</a> +<ul class="blockListLast"> +<li class="blockList"> +<h4>copyProperties</h4> +<pre>static void copyProperties(java.lang.String modpackDir)</pre> +<div class="block">Copies the server.properties into server_pack.</div> +<dl> +<dt><span class="paramLabel">Parameters:</span></dt> +<dd><code>modpackDir</code> - String. /server_pack. Directory where the server.properties. will be copied to.</dd> +</dl> +</li> +</ul> +</li> +</ul> +</li> +</ul> +</div> +</div> +<!-- ========= END OF CLASS DATA ========= --> +<!-- ======= START OF BOTTOM NAVBAR ====== --> +<div class="bottomNav"><a name="navbar.bottom"> +<!-- --> +</a> +<div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div> +<a name="navbar.bottom.firstrow"> +<!-- --> +</a> +<ul class="navList" title="Navigation"> +<li><a href="../../../overview-summary.html">Overview</a></li> +<li><a href="package-summary.html">Package</a></li> +<li class="navBarCell1Rev">Class</li> +<li><a href="package-tree.html">Tree</a></li> +<li><a href="../../../deprecated-list.html">Deprecated</a></li> +<li><a href="../../../index-all.html">Index</a></li> +<li><a href="../../../help-doc.html">Help</a></li> +</ul> +</div> +<div class="subNav"> +<ul class="navList"> +<li><a href="../../../de/griefed/ServerPackCreator/ConfigCheck.html" title="class in de.griefed.ServerPackCreator"><span class="typeNameLink">Prev Class</span></a></li> +<li><a href="../../../de/griefed/ServerPackCreator/FilesSetup.html" title="class in de.griefed.ServerPackCreator"><span class="typeNameLink">Next Class</span></a></li> +</ul> +<ul class="navList"> +<li><a href="../../../index.html?de/griefed/ServerPackCreator/CopyFiles.html" target="_top">Frames</a></li> +<li><a href="CopyFiles.html" target="_top">No Frames</a></li> +</ul> +<ul class="navList" id="allclasses_navbar_bottom"> +<li><a href="../../../allclasses-noframe.html">All Classes</a></li> +</ul> +<div> +<script type="text/javascript"><!-- + allClassesLink = document.getElementById("allclasses_navbar_bottom"); + if(window==top) { + allClassesLink.style.display = "block"; + } + else { + allClassesLink.style.display = "none"; + } + //--> +</script> +</div> +<div> +<ul class="subNavList"> +<li>Summary: </li> +<li>Nested | </li> +<li><a href="#field.summary">Field</a> | </li> +<li><a href="#constructor.summary">Constr</a> | </li> +<li><a href="#method.summary">Method</a></li> +</ul> +<ul class="subNavList"> +<li>Detail: </li> +<li><a href="#field.detail">Field</a> | </li> +<li><a href="#constructor.detail">Constr</a> | </li> +<li><a href="#method.detail">Method</a></li> +</ul> +</div> +<a name="skip.navbar.bottom"> +<!-- --> +</a></div> +<!-- ======== END OF BOTTOM NAVBAR ======= --> +</body> +</html> diff --git a/docs/docs/javadoc/de/griefed/ServerPackCreator/CurseForgeModpack/CreateModpack.html b/docs/docs/javadoc/de/griefed/ServerPackCreator/CurseForgeModpack/CreateModpack.html new file mode 100644 index 000000000..1bb2b4f34 --- /dev/null +++ b/docs/docs/javadoc/de/griefed/ServerPackCreator/CurseForgeModpack/CreateModpack.html @@ -0,0 +1,540 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> +<!-- NewPage --> +<html lang="de"> +<head> +<!-- Generated by javadoc --> +<title>CreateModpack (ServerPackCreator API)</title> +<link rel="stylesheet" type="text/css" href="../../../../stylesheet.css" title="Style"> +<script type="text/javascript" src="../../../../script.js"></script> +</head> +<body> +<script type="text/javascript"><!-- + try { + if (location.href.indexOf('is-external=true') == -1) { + parent.document.title="CreateModpack (ServerPackCreator API)"; + } + } + catch(err) { + } +//--> +var methods = {"i0":9,"i1":9,"i2":9,"i3":41,"i4":9,"i5":9,"i6":9,"i7":9,"i8":9}; +var tabs = {65535:["t0","All Methods"],1:["t1","Static Methods"],8:["t4","Concrete Methods"],32:["t6","Deprecated Methods"]}; +var altColor = "altColor"; +var rowColor = "rowColor"; +var tableTab = "tableTab"; +var activeTableTab = "activeTableTab"; +</script> +<noscript> +<div>JavaScript is disabled on your browser.</div> +</noscript> +<!-- ========= START OF TOP NAVBAR ======= --> +<div class="topNav"><a name="navbar.top"> +<!-- --> +</a> +<div class="skipNav"><a href="#skip.navbar.top" title="Skip navigation links">Skip navigation links</a></div> +<a name="navbar.top.firstrow"> +<!-- --> +</a> +<ul class="navList" title="Navigation"> +<li><a href="../../../../overview-summary.html">Overview</a></li> +<li><a href="package-summary.html">Package</a></li> +<li class="navBarCell1Rev">Class</li> +<li><a href="package-tree.html">Tree</a></li> +<li><a href="../../../../deprecated-list.html">Deprecated</a></li> +<li><a href="../../../../index-all.html">Index</a></li> +<li><a href="../../../../help-doc.html">Help</a></li> +</ul> +</div> +<div class="subNav"> +<ul class="navList"> +<li>Prev Class</li> +<li><a href="../../../../de/griefed/ServerPackCreator/CurseForgeModpack/Files.html" title="class in de.griefed.ServerPackCreator.CurseForgeModpack"><span class="typeNameLink">Next Class</span></a></li> +</ul> +<ul class="navList"> +<li><a href="../../../../index.html?de/griefed/ServerPackCreator/CurseForgeModpack/CreateModpack.html" target="_top">Frames</a></li> +<li><a href="CreateModpack.html" target="_top">No Frames</a></li> +</ul> +<ul class="navList" id="allclasses_navbar_top"> +<li><a href="../../../../allclasses-noframe.html">All Classes</a></li> +</ul> +<div> +<script type="text/javascript"><!-- + allClassesLink = document.getElementById("allclasses_navbar_top"); + if(window==top) { + allClassesLink.style.display = "block"; + } + else { + allClassesLink.style.display = "none"; + } + //--> +</script> +</div> +<div> +<ul class="subNavList"> +<li>Summary: </li> +<li>Nested | </li> +<li><a href="#field.summary">Field</a> | </li> +<li><a href="#constructor.summary">Constr</a> | </li> +<li><a href="#method.summary">Method</a></li> +</ul> +<ul class="subNavList"> +<li>Detail: </li> +<li><a href="#field.detail">Field</a> | </li> +<li><a href="#constructor.detail">Constr</a> | </li> +<li><a href="#method.detail">Method</a></li> +</ul> +</div> +<a name="skip.navbar.top"> +<!-- --> +</a></div> +<!-- ========= END OF TOP NAVBAR ========= --> +<!-- ======== START OF CLASS DATA ======== --> +<div class="header"> +<div class="subTitle">de.griefed.ServerPackCreator.CurseForgeModpack</div> +<h2 title="Class CreateModpack" class="title">Class CreateModpack</h2> +</div> +<div class="contentContainer"> +<ul class="inheritance"> +<li>java.lang.Object</li> +<li> +<ul class="inheritance"> +<li>de.griefed.ServerPackCreator.CurseForgeModpack.CreateModpack</li> +</ul> +</li> +</ul> +<div class="description"> +<ul class="blockList"> +<li class="blockList"> +<hr> +<br> +<pre>public class <span class="typeNameLabel">CreateModpack</span> +extends java.lang.Object</pre> +</li> +</ul> +</div> +<div class="summary"> +<ul class="blockList"> +<li class="blockList"> +<!-- =========== FIELD SUMMARY =========== --> +<ul class="blockList"> +<li class="blockList"><a name="field.summary"> +<!-- --> +</a> +<h3>Field Summary</h3> +<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Field Summary table, listing fields, and an explanation"> +<caption><span>Fields</span><span class="tabEnd"> </span></caption> +<tr> +<th class="colFirst" scope="col">Modifier and Type</th> +<th class="colLast" scope="col">Field and Description</th> +</tr> +<tr class="altColor"> +<td class="colFirst"><code>private static org.apache.logging.log4j.Logger</code></td> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../../de/griefed/ServerPackCreator/CurseForgeModpack/CreateModpack.html#appLogger">appLogger</a></span></code> </td> +</tr> +<tr class="rowColor"> +<td class="colFirst"><code>private static java.lang.String</code></td> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../../de/griefed/ServerPackCreator/CurseForgeModpack/CreateModpack.html#fileDiskName">fileDiskName</a></span></code> </td> +</tr> +<tr class="altColor"> +<td class="colFirst"><code>private static java.lang.String</code></td> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../../de/griefed/ServerPackCreator/CurseForgeModpack/CreateModpack.html#fileName">fileName</a></span></code> </td> +</tr> +<tr class="rowColor"> +<td class="colFirst"><code>private static java.lang.String</code></td> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../../de/griefed/ServerPackCreator/CurseForgeModpack/CreateModpack.html#projectName">projectName</a></span></code> </td> +</tr> +</table> +</li> +</ul> +<!-- ======== CONSTRUCTOR SUMMARY ======== --> +<ul class="blockList"> +<li class="blockList"><a name="constructor.summary"> +<!-- --> +</a> +<h3>Constructor Summary</h3> +<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Constructor Summary table, listing constructors, and an explanation"> +<caption><span>Constructors</span><span class="tabEnd"> </span></caption> +<tr> +<th class="colOne" scope="col">Constructor and Description</th> +</tr> +<tr class="altColor"> +<td class="colOne"><code><span class="memberNameLink"><a href="../../../../de/griefed/ServerPackCreator/CurseForgeModpack/CreateModpack.html#CreateModpack--">CreateModpack</a></span>()</code> </td> +</tr> +</table> +</li> +</ul> +<!-- ========== METHOD SUMMARY =========== --> +<ul class="blockList"> +<li class="blockList"><a name="method.summary"> +<!-- --> +</a> +<h3>Method Summary</h3> +<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation"> +<caption><span id="t0" class="activeTableTab"><span>All Methods</span><span class="tabEnd"> </span></span><span id="t1" class="tableTab"><span><a href="javascript:show(1);">Static Methods</a></span><span class="tabEnd"> </span></span><span id="t4" class="tableTab"><span><a href="javascript:show(8);">Concrete Methods</a></span><span class="tabEnd"> </span></span><span id="t6" class="tableTab"><span><a href="javascript:show(32);">Deprecated Methods</a></span><span class="tabEnd"> </span></span></caption> +<tr> +<th class="colFirst" scope="col">Modifier and Type</th> +<th class="colLast" scope="col">Method and Description</th> +</tr> +<tr id="i0" class="altColor"> +<td class="colFirst"><code>private static boolean</code></td> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../../de/griefed/ServerPackCreator/CurseForgeModpack/CreateModpack.html#checkCurseForgeDir-java.lang.String-">checkCurseForgeDir</a></span>(java.lang.String modpackDir)</code> +<div class="block">Check whether the folder for the specified CurseForge projectID/fileID exists.</div> +</td> +</tr> +<tr id="i1" class="rowColor"> +<td class="colFirst"><code>private static void</code></td> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../../de/griefed/ServerPackCreator/CurseForgeModpack/CreateModpack.html#copyOverride-java.lang.String-">copyOverride</a></span>(java.lang.String modpackDir)</code> +<div class="block">Copies all folders and the files therein to the parent modpack directory.</div> +</td> +</tr> +<tr id="i2" class="altColor"> +<td class="colFirst"><code>static boolean</code></td> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../../de/griefed/ServerPackCreator/CurseForgeModpack/CreateModpack.html#curseForgeModpack-java.lang.String-java.lang.Integer-java.lang.Integer-">curseForgeModpack</a></span>(java.lang.String modpackDir, + java.lang.Integer projectID, + java.lang.Integer fileID)</code> +<div class="block">Gets the names of the specified project and file and makes calls to methods which create the modpack so we can then create a server pack from it.</div> +</td> +</tr> +<tr id="i3" class="rowColor"> +<td class="colFirst"><code>private static void</code></td> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../../de/griefed/ServerPackCreator/CurseForgeModpack/CreateModpack.html#deleteDirs-java.lang.String-">deleteDirs</a></span>(java.lang.String modpackDir)</code> +<div class="block"><span class="deprecatedLabel">Deprecated.</span> </div> +</td> +</tr> +<tr id="i4" class="altColor"> +<td class="colFirst"><code>private static void</code></td> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../../de/griefed/ServerPackCreator/CurseForgeModpack/CreateModpack.html#downloadMods-java.lang.String-">downloadMods</a></span>(java.lang.String modpackDir)</code> +<div class="block">Downloads all mods specified in the modpack's manifest.json file.</div> +</td> +</tr> +<tr id="i5" class="rowColor"> +<td class="colFirst"><code>private static void</code></td> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../../de/griefed/ServerPackCreator/CurseForgeModpack/CreateModpack.html#initializeModpack-java.lang.String-java.lang.Integer-java.lang.Integer-">initializeModpack</a></span>(java.lang.String modpackDir, + java.lang.Integer projectID, + java.lang.Integer fileID)</code> +<div class="block">Downloads the specified file of the specified project to a directory which is the combination of the project name and file display name.</div> +</td> +</tr> +<tr id="i6" class="altColor"> +<td class="colFirst"><code>private static java.io.File</code></td> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../../de/griefed/ServerPackCreator/CurseForgeModpack/CreateModpack.html#newFile-java.io.File-java.util.zip.ZipEntry-">newFile</a></span>(java.io.File destinationDir, + java.util.zip.ZipEntry zipEntry)</code> +<div class="block">Helper-Method for unzipArchive.</div> +</td> +</tr> +<tr id="i7" class="rowColor"> +<td class="colFirst"><code>(package private) static java.lang.String</code></td> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../../de/griefed/ServerPackCreator/CurseForgeModpack/CreateModpack.html#setModloader-java.lang.String-">setModloader</a></span>(java.lang.String modloader)</code> +<div class="block">Standardize the specified modloader.</div> +</td> +</tr> +<tr id="i8" class="altColor"> +<td class="colFirst"><code>private static void</code></td> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../../de/griefed/ServerPackCreator/CurseForgeModpack/CreateModpack.html#unzipArchive-java.lang.String-java.lang.String-">unzipArchive</a></span>(java.lang.String zipFile, + java.lang.String modpackDir)</code> +<div class="block">With help from: https://www.baeldung.com/java-compress-and-uncompress + Unzips the downloaded modpack archive to a directory.</div> +</td> +</tr> +</table> +<ul class="blockList"> +<li class="blockList"><a name="methods.inherited.from.class.java.lang.Object"> +<!-- --> +</a> +<h3>Methods inherited from class java.lang.Object</h3> +<code>clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait</code></li> +</ul> +</li> +</ul> +</li> +</ul> +</div> +<div class="details"> +<ul class="blockList"> +<li class="blockList"> +<!-- ============ FIELD DETAIL =========== --> +<ul class="blockList"> +<li class="blockList"><a name="field.detail"> +<!-- --> +</a> +<h3>Field Detail</h3> +<a name="appLogger"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>appLogger</h4> +<pre>private static final org.apache.logging.log4j.Logger appLogger</pre> +</li> +</ul> +<a name="projectName"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>projectName</h4> +<pre>private static java.lang.String projectName</pre> +</li> +</ul> +<a name="fileName"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>fileName</h4> +<pre>private static java.lang.String fileName</pre> +</li> +</ul> +<a name="fileDiskName"> +<!-- --> +</a> +<ul class="blockListLast"> +<li class="blockList"> +<h4>fileDiskName</h4> +<pre>private static java.lang.String fileDiskName</pre> +</li> +</ul> +</li> +</ul> +<!-- ========= CONSTRUCTOR DETAIL ======== --> +<ul class="blockList"> +<li class="blockList"><a name="constructor.detail"> +<!-- --> +</a> +<h3>Constructor Detail</h3> +<a name="CreateModpack--"> +<!-- --> +</a> +<ul class="blockListLast"> +<li class="blockList"> +<h4>CreateModpack</h4> +<pre>public CreateModpack()</pre> +</li> +</ul> +</li> +</ul> +<!-- ============ METHOD DETAIL ========== --> +<ul class="blockList"> +<li class="blockList"><a name="method.detail"> +<!-- --> +</a> +<h3>Method Detail</h3> +<a name="curseForgeModpack-java.lang.String-java.lang.Integer-java.lang.Integer-"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>curseForgeModpack</h4> +<pre>public static boolean curseForgeModpack(java.lang.String modpackDir, + java.lang.Integer projectID, + java.lang.Integer fileID)</pre> +<div class="block">Gets the names of the specified project and file and makes calls to methods which create the modpack so we can then create a server pack from it.</div> +<dl> +<dt><span class="paramLabel">Parameters:</span></dt> +<dd><code>modpackDir</code> - String. Combination of project name and file name. Created during download procedure and later added to config file.</dd> +<dd><code>projectID</code> - Integer. The ID of the project. Used to gather information and to download the modpack.</dd> +<dd><code>fileID</code> - Integer. The ID of the file. Used to gather information and to download the modpack.</dd> +<dt><span class="returnLabel">Returns:</span></dt> +<dd>Boolean. Returns true if the modpack was freshly created.</dd> +</dl> +</li> +</ul> +<a name="initializeModpack-java.lang.String-java.lang.Integer-java.lang.Integer-"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>initializeModpack</h4> +<pre>private static void initializeModpack(java.lang.String modpackDir, + java.lang.Integer projectID, + java.lang.Integer fileID)</pre> +<div class="block">Downloads the specified file of the specified project to a directory which is the combination of the project name and file display name. Unzips the downloaded modpack archive, gathers and displays information about the specified project/file and makes calls to methods which further setup the modpack.</div> +<dl> +<dt><span class="paramLabel">Parameters:</span></dt> +<dd><code>modpackDir</code> - String. Combination of project name and file name. Created during download procedure and later added to config file.</dd> +<dd><code>projectID</code> - Integer. The ID of the project. Used to gather information and to download the modpack.</dd> +<dd><code>fileID</code> - Integer. The ID of the file. Used to gather information and to download the modpack.</dd> +</dl> +</li> +</ul> +<a name="downloadMods-java.lang.String-"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>downloadMods</h4> +<pre>private static void downloadMods(java.lang.String modpackDir)</pre> +<div class="block">Downloads all mods specified in the modpack's manifest.json file. If a download fails, one retry will be made, if said retry fails, too, then the download url will be sent to the log.</div> +<dl> +<dt><span class="paramLabel">Parameters:</span></dt> +<dd><code>modpackDir</code> - String. All mods are downloaded to a child directory 'mods'</dd> +</dl> +</li> +</ul> +<a name="copyOverride-java.lang.String-"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>copyOverride</h4> +<pre>private static void copyOverride(java.lang.String modpackDir)</pre> +<div class="block">Copies all folders and the files therein to the parent modpack directory.</div> +<dl> +<dt><span class="paramLabel">Parameters:</span></dt> +<dd><code>modpackDir</code> - String. The overrides directory resides in this directory. All folders and files within overrides are copied here.</dd> +</dl> +</li> +</ul> +<a name="checkCurseForgeDir-java.lang.String-"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>checkCurseForgeDir</h4> +<pre>private static boolean checkCurseForgeDir(java.lang.String modpackDir)</pre> +<div class="block">Check whether the folder for the specified CurseForge projectID/fileID exists.</div> +<dl> +<dt><span class="paramLabel">Parameters:</span></dt> +<dd><code>modpackDir</code> - String. The path to the modpack directory, a combination of project name and file display name.</dd> +<dt><span class="returnLabel">Returns:</span></dt> +<dd>Boolean. Returns true if the directory exists. False if not.</dd> +</dl> +</li> +</ul> +<a name="unzipArchive-java.lang.String-java.lang.String-"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>unzipArchive</h4> +<pre>private static void unzipArchive(java.lang.String zipFile, + java.lang.String modpackDir)</pre> +<div class="block">With help from: https://www.baeldung.com/java-compress-and-uncompress + Unzips the downloaded modpack archive to a directory.</div> +<dl> +<dt><span class="paramLabel">Parameters:</span></dt> +<dd><code>zipFile</code> - String. The name of the zipfile to extract.</dd> +<dd><code>modpackDir</code> - The directory where the archive resides in and will be extracted to.</dd> +</dl> +</li> +</ul> +<a name="newFile-java.io.File-java.util.zip.ZipEntry-"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>newFile</h4> +<pre>private static java.io.File newFile(java.io.File destinationDir, + java.util.zip.ZipEntry zipEntry)</pre> +<div class="block">Helper-Method for unzipArchive. With help from: https://www.baeldung.com/java-compress-and-uncompress</div> +<dl> +<dt><span class="paramLabel">Parameters:</span></dt> +<dd><code>destinationDir</code> - Check whether the file is outside of the directory it is supposed to be in.</dd> +<dd><code>zipEntry</code> - Zip entry with which to check for location.</dd> +<dt><span class="returnLabel">Returns:</span></dt> +<dd>Returns the correct destination for the new file.</dd> +</dl> +</li> +</ul> +<a name="setModloader-java.lang.String-"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>setModloader</h4> +<pre>static java.lang.String setModloader(java.lang.String modloader)</pre> +<div class="block">Standardize the specified modloader.</div> +<dl> +<dt><span class="paramLabel">Parameters:</span></dt> +<dd><code>modloader</code> - String. If any case of Forge or Fabric was specified, return "Forge" or "Fabric", so users can enter "forge" or "fabric" or any combination of upper- and lowercase letters..</dd> +<dt><span class="returnLabel">Returns:</span></dt> +<dd>String. Returns a standardized String of the specified modloader.</dd> +</dl> +</li> +</ul> +<a name="deleteDirs-java.lang.String-"> +<!-- --> +</a> +<ul class="blockListLast"> +<li class="blockList"> +<h4>deleteDirs</h4> +<pre>@Deprecated +private static void deleteDirs(java.lang.String modpackDir)</pre> +<div class="block"><span class="deprecatedLabel">Deprecated.</span> </div> +<div class="block">Deletes all directories in the modpack directory as specified in an internal Array. Currently not used anywhere.</div> +<dl> +<dt><span class="paramLabel">Parameters:</span></dt> +<dd><code>modpackDir</code> - String. The directory in which to deletes should be made.</dd> +</dl> +</li> +</ul> +</li> +</ul> +</li> +</ul> +</div> +</div> +<!-- ========= END OF CLASS DATA ========= --> +<!-- ======= START OF BOTTOM NAVBAR ====== --> +<div class="bottomNav"><a name="navbar.bottom"> +<!-- --> +</a> +<div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div> +<a name="navbar.bottom.firstrow"> +<!-- --> +</a> +<ul class="navList" title="Navigation"> +<li><a href="../../../../overview-summary.html">Overview</a></li> +<li><a href="package-summary.html">Package</a></li> +<li class="navBarCell1Rev">Class</li> +<li><a href="package-tree.html">Tree</a></li> +<li><a href="../../../../deprecated-list.html">Deprecated</a></li> +<li><a href="../../../../index-all.html">Index</a></li> +<li><a href="../../../../help-doc.html">Help</a></li> +</ul> +</div> +<div class="subNav"> +<ul class="navList"> +<li>Prev Class</li> +<li><a href="../../../../de/griefed/ServerPackCreator/CurseForgeModpack/Files.html" title="class in de.griefed.ServerPackCreator.CurseForgeModpack"><span class="typeNameLink">Next Class</span></a></li> +</ul> +<ul class="navList"> +<li><a href="../../../../index.html?de/griefed/ServerPackCreator/CurseForgeModpack/CreateModpack.html" target="_top">Frames</a></li> +<li><a href="CreateModpack.html" target="_top">No Frames</a></li> +</ul> +<ul class="navList" id="allclasses_navbar_bottom"> +<li><a href="../../../../allclasses-noframe.html">All Classes</a></li> +</ul> +<div> +<script type="text/javascript"><!-- + allClassesLink = document.getElementById("allclasses_navbar_bottom"); + if(window==top) { + allClassesLink.style.display = "block"; + } + else { + allClassesLink.style.display = "none"; + } + //--> +</script> +</div> +<div> +<ul class="subNavList"> +<li>Summary: </li> +<li>Nested | </li> +<li><a href="#field.summary">Field</a> | </li> +<li><a href="#constructor.summary">Constr</a> | </li> +<li><a href="#method.summary">Method</a></li> +</ul> +<ul class="subNavList"> +<li>Detail: </li> +<li><a href="#field.detail">Field</a> | </li> +<li><a href="#constructor.detail">Constr</a> | </li> +<li><a href="#method.detail">Method</a></li> +</ul> +</div> +<a name="skip.navbar.bottom"> +<!-- --> +</a></div> +<!-- ======== END OF BOTTOM NAVBAR ======= --> +</body> +</html> diff --git a/docs/docs/javadoc/de/griefed/ServerPackCreator/CurseForgeModpack/Files.html b/docs/docs/javadoc/de/griefed/ServerPackCreator/CurseForgeModpack/Files.html new file mode 100644 index 000000000..45eb10201 --- /dev/null +++ b/docs/docs/javadoc/de/griefed/ServerPackCreator/CurseForgeModpack/Files.html @@ -0,0 +1,373 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> +<!-- NewPage --> +<html lang="de"> +<head> +<!-- Generated by javadoc --> +<title>Files (ServerPackCreator API)</title> +<link rel="stylesheet" type="text/css" href="../../../../stylesheet.css" title="Style"> +<script type="text/javascript" src="../../../../script.js"></script> +</head> +<body> +<script type="text/javascript"><!-- + try { + if (location.href.indexOf('is-external=true') == -1) { + parent.document.title="Files (ServerPackCreator API)"; + } + } + catch(err) { + } +//--> +var methods = {"i0":10,"i1":10,"i2":10,"i3":10,"i4":10}; +var tabs = {65535:["t0","All Methods"],2:["t2","Instance Methods"],8:["t4","Concrete Methods"]}; +var altColor = "altColor"; +var rowColor = "rowColor"; +var tableTab = "tableTab"; +var activeTableTab = "activeTableTab"; +</script> +<noscript> +<div>JavaScript is disabled on your browser.</div> +</noscript> +<!-- ========= START OF TOP NAVBAR ======= --> +<div class="topNav"><a name="navbar.top"> +<!-- --> +</a> +<div class="skipNav"><a href="#skip.navbar.top" title="Skip navigation links">Skip navigation links</a></div> +<a name="navbar.top.firstrow"> +<!-- --> +</a> +<ul class="navList" title="Navigation"> +<li><a href="../../../../overview-summary.html">Overview</a></li> +<li><a href="package-summary.html">Package</a></li> +<li class="navBarCell1Rev">Class</li> +<li><a href="package-tree.html">Tree</a></li> +<li><a href="../../../../deprecated-list.html">Deprecated</a></li> +<li><a href="../../../../index-all.html">Index</a></li> +<li><a href="../../../../help-doc.html">Help</a></li> +</ul> +</div> +<div class="subNav"> +<ul class="navList"> +<li><a href="../../../../de/griefed/ServerPackCreator/CurseForgeModpack/CreateModpack.html" title="class in de.griefed.ServerPackCreator.CurseForgeModpack"><span class="typeNameLink">Prev Class</span></a></li> +<li><a href="../../../../de/griefed/ServerPackCreator/CurseForgeModpack/Minecraft.html" title="class in de.griefed.ServerPackCreator.CurseForgeModpack"><span class="typeNameLink">Next Class</span></a></li> +</ul> +<ul class="navList"> +<li><a href="../../../../index.html?de/griefed/ServerPackCreator/CurseForgeModpack/Files.html" target="_top">Frames</a></li> +<li><a href="Files.html" target="_top">No Frames</a></li> +</ul> +<ul class="navList" id="allclasses_navbar_top"> +<li><a href="../../../../allclasses-noframe.html">All Classes</a></li> +</ul> +<div> +<script type="text/javascript"><!-- + allClassesLink = document.getElementById("allclasses_navbar_top"); + if(window==top) { + allClassesLink.style.display = "block"; + } + else { + allClassesLink.style.display = "none"; + } + //--> +</script> +</div> +<div> +<ul class="subNavList"> +<li>Summary: </li> +<li>Nested | </li> +<li><a href="#field.summary">Field</a> | </li> +<li><a href="#constructor.summary">Constr</a> | </li> +<li><a href="#method.summary">Method</a></li> +</ul> +<ul class="subNavList"> +<li>Detail: </li> +<li><a href="#field.detail">Field</a> | </li> +<li><a href="#constructor.detail">Constr</a> | </li> +<li><a href="#method.detail">Method</a></li> +</ul> +</div> +<a name="skip.navbar.top"> +<!-- --> +</a></div> +<!-- ========= END OF TOP NAVBAR ========= --> +<!-- ======== START OF CLASS DATA ======== --> +<div class="header"> +<div class="subTitle">de.griefed.ServerPackCreator.CurseForgeModpack</div> +<h2 title="Class Files" class="title">Class Files</h2> +</div> +<div class="contentContainer"> +<ul class="inheritance"> +<li>java.lang.Object</li> +<li> +<ul class="inheritance"> +<li>de.griefed.ServerPackCreator.CurseForgeModpack.Files</li> +</ul> +</li> +</ul> +<div class="description"> +<ul class="blockList"> +<li class="blockList"> +<hr> +<br> +<pre>public class <span class="typeNameLabel">Files</span> +extends java.lang.Object</pre> +</li> +</ul> +</div> +<div class="summary"> +<ul class="blockList"> +<li class="blockList"> +<!-- =========== FIELD SUMMARY =========== --> +<ul class="blockList"> +<li class="blockList"><a name="field.summary"> +<!-- --> +</a> +<h3>Field Summary</h3> +<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Field Summary table, listing fields, and an explanation"> +<caption><span>Fields</span><span class="tabEnd"> </span></caption> +<tr> +<th class="colFirst" scope="col">Modifier and Type</th> +<th class="colLast" scope="col">Field and Description</th> +</tr> +<tr class="altColor"> +<td class="colFirst"><code>private java.lang.String</code></td> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../../de/griefed/ServerPackCreator/CurseForgeModpack/Files.html#fileID">fileID</a></span></code> </td> +</tr> +<tr class="rowColor"> +<td class="colFirst"><code>private java.lang.String</code></td> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../../de/griefed/ServerPackCreator/CurseForgeModpack/Files.html#projectID">projectID</a></span></code> </td> +</tr> +</table> +</li> +</ul> +<!-- ======== CONSTRUCTOR SUMMARY ======== --> +<ul class="blockList"> +<li class="blockList"><a name="constructor.summary"> +<!-- --> +</a> +<h3>Constructor Summary</h3> +<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Constructor Summary table, listing constructors, and an explanation"> +<caption><span>Constructors</span><span class="tabEnd"> </span></caption> +<tr> +<th class="colOne" scope="col">Constructor and Description</th> +</tr> +<tr class="altColor"> +<td class="colOne"><code><span class="memberNameLink"><a href="../../../../de/griefed/ServerPackCreator/CurseForgeModpack/Files.html#Files--">Files</a></span>()</code> </td> +</tr> +</table> +</li> +</ul> +<!-- ========== METHOD SUMMARY =========== --> +<ul class="blockList"> +<li class="blockList"><a name="method.summary"> +<!-- --> +</a> +<h3>Method Summary</h3> +<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation"> +<caption><span id="t0" class="activeTableTab"><span>All Methods</span><span class="tabEnd"> </span></span><span id="t2" class="tableTab"><span><a href="javascript:show(2);">Instance Methods</a></span><span class="tabEnd"> </span></span><span id="t4" class="tableTab"><span><a href="javascript:show(8);">Concrete Methods</a></span><span class="tabEnd"> </span></span></caption> +<tr> +<th class="colFirst" scope="col">Modifier and Type</th> +<th class="colLast" scope="col">Method and Description</th> +</tr> +<tr id="i0" class="altColor"> +<td class="colFirst"><code>java.lang.String</code></td> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../../de/griefed/ServerPackCreator/CurseForgeModpack/Files.html#getFileID--">getFileID</a></span>()</code> </td> +</tr> +<tr id="i1" class="rowColor"> +<td class="colFirst"><code>java.lang.String</code></td> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../../de/griefed/ServerPackCreator/CurseForgeModpack/Files.html#getProjectID--">getProjectID</a></span>()</code> </td> +</tr> +<tr id="i2" class="altColor"> +<td class="colFirst"><code>void</code></td> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../../de/griefed/ServerPackCreator/CurseForgeModpack/Files.html#setFileID-java.lang.String-">setFileID</a></span>(java.lang.String fileID)</code> </td> +</tr> +<tr id="i3" class="rowColor"> +<td class="colFirst"><code>void</code></td> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../../de/griefed/ServerPackCreator/CurseForgeModpack/Files.html#setProjectID-java.lang.String-">setProjectID</a></span>(java.lang.String projectID)</code> </td> +</tr> +<tr id="i4" class="altColor"> +<td class="colFirst"><code>java.lang.String</code></td> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../../de/griefed/ServerPackCreator/CurseForgeModpack/Files.html#toString--">toString</a></span>()</code> </td> +</tr> +</table> +<ul class="blockList"> +<li class="blockList"><a name="methods.inherited.from.class.java.lang.Object"> +<!-- --> +</a> +<h3>Methods inherited from class java.lang.Object</h3> +<code>clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait</code></li> +</ul> +</li> +</ul> +</li> +</ul> +</div> +<div class="details"> +<ul class="blockList"> +<li class="blockList"> +<!-- ============ FIELD DETAIL =========== --> +<ul class="blockList"> +<li class="blockList"><a name="field.detail"> +<!-- --> +</a> +<h3>Field Detail</h3> +<a name="projectID"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>projectID</h4> +<pre>private java.lang.String projectID</pre> +</li> +</ul> +<a name="fileID"> +<!-- --> +</a> +<ul class="blockListLast"> +<li class="blockList"> +<h4>fileID</h4> +<pre>private java.lang.String fileID</pre> +</li> +</ul> +</li> +</ul> +<!-- ========= CONSTRUCTOR DETAIL ======== --> +<ul class="blockList"> +<li class="blockList"><a name="constructor.detail"> +<!-- --> +</a> +<h3>Constructor Detail</h3> +<a name="Files--"> +<!-- --> +</a> +<ul class="blockListLast"> +<li class="blockList"> +<h4>Files</h4> +<pre>public Files()</pre> +</li> +</ul> +</li> +</ul> +<!-- ============ METHOD DETAIL ========== --> +<ul class="blockList"> +<li class="blockList"><a name="method.detail"> +<!-- --> +</a> +<h3>Method Detail</h3> +<a name="getProjectID--"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>getProjectID</h4> +<pre>public java.lang.String getProjectID()</pre> +</li> +</ul> +<a name="setProjectID-java.lang.String-"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>setProjectID</h4> +<pre>public void setProjectID(java.lang.String projectID)</pre> +</li> +</ul> +<a name="getFileID--"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>getFileID</h4> +<pre>public java.lang.String getFileID()</pre> +</li> +</ul> +<a name="setFileID-java.lang.String-"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>setFileID</h4> +<pre>public void setFileID(java.lang.String fileID)</pre> +</li> +</ul> +<a name="toString--"> +<!-- --> +</a> +<ul class="blockListLast"> +<li class="blockList"> +<h4>toString</h4> +<pre>public java.lang.String toString()</pre> +<dl> +<dt><span class="overrideSpecifyLabel">Overrides:</span></dt> +<dd><code>toString</code> in class <code>java.lang.Object</code></dd> +</dl> +</li> +</ul> +</li> +</ul> +</li> +</ul> +</div> +</div> +<!-- ========= END OF CLASS DATA ========= --> +<!-- ======= START OF BOTTOM NAVBAR ====== --> +<div class="bottomNav"><a name="navbar.bottom"> +<!-- --> +</a> +<div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div> +<a name="navbar.bottom.firstrow"> +<!-- --> +</a> +<ul class="navList" title="Navigation"> +<li><a href="../../../../overview-summary.html">Overview</a></li> +<li><a href="package-summary.html">Package</a></li> +<li class="navBarCell1Rev">Class</li> +<li><a href="package-tree.html">Tree</a></li> +<li><a href="../../../../deprecated-list.html">Deprecated</a></li> +<li><a href="../../../../index-all.html">Index</a></li> +<li><a href="../../../../help-doc.html">Help</a></li> +</ul> +</div> +<div class="subNav"> +<ul class="navList"> +<li><a href="../../../../de/griefed/ServerPackCreator/CurseForgeModpack/CreateModpack.html" title="class in de.griefed.ServerPackCreator.CurseForgeModpack"><span class="typeNameLink">Prev Class</span></a></li> +<li><a href="../../../../de/griefed/ServerPackCreator/CurseForgeModpack/Minecraft.html" title="class in de.griefed.ServerPackCreator.CurseForgeModpack"><span class="typeNameLink">Next Class</span></a></li> +</ul> +<ul class="navList"> +<li><a href="../../../../index.html?de/griefed/ServerPackCreator/CurseForgeModpack/Files.html" target="_top">Frames</a></li> +<li><a href="Files.html" target="_top">No Frames</a></li> +</ul> +<ul class="navList" id="allclasses_navbar_bottom"> +<li><a href="../../../../allclasses-noframe.html">All Classes</a></li> +</ul> +<div> +<script type="text/javascript"><!-- + allClassesLink = document.getElementById("allclasses_navbar_bottom"); + if(window==top) { + allClassesLink.style.display = "block"; + } + else { + allClassesLink.style.display = "none"; + } + //--> +</script> +</div> +<div> +<ul class="subNavList"> +<li>Summary: </li> +<li>Nested | </li> +<li><a href="#field.summary">Field</a> | </li> +<li><a href="#constructor.summary">Constr</a> | </li> +<li><a href="#method.summary">Method</a></li> +</ul> +<ul class="subNavList"> +<li>Detail: </li> +<li><a href="#field.detail">Field</a> | </li> +<li><a href="#constructor.detail">Constr</a> | </li> +<li><a href="#method.detail">Method</a></li> +</ul> +</div> +<a name="skip.navbar.bottom"> +<!-- --> +</a></div> +<!-- ======== END OF BOTTOM NAVBAR ======= --> +</body> +</html> diff --git a/docs/docs/javadoc/de/griefed/ServerPackCreator/CurseForgeModpack/Minecraft.html b/docs/docs/javadoc/de/griefed/ServerPackCreator/CurseForgeModpack/Minecraft.html new file mode 100644 index 000000000..64a4d1b85 --- /dev/null +++ b/docs/docs/javadoc/de/griefed/ServerPackCreator/CurseForgeModpack/Minecraft.html @@ -0,0 +1,373 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> +<!-- NewPage --> +<html lang="de"> +<head> +<!-- Generated by javadoc --> +<title>Minecraft (ServerPackCreator API)</title> +<link rel="stylesheet" type="text/css" href="../../../../stylesheet.css" title="Style"> +<script type="text/javascript" src="../../../../script.js"></script> +</head> +<body> +<script type="text/javascript"><!-- + try { + if (location.href.indexOf('is-external=true') == -1) { + parent.document.title="Minecraft (ServerPackCreator API)"; + } + } + catch(err) { + } +//--> +var methods = {"i0":10,"i1":10,"i2":10,"i3":10,"i4":10}; +var tabs = {65535:["t0","All Methods"],2:["t2","Instance Methods"],8:["t4","Concrete Methods"]}; +var altColor = "altColor"; +var rowColor = "rowColor"; +var tableTab = "tableTab"; +var activeTableTab = "activeTableTab"; +</script> +<noscript> +<div>JavaScript is disabled on your browser.</div> +</noscript> +<!-- ========= START OF TOP NAVBAR ======= --> +<div class="topNav"><a name="navbar.top"> +<!-- --> +</a> +<div class="skipNav"><a href="#skip.navbar.top" title="Skip navigation links">Skip navigation links</a></div> +<a name="navbar.top.firstrow"> +<!-- --> +</a> +<ul class="navList" title="Navigation"> +<li><a href="../../../../overview-summary.html">Overview</a></li> +<li><a href="package-summary.html">Package</a></li> +<li class="navBarCell1Rev">Class</li> +<li><a href="package-tree.html">Tree</a></li> +<li><a href="../../../../deprecated-list.html">Deprecated</a></li> +<li><a href="../../../../index-all.html">Index</a></li> +<li><a href="../../../../help-doc.html">Help</a></li> +</ul> +</div> +<div class="subNav"> +<ul class="navList"> +<li><a href="../../../../de/griefed/ServerPackCreator/CurseForgeModpack/Files.html" title="class in de.griefed.ServerPackCreator.CurseForgeModpack"><span class="typeNameLink">Prev Class</span></a></li> +<li><a href="../../../../de/griefed/ServerPackCreator/CurseForgeModpack/ModLoaders.html" title="class in de.griefed.ServerPackCreator.CurseForgeModpack"><span class="typeNameLink">Next Class</span></a></li> +</ul> +<ul class="navList"> +<li><a href="../../../../index.html?de/griefed/ServerPackCreator/CurseForgeModpack/Minecraft.html" target="_top">Frames</a></li> +<li><a href="Minecraft.html" target="_top">No Frames</a></li> +</ul> +<ul class="navList" id="allclasses_navbar_top"> +<li><a href="../../../../allclasses-noframe.html">All Classes</a></li> +</ul> +<div> +<script type="text/javascript"><!-- + allClassesLink = document.getElementById("allclasses_navbar_top"); + if(window==top) { + allClassesLink.style.display = "block"; + } + else { + allClassesLink.style.display = "none"; + } + //--> +</script> +</div> +<div> +<ul class="subNavList"> +<li>Summary: </li> +<li>Nested | </li> +<li><a href="#field.summary">Field</a> | </li> +<li><a href="#constructor.summary">Constr</a> | </li> +<li><a href="#method.summary">Method</a></li> +</ul> +<ul class="subNavList"> +<li>Detail: </li> +<li><a href="#field.detail">Field</a> | </li> +<li><a href="#constructor.detail">Constr</a> | </li> +<li><a href="#method.detail">Method</a></li> +</ul> +</div> +<a name="skip.navbar.top"> +<!-- --> +</a></div> +<!-- ========= END OF TOP NAVBAR ========= --> +<!-- ======== START OF CLASS DATA ======== --> +<div class="header"> +<div class="subTitle">de.griefed.ServerPackCreator.CurseForgeModpack</div> +<h2 title="Class Minecraft" class="title">Class Minecraft</h2> +</div> +<div class="contentContainer"> +<ul class="inheritance"> +<li>java.lang.Object</li> +<li> +<ul class="inheritance"> +<li>de.griefed.ServerPackCreator.CurseForgeModpack.Minecraft</li> +</ul> +</li> +</ul> +<div class="description"> +<ul class="blockList"> +<li class="blockList"> +<hr> +<br> +<pre>public class <span class="typeNameLabel">Minecraft</span> +extends java.lang.Object</pre> +</li> +</ul> +</div> +<div class="summary"> +<ul class="blockList"> +<li class="blockList"> +<!-- =========== FIELD SUMMARY =========== --> +<ul class="blockList"> +<li class="blockList"><a name="field.summary"> +<!-- --> +</a> +<h3>Field Summary</h3> +<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Field Summary table, listing fields, and an explanation"> +<caption><span>Fields</span><span class="tabEnd"> </span></caption> +<tr> +<th class="colFirst" scope="col">Modifier and Type</th> +<th class="colLast" scope="col">Field and Description</th> +</tr> +<tr class="altColor"> +<td class="colFirst"><code>private java.util.List<<a href="../../../../de/griefed/ServerPackCreator/CurseForgeModpack/ModLoaders.html" title="class in de.griefed.ServerPackCreator.CurseForgeModpack">ModLoaders</a>></code></td> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../../de/griefed/ServerPackCreator/CurseForgeModpack/Minecraft.html#modLoaders">modLoaders</a></span></code> </td> +</tr> +<tr class="rowColor"> +<td class="colFirst"><code>private java.lang.String</code></td> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../../de/griefed/ServerPackCreator/CurseForgeModpack/Minecraft.html#version">version</a></span></code> </td> +</tr> +</table> +</li> +</ul> +<!-- ======== CONSTRUCTOR SUMMARY ======== --> +<ul class="blockList"> +<li class="blockList"><a name="constructor.summary"> +<!-- --> +</a> +<h3>Constructor Summary</h3> +<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Constructor Summary table, listing constructors, and an explanation"> +<caption><span>Constructors</span><span class="tabEnd"> </span></caption> +<tr> +<th class="colOne" scope="col">Constructor and Description</th> +</tr> +<tr class="altColor"> +<td class="colOne"><code><span class="memberNameLink"><a href="../../../../de/griefed/ServerPackCreator/CurseForgeModpack/Minecraft.html#Minecraft--">Minecraft</a></span>()</code> </td> +</tr> +</table> +</li> +</ul> +<!-- ========== METHOD SUMMARY =========== --> +<ul class="blockList"> +<li class="blockList"><a name="method.summary"> +<!-- --> +</a> +<h3>Method Summary</h3> +<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation"> +<caption><span id="t0" class="activeTableTab"><span>All Methods</span><span class="tabEnd"> </span></span><span id="t2" class="tableTab"><span><a href="javascript:show(2);">Instance Methods</a></span><span class="tabEnd"> </span></span><span id="t4" class="tableTab"><span><a href="javascript:show(8);">Concrete Methods</a></span><span class="tabEnd"> </span></span></caption> +<tr> +<th class="colFirst" scope="col">Modifier and Type</th> +<th class="colLast" scope="col">Method and Description</th> +</tr> +<tr id="i0" class="altColor"> +<td class="colFirst"><code>java.util.List<<a href="../../../../de/griefed/ServerPackCreator/CurseForgeModpack/ModLoaders.html" title="class in de.griefed.ServerPackCreator.CurseForgeModpack">ModLoaders</a>></code></td> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../../de/griefed/ServerPackCreator/CurseForgeModpack/Minecraft.html#getModLoaders--">getModLoaders</a></span>()</code> </td> +</tr> +<tr id="i1" class="rowColor"> +<td class="colFirst"><code>java.lang.String</code></td> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../../de/griefed/ServerPackCreator/CurseForgeModpack/Minecraft.html#getVersion--">getVersion</a></span>()</code> </td> +</tr> +<tr id="i2" class="altColor"> +<td class="colFirst"><code>void</code></td> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../../de/griefed/ServerPackCreator/CurseForgeModpack/Minecraft.html#setModLoaders-java.util.List-">setModLoaders</a></span>(java.util.List<<a href="../../../../de/griefed/ServerPackCreator/CurseForgeModpack/ModLoaders.html" title="class in de.griefed.ServerPackCreator.CurseForgeModpack">ModLoaders</a>> modLoaders)</code> </td> +</tr> +<tr id="i3" class="rowColor"> +<td class="colFirst"><code>void</code></td> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../../de/griefed/ServerPackCreator/CurseForgeModpack/Minecraft.html#setVersion-java.lang.String-">setVersion</a></span>(java.lang.String version)</code> </td> +</tr> +<tr id="i4" class="altColor"> +<td class="colFirst"><code>java.lang.String</code></td> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../../de/griefed/ServerPackCreator/CurseForgeModpack/Minecraft.html#toString--">toString</a></span>()</code> </td> +</tr> +</table> +<ul class="blockList"> +<li class="blockList"><a name="methods.inherited.from.class.java.lang.Object"> +<!-- --> +</a> +<h3>Methods inherited from class java.lang.Object</h3> +<code>clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait</code></li> +</ul> +</li> +</ul> +</li> +</ul> +</div> +<div class="details"> +<ul class="blockList"> +<li class="blockList"> +<!-- ============ FIELD DETAIL =========== --> +<ul class="blockList"> +<li class="blockList"><a name="field.detail"> +<!-- --> +</a> +<h3>Field Detail</h3> +<a name="version"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>version</h4> +<pre>private java.lang.String version</pre> +</li> +</ul> +<a name="modLoaders"> +<!-- --> +</a> +<ul class="blockListLast"> +<li class="blockList"> +<h4>modLoaders</h4> +<pre>private java.util.List<<a href="../../../../de/griefed/ServerPackCreator/CurseForgeModpack/ModLoaders.html" title="class in de.griefed.ServerPackCreator.CurseForgeModpack">ModLoaders</a>> modLoaders</pre> +</li> +</ul> +</li> +</ul> +<!-- ========= CONSTRUCTOR DETAIL ======== --> +<ul class="blockList"> +<li class="blockList"><a name="constructor.detail"> +<!-- --> +</a> +<h3>Constructor Detail</h3> +<a name="Minecraft--"> +<!-- --> +</a> +<ul class="blockListLast"> +<li class="blockList"> +<h4>Minecraft</h4> +<pre>public Minecraft()</pre> +</li> +</ul> +</li> +</ul> +<!-- ============ METHOD DETAIL ========== --> +<ul class="blockList"> +<li class="blockList"><a name="method.detail"> +<!-- --> +</a> +<h3>Method Detail</h3> +<a name="getVersion--"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>getVersion</h4> +<pre>public java.lang.String getVersion()</pre> +</li> +</ul> +<a name="setVersion-java.lang.String-"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>setVersion</h4> +<pre>public void setVersion(java.lang.String version)</pre> +</li> +</ul> +<a name="getModLoaders--"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>getModLoaders</h4> +<pre>public java.util.List<<a href="../../../../de/griefed/ServerPackCreator/CurseForgeModpack/ModLoaders.html" title="class in de.griefed.ServerPackCreator.CurseForgeModpack">ModLoaders</a>> getModLoaders()</pre> +</li> +</ul> +<a name="setModLoaders-java.util.List-"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>setModLoaders</h4> +<pre>public void setModLoaders(java.util.List<<a href="../../../../de/griefed/ServerPackCreator/CurseForgeModpack/ModLoaders.html" title="class in de.griefed.ServerPackCreator.CurseForgeModpack">ModLoaders</a>> modLoaders)</pre> +</li> +</ul> +<a name="toString--"> +<!-- --> +</a> +<ul class="blockListLast"> +<li class="blockList"> +<h4>toString</h4> +<pre>public java.lang.String toString()</pre> +<dl> +<dt><span class="overrideSpecifyLabel">Overrides:</span></dt> +<dd><code>toString</code> in class <code>java.lang.Object</code></dd> +</dl> +</li> +</ul> +</li> +</ul> +</li> +</ul> +</div> +</div> +<!-- ========= END OF CLASS DATA ========= --> +<!-- ======= START OF BOTTOM NAVBAR ====== --> +<div class="bottomNav"><a name="navbar.bottom"> +<!-- --> +</a> +<div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div> +<a name="navbar.bottom.firstrow"> +<!-- --> +</a> +<ul class="navList" title="Navigation"> +<li><a href="../../../../overview-summary.html">Overview</a></li> +<li><a href="package-summary.html">Package</a></li> +<li class="navBarCell1Rev">Class</li> +<li><a href="package-tree.html">Tree</a></li> +<li><a href="../../../../deprecated-list.html">Deprecated</a></li> +<li><a href="../../../../index-all.html">Index</a></li> +<li><a href="../../../../help-doc.html">Help</a></li> +</ul> +</div> +<div class="subNav"> +<ul class="navList"> +<li><a href="../../../../de/griefed/ServerPackCreator/CurseForgeModpack/Files.html" title="class in de.griefed.ServerPackCreator.CurseForgeModpack"><span class="typeNameLink">Prev Class</span></a></li> +<li><a href="../../../../de/griefed/ServerPackCreator/CurseForgeModpack/ModLoaders.html" title="class in de.griefed.ServerPackCreator.CurseForgeModpack"><span class="typeNameLink">Next Class</span></a></li> +</ul> +<ul class="navList"> +<li><a href="../../../../index.html?de/griefed/ServerPackCreator/CurseForgeModpack/Minecraft.html" target="_top">Frames</a></li> +<li><a href="Minecraft.html" target="_top">No Frames</a></li> +</ul> +<ul class="navList" id="allclasses_navbar_bottom"> +<li><a href="../../../../allclasses-noframe.html">All Classes</a></li> +</ul> +<div> +<script type="text/javascript"><!-- + allClassesLink = document.getElementById("allclasses_navbar_bottom"); + if(window==top) { + allClassesLink.style.display = "block"; + } + else { + allClassesLink.style.display = "none"; + } + //--> +</script> +</div> +<div> +<ul class="subNavList"> +<li>Summary: </li> +<li>Nested | </li> +<li><a href="#field.summary">Field</a> | </li> +<li><a href="#constructor.summary">Constr</a> | </li> +<li><a href="#method.summary">Method</a></li> +</ul> +<ul class="subNavList"> +<li>Detail: </li> +<li><a href="#field.detail">Field</a> | </li> +<li><a href="#constructor.detail">Constr</a> | </li> +<li><a href="#method.detail">Method</a></li> +</ul> +</div> +<a name="skip.navbar.bottom"> +<!-- --> +</a></div> +<!-- ======== END OF BOTTOM NAVBAR ======= --> +</body> +</html> diff --git a/docs/docs/javadoc/de/griefed/ServerPackCreator/CurseForgeModpack/ModLoaders.html b/docs/docs/javadoc/de/griefed/ServerPackCreator/CurseForgeModpack/ModLoaders.html new file mode 100644 index 000000000..0239d077d --- /dev/null +++ b/docs/docs/javadoc/de/griefed/ServerPackCreator/CurseForgeModpack/ModLoaders.html @@ -0,0 +1,334 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> +<!-- NewPage --> +<html lang="de"> +<head> +<!-- Generated by javadoc --> +<title>ModLoaders (ServerPackCreator API)</title> +<link rel="stylesheet" type="text/css" href="../../../../stylesheet.css" title="Style"> +<script type="text/javascript" src="../../../../script.js"></script> +</head> +<body> +<script type="text/javascript"><!-- + try { + if (location.href.indexOf('is-external=true') == -1) { + parent.document.title="ModLoaders (ServerPackCreator API)"; + } + } + catch(err) { + } +//--> +var methods = {"i0":10,"i1":10,"i2":10}; +var tabs = {65535:["t0","All Methods"],2:["t2","Instance Methods"],8:["t4","Concrete Methods"]}; +var altColor = "altColor"; +var rowColor = "rowColor"; +var tableTab = "tableTab"; +var activeTableTab = "activeTableTab"; +</script> +<noscript> +<div>JavaScript is disabled on your browser.</div> +</noscript> +<!-- ========= START OF TOP NAVBAR ======= --> +<div class="topNav"><a name="navbar.top"> +<!-- --> +</a> +<div class="skipNav"><a href="#skip.navbar.top" title="Skip navigation links">Skip navigation links</a></div> +<a name="navbar.top.firstrow"> +<!-- --> +</a> +<ul class="navList" title="Navigation"> +<li><a href="../../../../overview-summary.html">Overview</a></li> +<li><a href="package-summary.html">Package</a></li> +<li class="navBarCell1Rev">Class</li> +<li><a href="package-tree.html">Tree</a></li> +<li><a href="../../../../deprecated-list.html">Deprecated</a></li> +<li><a href="../../../../index-all.html">Index</a></li> +<li><a href="../../../../help-doc.html">Help</a></li> +</ul> +</div> +<div class="subNav"> +<ul class="navList"> +<li><a href="../../../../de/griefed/ServerPackCreator/CurseForgeModpack/Minecraft.html" title="class in de.griefed.ServerPackCreator.CurseForgeModpack"><span class="typeNameLink">Prev Class</span></a></li> +<li><a href="../../../../de/griefed/ServerPackCreator/CurseForgeModpack/Modpack.html" title="class in de.griefed.ServerPackCreator.CurseForgeModpack"><span class="typeNameLink">Next Class</span></a></li> +</ul> +<ul class="navList"> +<li><a href="../../../../index.html?de/griefed/ServerPackCreator/CurseForgeModpack/ModLoaders.html" target="_top">Frames</a></li> +<li><a href="ModLoaders.html" target="_top">No Frames</a></li> +</ul> +<ul class="navList" id="allclasses_navbar_top"> +<li><a href="../../../../allclasses-noframe.html">All Classes</a></li> +</ul> +<div> +<script type="text/javascript"><!-- + allClassesLink = document.getElementById("allclasses_navbar_top"); + if(window==top) { + allClassesLink.style.display = "block"; + } + else { + allClassesLink.style.display = "none"; + } + //--> +</script> +</div> +<div> +<ul class="subNavList"> +<li>Summary: </li> +<li>Nested | </li> +<li><a href="#field.summary">Field</a> | </li> +<li><a href="#constructor.summary">Constr</a> | </li> +<li><a href="#method.summary">Method</a></li> +</ul> +<ul class="subNavList"> +<li>Detail: </li> +<li><a href="#field.detail">Field</a> | </li> +<li><a href="#constructor.detail">Constr</a> | </li> +<li><a href="#method.detail">Method</a></li> +</ul> +</div> +<a name="skip.navbar.top"> +<!-- --> +</a></div> +<!-- ========= END OF TOP NAVBAR ========= --> +<!-- ======== START OF CLASS DATA ======== --> +<div class="header"> +<div class="subTitle">de.griefed.ServerPackCreator.CurseForgeModpack</div> +<h2 title="Class ModLoaders" class="title">Class ModLoaders</h2> +</div> +<div class="contentContainer"> +<ul class="inheritance"> +<li>java.lang.Object</li> +<li> +<ul class="inheritance"> +<li>de.griefed.ServerPackCreator.CurseForgeModpack.ModLoaders</li> +</ul> +</li> +</ul> +<div class="description"> +<ul class="blockList"> +<li class="blockList"> +<hr> +<br> +<pre>public class <span class="typeNameLabel">ModLoaders</span> +extends java.lang.Object</pre> +</li> +</ul> +</div> +<div class="summary"> +<ul class="blockList"> +<li class="blockList"> +<!-- =========== FIELD SUMMARY =========== --> +<ul class="blockList"> +<li class="blockList"><a name="field.summary"> +<!-- --> +</a> +<h3>Field Summary</h3> +<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Field Summary table, listing fields, and an explanation"> +<caption><span>Fields</span><span class="tabEnd"> </span></caption> +<tr> +<th class="colFirst" scope="col">Modifier and Type</th> +<th class="colLast" scope="col">Field and Description</th> +</tr> +<tr class="altColor"> +<td class="colFirst"><code>private java.lang.String</code></td> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../../de/griefed/ServerPackCreator/CurseForgeModpack/ModLoaders.html#id">id</a></span></code> </td> +</tr> +</table> +</li> +</ul> +<!-- ======== CONSTRUCTOR SUMMARY ======== --> +<ul class="blockList"> +<li class="blockList"><a name="constructor.summary"> +<!-- --> +</a> +<h3>Constructor Summary</h3> +<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Constructor Summary table, listing constructors, and an explanation"> +<caption><span>Constructors</span><span class="tabEnd"> </span></caption> +<tr> +<th class="colOne" scope="col">Constructor and Description</th> +</tr> +<tr class="altColor"> +<td class="colOne"><code><span class="memberNameLink"><a href="../../../../de/griefed/ServerPackCreator/CurseForgeModpack/ModLoaders.html#ModLoaders--">ModLoaders</a></span>()</code> </td> +</tr> +</table> +</li> +</ul> +<!-- ========== METHOD SUMMARY =========== --> +<ul class="blockList"> +<li class="blockList"><a name="method.summary"> +<!-- --> +</a> +<h3>Method Summary</h3> +<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation"> +<caption><span id="t0" class="activeTableTab"><span>All Methods</span><span class="tabEnd"> </span></span><span id="t2" class="tableTab"><span><a href="javascript:show(2);">Instance Methods</a></span><span class="tabEnd"> </span></span><span id="t4" class="tableTab"><span><a href="javascript:show(8);">Concrete Methods</a></span><span class="tabEnd"> </span></span></caption> +<tr> +<th class="colFirst" scope="col">Modifier and Type</th> +<th class="colLast" scope="col">Method and Description</th> +</tr> +<tr id="i0" class="altColor"> +<td class="colFirst"><code>java.lang.String</code></td> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../../de/griefed/ServerPackCreator/CurseForgeModpack/ModLoaders.html#getId--">getId</a></span>()</code> </td> +</tr> +<tr id="i1" class="rowColor"> +<td class="colFirst"><code>void</code></td> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../../de/griefed/ServerPackCreator/CurseForgeModpack/ModLoaders.html#setId-java.lang.String-">setId</a></span>(java.lang.String id)</code> </td> +</tr> +<tr id="i2" class="altColor"> +<td class="colFirst"><code>java.lang.String</code></td> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../../de/griefed/ServerPackCreator/CurseForgeModpack/ModLoaders.html#toString--">toString</a></span>()</code> </td> +</tr> +</table> +<ul class="blockList"> +<li class="blockList"><a name="methods.inherited.from.class.java.lang.Object"> +<!-- --> +</a> +<h3>Methods inherited from class java.lang.Object</h3> +<code>clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait</code></li> +</ul> +</li> +</ul> +</li> +</ul> +</div> +<div class="details"> +<ul class="blockList"> +<li class="blockList"> +<!-- ============ FIELD DETAIL =========== --> +<ul class="blockList"> +<li class="blockList"><a name="field.detail"> +<!-- --> +</a> +<h3>Field Detail</h3> +<a name="id"> +<!-- --> +</a> +<ul class="blockListLast"> +<li class="blockList"> +<h4>id</h4> +<pre>private java.lang.String id</pre> +</li> +</ul> +</li> +</ul> +<!-- ========= CONSTRUCTOR DETAIL ======== --> +<ul class="blockList"> +<li class="blockList"><a name="constructor.detail"> +<!-- --> +</a> +<h3>Constructor Detail</h3> +<a name="ModLoaders--"> +<!-- --> +</a> +<ul class="blockListLast"> +<li class="blockList"> +<h4>ModLoaders</h4> +<pre>public ModLoaders()</pre> +</li> +</ul> +</li> +</ul> +<!-- ============ METHOD DETAIL ========== --> +<ul class="blockList"> +<li class="blockList"><a name="method.detail"> +<!-- --> +</a> +<h3>Method Detail</h3> +<a name="getId--"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>getId</h4> +<pre>public java.lang.String getId()</pre> +</li> +</ul> +<a name="setId-java.lang.String-"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>setId</h4> +<pre>public void setId(java.lang.String id)</pre> +</li> +</ul> +<a name="toString--"> +<!-- --> +</a> +<ul class="blockListLast"> +<li class="blockList"> +<h4>toString</h4> +<pre>public java.lang.String toString()</pre> +<dl> +<dt><span class="overrideSpecifyLabel">Overrides:</span></dt> +<dd><code>toString</code> in class <code>java.lang.Object</code></dd> +</dl> +</li> +</ul> +</li> +</ul> +</li> +</ul> +</div> +</div> +<!-- ========= END OF CLASS DATA ========= --> +<!-- ======= START OF BOTTOM NAVBAR ====== --> +<div class="bottomNav"><a name="navbar.bottom"> +<!-- --> +</a> +<div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div> +<a name="navbar.bottom.firstrow"> +<!-- --> +</a> +<ul class="navList" title="Navigation"> +<li><a href="../../../../overview-summary.html">Overview</a></li> +<li><a href="package-summary.html">Package</a></li> +<li class="navBarCell1Rev">Class</li> +<li><a href="package-tree.html">Tree</a></li> +<li><a href="../../../../deprecated-list.html">Deprecated</a></li> +<li><a href="../../../../index-all.html">Index</a></li> +<li><a href="../../../../help-doc.html">Help</a></li> +</ul> +</div> +<div class="subNav"> +<ul class="navList"> +<li><a href="../../../../de/griefed/ServerPackCreator/CurseForgeModpack/Minecraft.html" title="class in de.griefed.ServerPackCreator.CurseForgeModpack"><span class="typeNameLink">Prev Class</span></a></li> +<li><a href="../../../../de/griefed/ServerPackCreator/CurseForgeModpack/Modpack.html" title="class in de.griefed.ServerPackCreator.CurseForgeModpack"><span class="typeNameLink">Next Class</span></a></li> +</ul> +<ul class="navList"> +<li><a href="../../../../index.html?de/griefed/ServerPackCreator/CurseForgeModpack/ModLoaders.html" target="_top">Frames</a></li> +<li><a href="ModLoaders.html" target="_top">No Frames</a></li> +</ul> +<ul class="navList" id="allclasses_navbar_bottom"> +<li><a href="../../../../allclasses-noframe.html">All Classes</a></li> +</ul> +<div> +<script type="text/javascript"><!-- + allClassesLink = document.getElementById("allclasses_navbar_bottom"); + if(window==top) { + allClassesLink.style.display = "block"; + } + else { + allClassesLink.style.display = "none"; + } + //--> +</script> +</div> +<div> +<ul class="subNavList"> +<li>Summary: </li> +<li>Nested | </li> +<li><a href="#field.summary">Field</a> | </li> +<li><a href="#constructor.summary">Constr</a> | </li> +<li><a href="#method.summary">Method</a></li> +</ul> +<ul class="subNavList"> +<li>Detail: </li> +<li><a href="#field.detail">Field</a> | </li> +<li><a href="#constructor.detail">Constr</a> | </li> +<li><a href="#method.detail">Method</a></li> +</ul> +</div> +<a name="skip.navbar.bottom"> +<!-- --> +</a></div> +<!-- ======== END OF BOTTOM NAVBAR ======= --> +</body> +</html> diff --git a/docs/docs/javadoc/de/griefed/ServerPackCreator/CurseForgeModpack/Modpack.html b/docs/docs/javadoc/de/griefed/ServerPackCreator/CurseForgeModpack/Modpack.html new file mode 100644 index 000000000..86a99b1d5 --- /dev/null +++ b/docs/docs/javadoc/de/griefed/ServerPackCreator/CurseForgeModpack/Modpack.html @@ -0,0 +1,490 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> +<!-- NewPage --> +<html lang="de"> +<head> +<!-- Generated by javadoc --> +<title>Modpack (ServerPackCreator API)</title> +<link rel="stylesheet" type="text/css" href="../../../../stylesheet.css" title="Style"> +<script type="text/javascript" src="../../../../script.js"></script> +</head> +<body> +<script type="text/javascript"><!-- + try { + if (location.href.indexOf('is-external=true') == -1) { + parent.document.title="Modpack (ServerPackCreator API)"; + } + } + catch(err) { + } +//--> +var methods = {"i0":10,"i1":10,"i2":10,"i3":10,"i4":10,"i5":10,"i6":10,"i7":10,"i8":10,"i9":10,"i10":10}; +var tabs = {65535:["t0","All Methods"],2:["t2","Instance Methods"],8:["t4","Concrete Methods"]}; +var altColor = "altColor"; +var rowColor = "rowColor"; +var tableTab = "tableTab"; +var activeTableTab = "activeTableTab"; +</script> +<noscript> +<div>JavaScript is disabled on your browser.</div> +</noscript> +<!-- ========= START OF TOP NAVBAR ======= --> +<div class="topNav"><a name="navbar.top"> +<!-- --> +</a> +<div class="skipNav"><a href="#skip.navbar.top" title="Skip navigation links">Skip navigation links</a></div> +<a name="navbar.top.firstrow"> +<!-- --> +</a> +<ul class="navList" title="Navigation"> +<li><a href="../../../../overview-summary.html">Overview</a></li> +<li><a href="package-summary.html">Package</a></li> +<li class="navBarCell1Rev">Class</li> +<li><a href="package-tree.html">Tree</a></li> +<li><a href="../../../../deprecated-list.html">Deprecated</a></li> +<li><a href="../../../../index-all.html">Index</a></li> +<li><a href="../../../../help-doc.html">Help</a></li> +</ul> +</div> +<div class="subNav"> +<ul class="navList"> +<li><a href="../../../../de/griefed/ServerPackCreator/CurseForgeModpack/ModLoaders.html" title="class in de.griefed.ServerPackCreator.CurseForgeModpack"><span class="typeNameLink">Prev Class</span></a></li> +<li><a href="../../../../de/griefed/ServerPackCreator/CurseForgeModpack/Splines.html" title="class in de.griefed.ServerPackCreator.CurseForgeModpack"><span class="typeNameLink">Next Class</span></a></li> +</ul> +<ul class="navList"> +<li><a href="../../../../index.html?de/griefed/ServerPackCreator/CurseForgeModpack/Modpack.html" target="_top">Frames</a></li> +<li><a href="Modpack.html" target="_top">No Frames</a></li> +</ul> +<ul class="navList" id="allclasses_navbar_top"> +<li><a href="../../../../allclasses-noframe.html">All Classes</a></li> +</ul> +<div> +<script type="text/javascript"><!-- + allClassesLink = document.getElementById("allclasses_navbar_top"); + if(window==top) { + allClassesLink.style.display = "block"; + } + else { + allClassesLink.style.display = "none"; + } + //--> +</script> +</div> +<div> +<ul class="subNavList"> +<li>Summary: </li> +<li>Nested | </li> +<li><a href="#field.summary">Field</a> | </li> +<li><a href="#constructor.summary">Constr</a> | </li> +<li><a href="#method.summary">Method</a></li> +</ul> +<ul class="subNavList"> +<li>Detail: </li> +<li><a href="#field.detail">Field</a> | </li> +<li><a href="#constructor.detail">Constr</a> | </li> +<li><a href="#method.detail">Method</a></li> +</ul> +</div> +<a name="skip.navbar.top"> +<!-- --> +</a></div> +<!-- ========= END OF TOP NAVBAR ========= --> +<!-- ======== START OF CLASS DATA ======== --> +<div class="header"> +<div class="subTitle">de.griefed.ServerPackCreator.CurseForgeModpack</div> +<h2 title="Class Modpack" class="title">Class Modpack</h2> +</div> +<div class="contentContainer"> +<ul class="inheritance"> +<li>java.lang.Object</li> +<li> +<ul class="inheritance"> +<li>de.griefed.ServerPackCreator.CurseForgeModpack.Modpack</li> +</ul> +</li> +</ul> +<div class="description"> +<ul class="blockList"> +<li class="blockList"> +<hr> +<br> +<pre>public class <span class="typeNameLabel">Modpack</span> +extends java.lang.Object</pre> +</li> +</ul> +</div> +<div class="summary"> +<ul class="blockList"> +<li class="blockList"> +<!-- =========== FIELD SUMMARY =========== --> +<ul class="blockList"> +<li class="blockList"><a name="field.summary"> +<!-- --> +</a> +<h3>Field Summary</h3> +<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Field Summary table, listing fields, and an explanation"> +<caption><span>Fields</span><span class="tabEnd"> </span></caption> +<tr> +<th class="colFirst" scope="col">Modifier and Type</th> +<th class="colLast" scope="col">Field and Description</th> +</tr> +<tr class="altColor"> +<td class="colFirst"><code>private java.lang.String</code></td> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../../de/griefed/ServerPackCreator/CurseForgeModpack/Modpack.html#author">author</a></span></code> </td> +</tr> +<tr class="rowColor"> +<td class="colFirst"><code>private java.util.List<<a href="../../../../de/griefed/ServerPackCreator/CurseForgeModpack/Files.html" title="class in de.griefed.ServerPackCreator.CurseForgeModpack">Files</a>></code></td> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../../de/griefed/ServerPackCreator/CurseForgeModpack/Modpack.html#files">files</a></span></code> </td> +</tr> +<tr class="altColor"> +<td class="colFirst"><code>private java.util.List<<a href="../../../../de/griefed/ServerPackCreator/CurseForgeModpack/Minecraft.html" title="class in de.griefed.ServerPackCreator.CurseForgeModpack">Minecraft</a>></code></td> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../../de/griefed/ServerPackCreator/CurseForgeModpack/Modpack.html#minecraft">minecraft</a></span></code> </td> +</tr> +<tr class="rowColor"> +<td class="colFirst"><code>private java.lang.String</code></td> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../../de/griefed/ServerPackCreator/CurseForgeModpack/Modpack.html#name">name</a></span></code> </td> +</tr> +<tr class="altColor"> +<td class="colFirst"><code>private java.lang.String</code></td> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../../de/griefed/ServerPackCreator/CurseForgeModpack/Modpack.html#version">version</a></span></code> </td> +</tr> +</table> +</li> +</ul> +<!-- ======== CONSTRUCTOR SUMMARY ======== --> +<ul class="blockList"> +<li class="blockList"><a name="constructor.summary"> +<!-- --> +</a> +<h3>Constructor Summary</h3> +<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Constructor Summary table, listing constructors, and an explanation"> +<caption><span>Constructors</span><span class="tabEnd"> </span></caption> +<tr> +<th class="colOne" scope="col">Constructor and Description</th> +</tr> +<tr class="altColor"> +<td class="colOne"><code><span class="memberNameLink"><a href="../../../../de/griefed/ServerPackCreator/CurseForgeModpack/Modpack.html#Modpack--">Modpack</a></span>()</code> </td> +</tr> +</table> +</li> +</ul> +<!-- ========== METHOD SUMMARY =========== --> +<ul class="blockList"> +<li class="blockList"><a name="method.summary"> +<!-- --> +</a> +<h3>Method Summary</h3> +<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation"> +<caption><span id="t0" class="activeTableTab"><span>All Methods</span><span class="tabEnd"> </span></span><span id="t2" class="tableTab"><span><a href="javascript:show(2);">Instance Methods</a></span><span class="tabEnd"> </span></span><span id="t4" class="tableTab"><span><a href="javascript:show(8);">Concrete Methods</a></span><span class="tabEnd"> </span></span></caption> +<tr> +<th class="colFirst" scope="col">Modifier and Type</th> +<th class="colLast" scope="col">Method and Description</th> +</tr> +<tr id="i0" class="altColor"> +<td class="colFirst"><code>java.lang.String</code></td> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../../de/griefed/ServerPackCreator/CurseForgeModpack/Modpack.html#getAuthor--">getAuthor</a></span>()</code> </td> +</tr> +<tr id="i1" class="rowColor"> +<td class="colFirst"><code>java.util.List<<a href="../../../../de/griefed/ServerPackCreator/CurseForgeModpack/Files.html" title="class in de.griefed.ServerPackCreator.CurseForgeModpack">Files</a>></code></td> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../../de/griefed/ServerPackCreator/CurseForgeModpack/Modpack.html#getFiles--">getFiles</a></span>()</code> </td> +</tr> +<tr id="i2" class="altColor"> +<td class="colFirst"><code>java.util.List<<a href="../../../../de/griefed/ServerPackCreator/CurseForgeModpack/Minecraft.html" title="class in de.griefed.ServerPackCreator.CurseForgeModpack">Minecraft</a>></code></td> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../../de/griefed/ServerPackCreator/CurseForgeModpack/Modpack.html#getMinecraft--">getMinecraft</a></span>()</code> </td> +</tr> +<tr id="i3" class="rowColor"> +<td class="colFirst"><code>java.lang.String</code></td> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../../de/griefed/ServerPackCreator/CurseForgeModpack/Modpack.html#getName--">getName</a></span>()</code> </td> +</tr> +<tr id="i4" class="altColor"> +<td class="colFirst"><code>java.lang.String</code></td> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../../de/griefed/ServerPackCreator/CurseForgeModpack/Modpack.html#getVersion--">getVersion</a></span>()</code> </td> +</tr> +<tr id="i5" class="rowColor"> +<td class="colFirst"><code>void</code></td> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../../de/griefed/ServerPackCreator/CurseForgeModpack/Modpack.html#setAuthor-java.lang.String-">setAuthor</a></span>(java.lang.String author)</code> </td> +</tr> +<tr id="i6" class="altColor"> +<td class="colFirst"><code>void</code></td> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../../de/griefed/ServerPackCreator/CurseForgeModpack/Modpack.html#setFiles-java.util.List-">setFiles</a></span>(java.util.List<<a href="../../../../de/griefed/ServerPackCreator/CurseForgeModpack/Files.html" title="class in de.griefed.ServerPackCreator.CurseForgeModpack">Files</a>> files)</code> </td> +</tr> +<tr id="i7" class="rowColor"> +<td class="colFirst"><code>void</code></td> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../../de/griefed/ServerPackCreator/CurseForgeModpack/Modpack.html#setMinecraft-java.util.List-">setMinecraft</a></span>(java.util.List<<a href="../../../../de/griefed/ServerPackCreator/CurseForgeModpack/Minecraft.html" title="class in de.griefed.ServerPackCreator.CurseForgeModpack">Minecraft</a>> minecraft)</code> </td> +</tr> +<tr id="i8" class="altColor"> +<td class="colFirst"><code>void</code></td> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../../de/griefed/ServerPackCreator/CurseForgeModpack/Modpack.html#setName-java.lang.String-">setName</a></span>(java.lang.String name)</code> </td> +</tr> +<tr id="i9" class="rowColor"> +<td class="colFirst"><code>void</code></td> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../../de/griefed/ServerPackCreator/CurseForgeModpack/Modpack.html#setVersion-java.lang.String-">setVersion</a></span>(java.lang.String version)</code> </td> +</tr> +<tr id="i10" class="altColor"> +<td class="colFirst"><code>java.lang.String</code></td> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../../de/griefed/ServerPackCreator/CurseForgeModpack/Modpack.html#toString--">toString</a></span>()</code> </td> +</tr> +</table> +<ul class="blockList"> +<li class="blockList"><a name="methods.inherited.from.class.java.lang.Object"> +<!-- --> +</a> +<h3>Methods inherited from class java.lang.Object</h3> +<code>clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait</code></li> +</ul> +</li> +</ul> +</li> +</ul> +</div> +<div class="details"> +<ul class="blockList"> +<li class="blockList"> +<!-- ============ FIELD DETAIL =========== --> +<ul class="blockList"> +<li class="blockList"><a name="field.detail"> +<!-- --> +</a> +<h3>Field Detail</h3> +<a name="minecraft"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>minecraft</h4> +<pre>private java.util.List<<a href="../../../../de/griefed/ServerPackCreator/CurseForgeModpack/Minecraft.html" title="class in de.griefed.ServerPackCreator.CurseForgeModpack">Minecraft</a>> minecraft</pre> +</li> +</ul> +<a name="name"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>name</h4> +<pre>private java.lang.String name</pre> +</li> +</ul> +<a name="version"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>version</h4> +<pre>private java.lang.String version</pre> +</li> +</ul> +<a name="author"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>author</h4> +<pre>private java.lang.String author</pre> +</li> +</ul> +<a name="files"> +<!-- --> +</a> +<ul class="blockListLast"> +<li class="blockList"> +<h4>files</h4> +<pre>private java.util.List<<a href="../../../../de/griefed/ServerPackCreator/CurseForgeModpack/Files.html" title="class in de.griefed.ServerPackCreator.CurseForgeModpack">Files</a>> files</pre> +</li> +</ul> +</li> +</ul> +<!-- ========= CONSTRUCTOR DETAIL ======== --> +<ul class="blockList"> +<li class="blockList"><a name="constructor.detail"> +<!-- --> +</a> +<h3>Constructor Detail</h3> +<a name="Modpack--"> +<!-- --> +</a> +<ul class="blockListLast"> +<li class="blockList"> +<h4>Modpack</h4> +<pre>public Modpack()</pre> +</li> +</ul> +</li> +</ul> +<!-- ============ METHOD DETAIL ========== --> +<ul class="blockList"> +<li class="blockList"><a name="method.detail"> +<!-- --> +</a> +<h3>Method Detail</h3> +<a name="getMinecraft--"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>getMinecraft</h4> +<pre>public java.util.List<<a href="../../../../de/griefed/ServerPackCreator/CurseForgeModpack/Minecraft.html" title="class in de.griefed.ServerPackCreator.CurseForgeModpack">Minecraft</a>> getMinecraft()</pre> +</li> +</ul> +<a name="setMinecraft-java.util.List-"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>setMinecraft</h4> +<pre>public void setMinecraft(java.util.List<<a href="../../../../de/griefed/ServerPackCreator/CurseForgeModpack/Minecraft.html" title="class in de.griefed.ServerPackCreator.CurseForgeModpack">Minecraft</a>> minecraft)</pre> +</li> +</ul> +<a name="getName--"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>getName</h4> +<pre>public java.lang.String getName()</pre> +</li> +</ul> +<a name="setName-java.lang.String-"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>setName</h4> +<pre>public void setName(java.lang.String name)</pre> +</li> +</ul> +<a name="getVersion--"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>getVersion</h4> +<pre>public java.lang.String getVersion()</pre> +</li> +</ul> +<a name="setVersion-java.lang.String-"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>setVersion</h4> +<pre>public void setVersion(java.lang.String version)</pre> +</li> +</ul> +<a name="getAuthor--"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>getAuthor</h4> +<pre>public java.lang.String getAuthor()</pre> +</li> +</ul> +<a name="setAuthor-java.lang.String-"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>setAuthor</h4> +<pre>public void setAuthor(java.lang.String author)</pre> +</li> +</ul> +<a name="getFiles--"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>getFiles</h4> +<pre>public java.util.List<<a href="../../../../de/griefed/ServerPackCreator/CurseForgeModpack/Files.html" title="class in de.griefed.ServerPackCreator.CurseForgeModpack">Files</a>> getFiles()</pre> +</li> +</ul> +<a name="setFiles-java.util.List-"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>setFiles</h4> +<pre>public void setFiles(java.util.List<<a href="../../../../de/griefed/ServerPackCreator/CurseForgeModpack/Files.html" title="class in de.griefed.ServerPackCreator.CurseForgeModpack">Files</a>> files)</pre> +</li> +</ul> +<a name="toString--"> +<!-- --> +</a> +<ul class="blockListLast"> +<li class="blockList"> +<h4>toString</h4> +<pre>public java.lang.String toString()</pre> +<dl> +<dt><span class="overrideSpecifyLabel">Overrides:</span></dt> +<dd><code>toString</code> in class <code>java.lang.Object</code></dd> +</dl> +</li> +</ul> +</li> +</ul> +</li> +</ul> +</div> +</div> +<!-- ========= END OF CLASS DATA ========= --> +<!-- ======= START OF BOTTOM NAVBAR ====== --> +<div class="bottomNav"><a name="navbar.bottom"> +<!-- --> +</a> +<div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div> +<a name="navbar.bottom.firstrow"> +<!-- --> +</a> +<ul class="navList" title="Navigation"> +<li><a href="../../../../overview-summary.html">Overview</a></li> +<li><a href="package-summary.html">Package</a></li> +<li class="navBarCell1Rev">Class</li> +<li><a href="package-tree.html">Tree</a></li> +<li><a href="../../../../deprecated-list.html">Deprecated</a></li> +<li><a href="../../../../index-all.html">Index</a></li> +<li><a href="../../../../help-doc.html">Help</a></li> +</ul> +</div> +<div class="subNav"> +<ul class="navList"> +<li><a href="../../../../de/griefed/ServerPackCreator/CurseForgeModpack/ModLoaders.html" title="class in de.griefed.ServerPackCreator.CurseForgeModpack"><span class="typeNameLink">Prev Class</span></a></li> +<li><a href="../../../../de/griefed/ServerPackCreator/CurseForgeModpack/Splines.html" title="class in de.griefed.ServerPackCreator.CurseForgeModpack"><span class="typeNameLink">Next Class</span></a></li> +</ul> +<ul class="navList"> +<li><a href="../../../../index.html?de/griefed/ServerPackCreator/CurseForgeModpack/Modpack.html" target="_top">Frames</a></li> +<li><a href="Modpack.html" target="_top">No Frames</a></li> +</ul> +<ul class="navList" id="allclasses_navbar_bottom"> +<li><a href="../../../../allclasses-noframe.html">All Classes</a></li> +</ul> +<div> +<script type="text/javascript"><!-- + allClassesLink = document.getElementById("allclasses_navbar_bottom"); + if(window==top) { + allClassesLink.style.display = "block"; + } + else { + allClassesLink.style.display = "none"; + } + //--> +</script> +</div> +<div> +<ul class="subNavList"> +<li>Summary: </li> +<li>Nested | </li> +<li><a href="#field.summary">Field</a> | </li> +<li><a href="#constructor.summary">Constr</a> | </li> +<li><a href="#method.summary">Method</a></li> +</ul> +<ul class="subNavList"> +<li>Detail: </li> +<li><a href="#field.detail">Field</a> | </li> +<li><a href="#constructor.detail">Constr</a> | </li> +<li><a href="#method.detail">Method</a></li> +</ul> +</div> +<a name="skip.navbar.bottom"> +<!-- --> +</a></div> +<!-- ======== END OF BOTTOM NAVBAR ======= --> +</body> +</html> diff --git a/docs/docs/javadoc/de/griefed/ServerPackCreator/CurseForgeModpack/Splines.html b/docs/docs/javadoc/de/griefed/ServerPackCreator/CurseForgeModpack/Splines.html new file mode 100644 index 000000000..6c24208a1 --- /dev/null +++ b/docs/docs/javadoc/de/griefed/ServerPackCreator/CurseForgeModpack/Splines.html @@ -0,0 +1,330 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> +<!-- NewPage --> +<html lang="de"> +<head> +<!-- Generated by javadoc --> +<title>Splines (ServerPackCreator API)</title> +<link rel="stylesheet" type="text/css" href="../../../../stylesheet.css" title="Style"> +<script type="text/javascript" src="../../../../script.js"></script> +</head> +<body> +<script type="text/javascript"><!-- + try { + if (location.href.indexOf('is-external=true') == -1) { + parent.document.title="Splines (ServerPackCreator API)"; + } + } + catch(err) { + } +//--> +var methods = {"i0":9,"i1":9,"i2":9}; +var tabs = {65535:["t0","All Methods"],1:["t1","Static Methods"],8:["t4","Concrete Methods"]}; +var altColor = "altColor"; +var rowColor = "rowColor"; +var tableTab = "tableTab"; +var activeTableTab = "activeTableTab"; +</script> +<noscript> +<div>JavaScript is disabled on your browser.</div> +</noscript> +<!-- ========= START OF TOP NAVBAR ======= --> +<div class="topNav"><a name="navbar.top"> +<!-- --> +</a> +<div class="skipNav"><a href="#skip.navbar.top" title="Skip navigation links">Skip navigation links</a></div> +<a name="navbar.top.firstrow"> +<!-- --> +</a> +<ul class="navList" title="Navigation"> +<li><a href="../../../../overview-summary.html">Overview</a></li> +<li><a href="package-summary.html">Package</a></li> +<li class="navBarCell1Rev">Class</li> +<li><a href="package-tree.html">Tree</a></li> +<li><a href="../../../../deprecated-list.html">Deprecated</a></li> +<li><a href="../../../../index-all.html">Index</a></li> +<li><a href="../../../../help-doc.html">Help</a></li> +</ul> +</div> +<div class="subNav"> +<ul class="navList"> +<li><a href="../../../../de/griefed/ServerPackCreator/CurseForgeModpack/Modpack.html" title="class in de.griefed.ServerPackCreator.CurseForgeModpack"><span class="typeNameLink">Prev Class</span></a></li> +<li>Next Class</li> +</ul> +<ul class="navList"> +<li><a href="../../../../index.html?de/griefed/ServerPackCreator/CurseForgeModpack/Splines.html" target="_top">Frames</a></li> +<li><a href="Splines.html" target="_top">No Frames</a></li> +</ul> +<ul class="navList" id="allclasses_navbar_top"> +<li><a href="../../../../allclasses-noframe.html">All Classes</a></li> +</ul> +<div> +<script type="text/javascript"><!-- + allClassesLink = document.getElementById("allclasses_navbar_top"); + if(window==top) { + allClassesLink.style.display = "block"; + } + else { + allClassesLink.style.display = "none"; + } + //--> +</script> +</div> +<div> +<ul class="subNavList"> +<li>Summary: </li> +<li>Nested | </li> +<li><a href="#field.summary">Field</a> | </li> +<li><a href="#constructor.summary">Constr</a> | </li> +<li><a href="#method.summary">Method</a></li> +</ul> +<ul class="subNavList"> +<li>Detail: </li> +<li><a href="#field.detail">Field</a> | </li> +<li><a href="#constructor.detail">Constr</a> | </li> +<li><a href="#method.detail">Method</a></li> +</ul> +</div> +<a name="skip.navbar.top"> +<!-- --> +</a></div> +<!-- ========= END OF TOP NAVBAR ========= --> +<!-- ======== START OF CLASS DATA ======== --> +<div class="header"> +<div class="subTitle">de.griefed.ServerPackCreator.CurseForgeModpack</div> +<h2 title="Class Splines" class="title">Class Splines</h2> +</div> +<div class="contentContainer"> +<ul class="inheritance"> +<li>java.lang.Object</li> +<li> +<ul class="inheritance"> +<li>de.griefed.ServerPackCreator.CurseForgeModpack.Splines</li> +</ul> +</li> +</ul> +<div class="description"> +<ul class="blockList"> +<li class="blockList"> +<hr> +<br> +<pre>public class <span class="typeNameLabel">Splines</span> +extends java.lang.Object</pre> +</li> +</ul> +</div> +<div class="summary"> +<ul class="blockList"> +<li class="blockList"> +<!-- =========== FIELD SUMMARY =========== --> +<ul class="blockList"> +<li class="blockList"><a name="field.summary"> +<!-- --> +</a> +<h3>Field Summary</h3> +<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Field Summary table, listing fields, and an explanation"> +<caption><span>Fields</span><span class="tabEnd"> </span></caption> +<tr> +<th class="colFirst" scope="col">Modifier and Type</th> +<th class="colLast" scope="col">Field and Description</th> +</tr> +<tr class="altColor"> +<td class="colFirst"><code>private static java.lang.String[]</code></td> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../../de/griefed/ServerPackCreator/CurseForgeModpack/Splines.html#reticulating">reticulating</a></span></code> </td> +</tr> +</table> +</li> +</ul> +<!-- ======== CONSTRUCTOR SUMMARY ======== --> +<ul class="blockList"> +<li class="blockList"><a name="constructor.summary"> +<!-- --> +</a> +<h3>Constructor Summary</h3> +<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Constructor Summary table, listing constructors, and an explanation"> +<caption><span>Constructors</span><span class="tabEnd"> </span></caption> +<tr> +<th class="colOne" scope="col">Constructor and Description</th> +</tr> +<tr class="altColor"> +<td class="colOne"><code><span class="memberNameLink"><a href="../../../../de/griefed/ServerPackCreator/CurseForgeModpack/Splines.html#Splines--">Splines</a></span>()</code> </td> +</tr> +</table> +</li> +</ul> +<!-- ========== METHOD SUMMARY =========== --> +<ul class="blockList"> +<li class="blockList"><a name="method.summary"> +<!-- --> +</a> +<h3>Method Summary</h3> +<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation"> +<caption><span id="t0" class="activeTableTab"><span>All Methods</span><span class="tabEnd"> </span></span><span id="t1" class="tableTab"><span><a href="javascript:show(1);">Static Methods</a></span><span class="tabEnd"> </span></span><span id="t4" class="tableTab"><span><a href="javascript:show(8);">Concrete Methods</a></span><span class="tabEnd"> </span></span></caption> +<tr> +<th class="colFirst" scope="col">Modifier and Type</th> +<th class="colLast" scope="col">Method and Description</th> +</tr> +<tr id="i0" class="altColor"> +<td class="colFirst"><code>private static int</code></td> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../../de/griefed/ServerPackCreator/CurseForgeModpack/Splines.html#getRandomInt--">getRandomInt</a></span>()</code> </td> +</tr> +<tr id="i1" class="rowColor"> +<td class="colFirst"><code>static java.lang.String</code></td> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../../de/griefed/ServerPackCreator/CurseForgeModpack/Splines.html#getSplines--">getSplines</a></span>()</code> </td> +</tr> +<tr id="i2" class="altColor"> +<td class="colFirst"><code>private static java.lang.String</code></td> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../../de/griefed/ServerPackCreator/CurseForgeModpack/Splines.html#setSplines--">setSplines</a></span>()</code> </td> +</tr> +</table> +<ul class="blockList"> +<li class="blockList"><a name="methods.inherited.from.class.java.lang.Object"> +<!-- --> +</a> +<h3>Methods inherited from class java.lang.Object</h3> +<code>clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait</code></li> +</ul> +</li> +</ul> +</li> +</ul> +</div> +<div class="details"> +<ul class="blockList"> +<li class="blockList"> +<!-- ============ FIELD DETAIL =========== --> +<ul class="blockList"> +<li class="blockList"><a name="field.detail"> +<!-- --> +</a> +<h3>Field Detail</h3> +<a name="reticulating"> +<!-- --> +</a> +<ul class="blockListLast"> +<li class="blockList"> +<h4>reticulating</h4> +<pre>private static final java.lang.String[] reticulating</pre> +</li> +</ul> +</li> +</ul> +<!-- ========= CONSTRUCTOR DETAIL ======== --> +<ul class="blockList"> +<li class="blockList"><a name="constructor.detail"> +<!-- --> +</a> +<h3>Constructor Detail</h3> +<a name="Splines--"> +<!-- --> +</a> +<ul class="blockListLast"> +<li class="blockList"> +<h4>Splines</h4> +<pre>public Splines()</pre> +</li> +</ul> +</li> +</ul> +<!-- ============ METHOD DETAIL ========== --> +<ul class="blockList"> +<li class="blockList"><a name="method.detail"> +<!-- --> +</a> +<h3>Method Detail</h3> +<a name="getRandomInt--"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>getRandomInt</h4> +<pre>private static int getRandomInt()</pre> +</li> +</ul> +<a name="setSplines--"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>setSplines</h4> +<pre>private static java.lang.String setSplines()</pre> +</li> +</ul> +<a name="getSplines--"> +<!-- --> +</a> +<ul class="blockListLast"> +<li class="blockList"> +<h4>getSplines</h4> +<pre>public static java.lang.String getSplines()</pre> +</li> +</ul> +</li> +</ul> +</li> +</ul> +</div> +</div> +<!-- ========= END OF CLASS DATA ========= --> +<!-- ======= START OF BOTTOM NAVBAR ====== --> +<div class="bottomNav"><a name="navbar.bottom"> +<!-- --> +</a> +<div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div> +<a name="navbar.bottom.firstrow"> +<!-- --> +</a> +<ul class="navList" title="Navigation"> +<li><a href="../../../../overview-summary.html">Overview</a></li> +<li><a href="package-summary.html">Package</a></li> +<li class="navBarCell1Rev">Class</li> +<li><a href="package-tree.html">Tree</a></li> +<li><a href="../../../../deprecated-list.html">Deprecated</a></li> +<li><a href="../../../../index-all.html">Index</a></li> +<li><a href="../../../../help-doc.html">Help</a></li> +</ul> +</div> +<div class="subNav"> +<ul class="navList"> +<li><a href="../../../../de/griefed/ServerPackCreator/CurseForgeModpack/Modpack.html" title="class in de.griefed.ServerPackCreator.CurseForgeModpack"><span class="typeNameLink">Prev Class</span></a></li> +<li>Next Class</li> +</ul> +<ul class="navList"> +<li><a href="../../../../index.html?de/griefed/ServerPackCreator/CurseForgeModpack/Splines.html" target="_top">Frames</a></li> +<li><a href="Splines.html" target="_top">No Frames</a></li> +</ul> +<ul class="navList" id="allclasses_navbar_bottom"> +<li><a href="../../../../allclasses-noframe.html">All Classes</a></li> +</ul> +<div> +<script type="text/javascript"><!-- + allClassesLink = document.getElementById("allclasses_navbar_bottom"); + if(window==top) { + allClassesLink.style.display = "block"; + } + else { + allClassesLink.style.display = "none"; + } + //--> +</script> +</div> +<div> +<ul class="subNavList"> +<li>Summary: </li> +<li>Nested | </li> +<li><a href="#field.summary">Field</a> | </li> +<li><a href="#constructor.summary">Constr</a> | </li> +<li><a href="#method.summary">Method</a></li> +</ul> +<ul class="subNavList"> +<li>Detail: </li> +<li><a href="#field.detail">Field</a> | </li> +<li><a href="#constructor.detail">Constr</a> | </li> +<li><a href="#method.detail">Method</a></li> +</ul> +</div> +<a name="skip.navbar.bottom"> +<!-- --> +</a></div> +<!-- ======== END OF BOTTOM NAVBAR ======= --> +</body> +</html> diff --git a/docs/docs/javadoc/de/griefed/ServerPackCreator/CurseForgeModpack/package-frame.html b/docs/docs/javadoc/de/griefed/ServerPackCreator/CurseForgeModpack/package-frame.html new file mode 100644 index 000000000..ebf648776 --- /dev/null +++ b/docs/docs/javadoc/de/griefed/ServerPackCreator/CurseForgeModpack/package-frame.html @@ -0,0 +1,24 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> +<!-- NewPage --> +<html lang="de"> +<head> +<!-- Generated by javadoc --> +<title>de.griefed.ServerPackCreator.CurseForgeModpack (ServerPackCreator API)</title> +<link rel="stylesheet" type="text/css" href="../../../../stylesheet.css" title="Style"> +<script type="text/javascript" src="../../../../script.js"></script> +</head> +<body> +<h1 class="bar"><a href="../../../../de/griefed/ServerPackCreator/CurseForgeModpack/package-summary.html" target="classFrame">de.griefed.ServerPackCreator.CurseForgeModpack</a></h1> +<div class="indexContainer"> +<h2 title="Classes">Classes</h2> +<ul title="Classes"> +<li><a href="CreateModpack.html" title="class in de.griefed.ServerPackCreator.CurseForgeModpack" target="classFrame">CreateModpack</a></li> +<li><a href="Files.html" title="class in de.griefed.ServerPackCreator.CurseForgeModpack" target="classFrame">Files</a></li> +<li><a href="Minecraft.html" title="class in de.griefed.ServerPackCreator.CurseForgeModpack" target="classFrame">Minecraft</a></li> +<li><a href="ModLoaders.html" title="class in de.griefed.ServerPackCreator.CurseForgeModpack" target="classFrame">ModLoaders</a></li> +<li><a href="Modpack.html" title="class in de.griefed.ServerPackCreator.CurseForgeModpack" target="classFrame">Modpack</a></li> +<li><a href="Splines.html" title="class in de.griefed.ServerPackCreator.CurseForgeModpack" target="classFrame">Splines</a></li> +</ul> +</div> +</body> +</html> diff --git a/docs/docs/javadoc/de/griefed/ServerPackCreator/CurseForgeModpack/package-summary.html b/docs/docs/javadoc/de/griefed/ServerPackCreator/CurseForgeModpack/package-summary.html new file mode 100644 index 000000000..c4f9cd425 --- /dev/null +++ b/docs/docs/javadoc/de/griefed/ServerPackCreator/CurseForgeModpack/package-summary.html @@ -0,0 +1,159 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> +<!-- NewPage --> +<html lang="de"> +<head> +<!-- Generated by javadoc --> +<title>de.griefed.ServerPackCreator.CurseForgeModpack (ServerPackCreator API)</title> +<link rel="stylesheet" type="text/css" href="../../../../stylesheet.css" title="Style"> +<script type="text/javascript" src="../../../../script.js"></script> +</head> +<body> +<script type="text/javascript"><!-- + try { + if (location.href.indexOf('is-external=true') == -1) { + parent.document.title="de.griefed.ServerPackCreator.CurseForgeModpack (ServerPackCreator API)"; + } + } + catch(err) { + } +//--> +</script> +<noscript> +<div>JavaScript is disabled on your browser.</div> +</noscript> +<!-- ========= START OF TOP NAVBAR ======= --> +<div class="topNav"><a name="navbar.top"> +<!-- --> +</a> +<div class="skipNav"><a href="#skip.navbar.top" title="Skip navigation links">Skip navigation links</a></div> +<a name="navbar.top.firstrow"> +<!-- --> +</a> +<ul class="navList" title="Navigation"> +<li><a href="../../../../overview-summary.html">Overview</a></li> +<li class="navBarCell1Rev">Package</li> +<li>Class</li> +<li><a href="package-tree.html">Tree</a></li> +<li><a href="../../../../deprecated-list.html">Deprecated</a></li> +<li><a href="../../../../index-all.html">Index</a></li> +<li><a href="../../../../help-doc.html">Help</a></li> +</ul> +</div> +<div class="subNav"> +<ul class="navList"> +<li><a href="../../../../de/griefed/ServerPackCreator/package-summary.html">Prev Package</a></li> +<li><a href="../../../../de/griefed/ServerPackCreator/i18n/package-summary.html">Next Package</a></li> +</ul> +<ul class="navList"> +<li><a href="../../../../index.html?de/griefed/ServerPackCreator/CurseForgeModpack/package-summary.html" target="_top">Frames</a></li> +<li><a href="package-summary.html" target="_top">No Frames</a></li> +</ul> +<ul class="navList" id="allclasses_navbar_top"> +<li><a href="../../../../allclasses-noframe.html">All Classes</a></li> +</ul> +<div> +<script type="text/javascript"><!-- + allClassesLink = document.getElementById("allclasses_navbar_top"); + if(window==top) { + allClassesLink.style.display = "block"; + } + else { + allClassesLink.style.display = "none"; + } + //--> +</script> +</div> +<a name="skip.navbar.top"> +<!-- --> +</a></div> +<!-- ========= END OF TOP NAVBAR ========= --> +<div class="header"> +<h1 title="Package" class="title">Package de.griefed.ServerPackCreator.CurseForgeModpack</h1> +</div> +<div class="contentContainer"> +<ul class="blockList"> +<li class="blockList"> +<table class="typeSummary" border="0" cellpadding="3" cellspacing="0" summary="Class Summary table, listing classes, and an explanation"> +<caption><span>Class Summary</span><span class="tabEnd"> </span></caption> +<tr> +<th class="colFirst" scope="col">Class</th> +<th class="colLast" scope="col">Description</th> +</tr> +<tbody> +<tr class="altColor"> +<td class="colFirst"><a href="../../../../de/griefed/ServerPackCreator/CurseForgeModpack/CreateModpack.html" title="class in de.griefed.ServerPackCreator.CurseForgeModpack">CreateModpack</a></td> +<td class="colLast"> </td> +</tr> +<tr class="rowColor"> +<td class="colFirst"><a href="../../../../de/griefed/ServerPackCreator/CurseForgeModpack/Files.html" title="class in de.griefed.ServerPackCreator.CurseForgeModpack">Files</a></td> +<td class="colLast"> </td> +</tr> +<tr class="altColor"> +<td class="colFirst"><a href="../../../../de/griefed/ServerPackCreator/CurseForgeModpack/Minecraft.html" title="class in de.griefed.ServerPackCreator.CurseForgeModpack">Minecraft</a></td> +<td class="colLast"> </td> +</tr> +<tr class="rowColor"> +<td class="colFirst"><a href="../../../../de/griefed/ServerPackCreator/CurseForgeModpack/ModLoaders.html" title="class in de.griefed.ServerPackCreator.CurseForgeModpack">ModLoaders</a></td> +<td class="colLast"> </td> +</tr> +<tr class="altColor"> +<td class="colFirst"><a href="../../../../de/griefed/ServerPackCreator/CurseForgeModpack/Modpack.html" title="class in de.griefed.ServerPackCreator.CurseForgeModpack">Modpack</a></td> +<td class="colLast"> </td> +</tr> +<tr class="rowColor"> +<td class="colFirst"><a href="../../../../de/griefed/ServerPackCreator/CurseForgeModpack/Splines.html" title="class in de.griefed.ServerPackCreator.CurseForgeModpack">Splines</a></td> +<td class="colLast"> </td> +</tr> +</tbody> +</table> +</li> +</ul> +</div> +<!-- ======= START OF BOTTOM NAVBAR ====== --> +<div class="bottomNav"><a name="navbar.bottom"> +<!-- --> +</a> +<div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div> +<a name="navbar.bottom.firstrow"> +<!-- --> +</a> +<ul class="navList" title="Navigation"> +<li><a href="../../../../overview-summary.html">Overview</a></li> +<li class="navBarCell1Rev">Package</li> +<li>Class</li> +<li><a href="package-tree.html">Tree</a></li> +<li><a href="../../../../deprecated-list.html">Deprecated</a></li> +<li><a href="../../../../index-all.html">Index</a></li> +<li><a href="../../../../help-doc.html">Help</a></li> +</ul> +</div> +<div class="subNav"> +<ul class="navList"> +<li><a href="../../../../de/griefed/ServerPackCreator/package-summary.html">Prev Package</a></li> +<li><a href="../../../../de/griefed/ServerPackCreator/i18n/package-summary.html">Next Package</a></li> +</ul> +<ul class="navList"> +<li><a href="../../../../index.html?de/griefed/ServerPackCreator/CurseForgeModpack/package-summary.html" target="_top">Frames</a></li> +<li><a href="package-summary.html" target="_top">No Frames</a></li> +</ul> +<ul class="navList" id="allclasses_navbar_bottom"> +<li><a href="../../../../allclasses-noframe.html">All Classes</a></li> +</ul> +<div> +<script type="text/javascript"><!-- + allClassesLink = document.getElementById("allclasses_navbar_bottom"); + if(window==top) { + allClassesLink.style.display = "block"; + } + else { + allClassesLink.style.display = "none"; + } + //--> +</script> +</div> +<a name="skip.navbar.bottom"> +<!-- --> +</a></div> +<!-- ======== END OF BOTTOM NAVBAR ======= --> +</body> +</html> diff --git a/docs/docs/javadoc/de/griefed/ServerPackCreator/CurseForgeModpack/package-tree.html b/docs/docs/javadoc/de/griefed/ServerPackCreator/CurseForgeModpack/package-tree.html new file mode 100644 index 000000000..886bedd57 --- /dev/null +++ b/docs/docs/javadoc/de/griefed/ServerPackCreator/CurseForgeModpack/package-tree.html @@ -0,0 +1,139 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> +<!-- NewPage --> +<html lang="de"> +<head> +<!-- Generated by javadoc --> +<title>de.griefed.ServerPackCreator.CurseForgeModpack Class Hierarchy (ServerPackCreator API)</title> +<link rel="stylesheet" type="text/css" href="../../../../stylesheet.css" title="Style"> +<script type="text/javascript" src="../../../../script.js"></script> +</head> +<body> +<script type="text/javascript"><!-- + try { + if (location.href.indexOf('is-external=true') == -1) { + parent.document.title="de.griefed.ServerPackCreator.CurseForgeModpack Class Hierarchy (ServerPackCreator API)"; + } + } + catch(err) { + } +//--> +</script> +<noscript> +<div>JavaScript is disabled on your browser.</div> +</noscript> +<!-- ========= START OF TOP NAVBAR ======= --> +<div class="topNav"><a name="navbar.top"> +<!-- --> +</a> +<div class="skipNav"><a href="#skip.navbar.top" title="Skip navigation links">Skip navigation links</a></div> +<a name="navbar.top.firstrow"> +<!-- --> +</a> +<ul class="navList" title="Navigation"> +<li><a href="../../../../overview-summary.html">Overview</a></li> +<li><a href="package-summary.html">Package</a></li> +<li>Class</li> +<li class="navBarCell1Rev">Tree</li> +<li><a href="../../../../deprecated-list.html">Deprecated</a></li> +<li><a href="../../../../index-all.html">Index</a></li> +<li><a href="../../../../help-doc.html">Help</a></li> +</ul> +</div> +<div class="subNav"> +<ul class="navList"> +<li><a href="../../../../de/griefed/ServerPackCreator/package-tree.html">Prev</a></li> +<li><a href="../../../../de/griefed/ServerPackCreator/i18n/package-tree.html">Next</a></li> +</ul> +<ul class="navList"> +<li><a href="../../../../index.html?de/griefed/ServerPackCreator/CurseForgeModpack/package-tree.html" target="_top">Frames</a></li> +<li><a href="package-tree.html" target="_top">No Frames</a></li> +</ul> +<ul class="navList" id="allclasses_navbar_top"> +<li><a href="../../../../allclasses-noframe.html">All Classes</a></li> +</ul> +<div> +<script type="text/javascript"><!-- + allClassesLink = document.getElementById("allclasses_navbar_top"); + if(window==top) { + allClassesLink.style.display = "block"; + } + else { + allClassesLink.style.display = "none"; + } + //--> +</script> +</div> +<a name="skip.navbar.top"> +<!-- --> +</a></div> +<!-- ========= END OF TOP NAVBAR ========= --> +<div class="header"> +<h1 class="title">Hierarchy For Package de.griefed.ServerPackCreator.CurseForgeModpack</h1> +<span class="packageHierarchyLabel">Package Hierarchies:</span> +<ul class="horizontal"> +<li><a href="../../../../overview-tree.html">All Packages</a></li> +</ul> +</div> +<div class="contentContainer"> +<h2 title="Class Hierarchy">Class Hierarchy</h2> +<ul> +<li type="circle">java.lang.Object +<ul> +<li type="circle">de.griefed.ServerPackCreator.CurseForgeModpack.<a href="../../../../de/griefed/ServerPackCreator/CurseForgeModpack/CreateModpack.html" title="class in de.griefed.ServerPackCreator.CurseForgeModpack"><span class="typeNameLink">CreateModpack</span></a></li> +<li type="circle">de.griefed.ServerPackCreator.CurseForgeModpack.<a href="../../../../de/griefed/ServerPackCreator/CurseForgeModpack/Files.html" title="class in de.griefed.ServerPackCreator.CurseForgeModpack"><span class="typeNameLink">Files</span></a></li> +<li type="circle">de.griefed.ServerPackCreator.CurseForgeModpack.<a href="../../../../de/griefed/ServerPackCreator/CurseForgeModpack/Minecraft.html" title="class in de.griefed.ServerPackCreator.CurseForgeModpack"><span class="typeNameLink">Minecraft</span></a></li> +<li type="circle">de.griefed.ServerPackCreator.CurseForgeModpack.<a href="../../../../de/griefed/ServerPackCreator/CurseForgeModpack/ModLoaders.html" title="class in de.griefed.ServerPackCreator.CurseForgeModpack"><span class="typeNameLink">ModLoaders</span></a></li> +<li type="circle">de.griefed.ServerPackCreator.CurseForgeModpack.<a href="../../../../de/griefed/ServerPackCreator/CurseForgeModpack/Modpack.html" title="class in de.griefed.ServerPackCreator.CurseForgeModpack"><span class="typeNameLink">Modpack</span></a></li> +<li type="circle">de.griefed.ServerPackCreator.CurseForgeModpack.<a href="../../../../de/griefed/ServerPackCreator/CurseForgeModpack/Splines.html" title="class in de.griefed.ServerPackCreator.CurseForgeModpack"><span class="typeNameLink">Splines</span></a></li> +</ul> +</li> +</ul> +</div> +<!-- ======= START OF BOTTOM NAVBAR ====== --> +<div class="bottomNav"><a name="navbar.bottom"> +<!-- --> +</a> +<div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div> +<a name="navbar.bottom.firstrow"> +<!-- --> +</a> +<ul class="navList" title="Navigation"> +<li><a href="../../../../overview-summary.html">Overview</a></li> +<li><a href="package-summary.html">Package</a></li> +<li>Class</li> +<li class="navBarCell1Rev">Tree</li> +<li><a href="../../../../deprecated-list.html">Deprecated</a></li> +<li><a href="../../../../index-all.html">Index</a></li> +<li><a href="../../../../help-doc.html">Help</a></li> +</ul> +</div> +<div class="subNav"> +<ul class="navList"> +<li><a href="../../../../de/griefed/ServerPackCreator/package-tree.html">Prev</a></li> +<li><a href="../../../../de/griefed/ServerPackCreator/i18n/package-tree.html">Next</a></li> +</ul> +<ul class="navList"> +<li><a href="../../../../index.html?de/griefed/ServerPackCreator/CurseForgeModpack/package-tree.html" target="_top">Frames</a></li> +<li><a href="package-tree.html" target="_top">No Frames</a></li> +</ul> +<ul class="navList" id="allclasses_navbar_bottom"> +<li><a href="../../../../allclasses-noframe.html">All Classes</a></li> +</ul> +<div> +<script type="text/javascript"><!-- + allClassesLink = document.getElementById("allclasses_navbar_bottom"); + if(window==top) { + allClassesLink.style.display = "block"; + } + else { + allClassesLink.style.display = "none"; + } + //--> +</script> +</div> +<a name="skip.navbar.bottom"> +<!-- --> +</a></div> +<!-- ======== END OF BOTTOM NAVBAR ======= --> +</body> +</html> diff --git a/docs/docs/javadoc/de/griefed/ServerPackCreator/FilesSetup.html b/docs/docs/javadoc/de/griefed/ServerPackCreator/FilesSetup.html new file mode 100644 index 000000000..f9ca16d39 --- /dev/null +++ b/docs/docs/javadoc/de/griefed/ServerPackCreator/FilesSetup.html @@ -0,0 +1,532 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> +<!-- NewPage --> +<html lang="de"> +<head> +<!-- Generated by javadoc --> +<title>FilesSetup (ServerPackCreator API)</title> +<link rel="stylesheet" type="text/css" href="../../../stylesheet.css" title="Style"> +<script type="text/javascript" src="../../../script.js"></script> +</head> +<body> +<script type="text/javascript"><!-- + try { + if (location.href.indexOf('is-external=true') == -1) { + parent.document.title="FilesSetup (ServerPackCreator API)"; + } + } + catch(err) { + } +//--> +var methods = {"i0":9,"i1":9,"i2":9,"i3":9,"i4":9,"i5":9,"i6":9,"i7":9,"i8":9,"i9":9,"i10":9}; +var tabs = {65535:["t0","All Methods"],1:["t1","Static Methods"],8:["t4","Concrete Methods"]}; +var altColor = "altColor"; +var rowColor = "rowColor"; +var tableTab = "tableTab"; +var activeTableTab = "activeTableTab"; +</script> +<noscript> +<div>JavaScript is disabled on your browser.</div> +</noscript> +<!-- ========= START OF TOP NAVBAR ======= --> +<div class="topNav"><a name="navbar.top"> +<!-- --> +</a> +<div class="skipNav"><a href="#skip.navbar.top" title="Skip navigation links">Skip navigation links</a></div> +<a name="navbar.top.firstrow"> +<!-- --> +</a> +<ul class="navList" title="Navigation"> +<li><a href="../../../overview-summary.html">Overview</a></li> +<li><a href="package-summary.html">Package</a></li> +<li class="navBarCell1Rev">Class</li> +<li><a href="package-tree.html">Tree</a></li> +<li><a href="../../../deprecated-list.html">Deprecated</a></li> +<li><a href="../../../index-all.html">Index</a></li> +<li><a href="../../../help-doc.html">Help</a></li> +</ul> +</div> +<div class="subNav"> +<ul class="navList"> +<li><a href="../../../de/griefed/ServerPackCreator/CopyFiles.html" title="class in de.griefed.ServerPackCreator"><span class="typeNameLink">Prev Class</span></a></li> +<li><a href="../../../de/griefed/ServerPackCreator/Main.html" title="class in de.griefed.ServerPackCreator"><span class="typeNameLink">Next Class</span></a></li> +</ul> +<ul class="navList"> +<li><a href="../../../index.html?de/griefed/ServerPackCreator/FilesSetup.html" target="_top">Frames</a></li> +<li><a href="FilesSetup.html" target="_top">No Frames</a></li> +</ul> +<ul class="navList" id="allclasses_navbar_top"> +<li><a href="../../../allclasses-noframe.html">All Classes</a></li> +</ul> +<div> +<script type="text/javascript"><!-- + allClassesLink = document.getElementById("allclasses_navbar_top"); + if(window==top) { + allClassesLink.style.display = "block"; + } + else { + allClassesLink.style.display = "none"; + } + //--> +</script> +</div> +<div> +<ul class="subNavList"> +<li>Summary: </li> +<li>Nested | </li> +<li><a href="#field.summary">Field</a> | </li> +<li><a href="#constructor.summary">Constr</a> | </li> +<li><a href="#method.summary">Method</a></li> +</ul> +<ul class="subNavList"> +<li>Detail: </li> +<li><a href="#field.detail">Field</a> | </li> +<li><a href="#constructor.detail">Constr</a> | </li> +<li><a href="#method.detail">Method</a></li> +</ul> +</div> +<a name="skip.navbar.top"> +<!-- --> +</a></div> +<!-- ========= END OF TOP NAVBAR ========= --> +<!-- ======== START OF CLASS DATA ======== --> +<div class="header"> +<div class="subTitle">de.griefed.ServerPackCreator</div> +<h2 title="Class FilesSetup" class="title">Class FilesSetup</h2> +</div> +<div class="contentContainer"> +<ul class="inheritance"> +<li>java.lang.Object</li> +<li> +<ul class="inheritance"> +<li>de.griefed.ServerPackCreator.FilesSetup</li> +</ul> +</li> +</ul> +<div class="description"> +<ul class="blockList"> +<li class="blockList"> +<hr> +<br> +<pre>public class <span class="typeNameLabel">FilesSetup</span> +extends java.lang.Object</pre> +</li> +</ul> +</div> +<div class="summary"> +<ul class="blockList"> +<li class="blockList"> +<!-- =========== FIELD SUMMARY =========== --> +<ul class="blockList"> +<li class="blockList"><a name="field.summary"> +<!-- --> +</a> +<h3>Field Summary</h3> +<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Field Summary table, listing fields, and an explanation"> +<caption><span>Fields</span><span class="tabEnd"> </span></caption> +<tr> +<th class="colFirst" scope="col">Modifier and Type</th> +<th class="colLast" scope="col">Field and Description</th> +</tr> +<tr class="altColor"> +<td class="colFirst"><code>private static org.apache.logging.log4j.Logger</code></td> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../de/griefed/ServerPackCreator/FilesSetup.html#appLogger">appLogger</a></span></code> </td> +</tr> +</table> +</li> +</ul> +<!-- ======== CONSTRUCTOR SUMMARY ======== --> +<ul class="blockList"> +<li class="blockList"><a name="constructor.summary"> +<!-- --> +</a> +<h3>Constructor Summary</h3> +<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Constructor Summary table, listing constructors, and an explanation"> +<caption><span>Constructors</span><span class="tabEnd"> </span></caption> +<tr> +<th class="colOne" scope="col">Constructor and Description</th> +</tr> +<tr class="altColor"> +<td class="colOne"><code><span class="memberNameLink"><a href="../../../de/griefed/ServerPackCreator/FilesSetup.html#FilesSetup--">FilesSetup</a></span>()</code> </td> +</tr> +</table> +</li> +</ul> +<!-- ========== METHOD SUMMARY =========== --> +<ul class="blockList"> +<li class="blockList"><a name="method.summary"> +<!-- --> +</a> +<h3>Method Summary</h3> +<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation"> +<caption><span id="t0" class="activeTableTab"><span>All Methods</span><span class="tabEnd"> </span></span><span id="t1" class="tableTab"><span><a href="javascript:show(1);">Static Methods</a></span><span class="tabEnd"> </span></span><span id="t4" class="tableTab"><span><a href="javascript:show(8);">Concrete Methods</a></span><span class="tabEnd"> </span></span></caption> +<tr> +<th class="colFirst" scope="col">Modifier and Type</th> +<th class="colLast" scope="col">Method and Description</th> +</tr> +<tr id="i0" class="altColor"> +<td class="colFirst"><code>(package private) static boolean</code></td> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../de/griefed/ServerPackCreator/FilesSetup.html#checkForConfig--">checkForConfig</a></span>()</code> +<div class="block">Check for old config file, if found rename to new name.</div> +</td> +</tr> +<tr id="i1" class="rowColor"> +<td class="colFirst"><code>(package private) static boolean</code></td> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../de/griefed/ServerPackCreator/FilesSetup.html#checkForFabricLinux--">checkForFabricLinux</a></span>()</code> +<div class="block">Checks for existence of Fabric start script for Linux.</div> +</td> +</tr> +<tr id="i2" class="altColor"> +<td class="colFirst"><code>(package private) static boolean</code></td> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../de/griefed/ServerPackCreator/FilesSetup.html#checkForFabricWindows--">checkForFabricWindows</a></span>()</code> +<div class="block">Checks for existence of Fabric start script for Windows.</div> +</td> +</tr> +<tr id="i3" class="rowColor"> +<td class="colFirst"><code>(package private) static boolean</code></td> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../de/griefed/ServerPackCreator/FilesSetup.html#checkForForgeLinux--">checkForForgeLinux</a></span>()</code> +<div class="block">Checks for existence of Forge start script for Linux.</div> +</td> +</tr> +<tr id="i4" class="altColor"> +<td class="colFirst"><code>(package private) static boolean</code></td> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../de/griefed/ServerPackCreator/FilesSetup.html#checkForForgeWindows--">checkForForgeWindows</a></span>()</code> +<div class="block">Checks for existence of Forge start script for Windows.</div> +</td> +</tr> +<tr id="i5" class="rowColor"> +<td class="colFirst"><code>(package private) static boolean</code></td> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../de/griefed/ServerPackCreator/FilesSetup.html#checkForIcon--">checkForIcon</a></span>()</code> +<div class="block">Checks for existence of server-icon.png file.</div> +</td> +</tr> +<tr id="i6" class="altColor"> +<td class="colFirst"><code>(package private) static boolean</code></td> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../de/griefed/ServerPackCreator/FilesSetup.html#checkForProperties--">checkForProperties</a></span>()</code> +<div class="block">Checks for existence of server.properties file.</div> +</td> +</tr> +<tr id="i7" class="rowColor"> +<td class="colFirst"><code>static void</code></td> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../de/griefed/ServerPackCreator/FilesSetup.html#checkLocaleFile--">checkLocaleFile</a></span>()</code> </td> +</tr> +<tr id="i8" class="altColor"> +<td class="colFirst"><code>(package private) static boolean</code></td> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../de/griefed/ServerPackCreator/FilesSetup.html#filesSetup--">filesSetup</a></span>()</code> +<div class="block">Calls individual methods which check for existence of default files.</div> +</td> +</tr> +<tr id="i9" class="rowColor"> +<td class="colFirst"><code>(package private) static boolean</code></td> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../de/griefed/ServerPackCreator/FilesSetup.html#writeConfigToFile-java.lang.String-java.lang.String-java.lang.String-boolean-java.lang.String-java.lang.String-java.lang.String-java.lang.String-boolean-boolean-boolean-boolean-">writeConfigToFile</a></span>(java.lang.String modpackDir, + java.lang.String clientMods, + java.lang.String copyDirs, + boolean includeServer, + java.lang.String javaPath, + java.lang.String minecraftVersion, + java.lang.String modLoader, + java.lang.String modLoaderVersion, + boolean includeIcon, + boolean includeProperties, + boolean includeScripts, + boolean includeZip)</code> +<div class="block">Writes a new configuration file with the parameters passed to it.</div> +</td> +</tr> +<tr id="i10" class="altColor"> +<td class="colFirst"><code>static void</code></td> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../de/griefed/ServerPackCreator/FilesSetup.html#writeLocaleToFile-java.lang.String-">writeLocaleToFile</a></span>(java.lang.String locale)</code> </td> +</tr> +</table> +<ul class="blockList"> +<li class="blockList"><a name="methods.inherited.from.class.java.lang.Object"> +<!-- --> +</a> +<h3>Methods inherited from class java.lang.Object</h3> +<code>clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait</code></li> +</ul> +</li> +</ul> +</li> +</ul> +</div> +<div class="details"> +<ul class="blockList"> +<li class="blockList"> +<!-- ============ FIELD DETAIL =========== --> +<ul class="blockList"> +<li class="blockList"><a name="field.detail"> +<!-- --> +</a> +<h3>Field Detail</h3> +<a name="appLogger"> +<!-- --> +</a> +<ul class="blockListLast"> +<li class="blockList"> +<h4>appLogger</h4> +<pre>private static final org.apache.logging.log4j.Logger appLogger</pre> +</li> +</ul> +</li> +</ul> +<!-- ========= CONSTRUCTOR DETAIL ======== --> +<ul class="blockList"> +<li class="blockList"><a name="constructor.detail"> +<!-- --> +</a> +<h3>Constructor Detail</h3> +<a name="FilesSetup--"> +<!-- --> +</a> +<ul class="blockListLast"> +<li class="blockList"> +<h4>FilesSetup</h4> +<pre>public FilesSetup()</pre> +</li> +</ul> +</li> +</ul> +<!-- ============ METHOD DETAIL ========== --> +<ul class="blockList"> +<li class="blockList"><a name="method.detail"> +<!-- --> +</a> +<h3>Method Detail</h3> +<a name="filesSetup--"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>filesSetup</h4> +<pre>static boolean filesSetup()</pre> +<div class="block">Calls individual methods which check for existence of default files. If any of these methods return true, ServerPackCreator will exit, giving the user the chance to customize it before the program runs in production.</div> +<dl> +<dt><span class="returnLabel">Returns:</span></dt> +<dd>Boolean. Returns true if no default file has been generated. False if any default file was generated.</dd> +</dl> +</li> +</ul> +<a name="checkForConfig--"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>checkForConfig</h4> +<pre>static boolean checkForConfig()</pre> +<div class="block">Check for old config file, if found rename to new name. If neither old nor new config file can be found, a new config file is generated.</div> +<dl> +<dt><span class="returnLabel">Returns:</span></dt> +<dd>Boolean. Returns true if new config file was generated.</dd> +</dl> +</li> +</ul> +<a name="checkForFabricLinux--"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>checkForFabricLinux</h4> +<pre>static boolean checkForFabricLinux()</pre> +<div class="block">Checks for existence of Fabric start script for Linux. If it is not found, it is generated.</div> +<dl> +<dt><span class="returnLabel">Returns:</span></dt> +<dd>Boolean. Returns true if the file was generated.</dd> +</dl> +</li> +</ul> +<a name="checkForFabricWindows--"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>checkForFabricWindows</h4> +<pre>static boolean checkForFabricWindows()</pre> +<div class="block">Checks for existence of Fabric start script for Windows. If it is not found, it is generated.</div> +<dl> +<dt><span class="returnLabel">Returns:</span></dt> +<dd>Boolean. Returns true if the file was generated.</dd> +</dl> +</li> +</ul> +<a name="checkForForgeLinux--"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>checkForForgeLinux</h4> +<pre>static boolean checkForForgeLinux()</pre> +<div class="block">Checks for existence of Forge start script for Linux. If it is not found, it is generated.</div> +<dl> +<dt><span class="returnLabel">Returns:</span></dt> +<dd>Boolean. Returns true if the file was generated.</dd> +</dl> +</li> +</ul> +<a name="checkForForgeWindows--"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>checkForForgeWindows</h4> +<pre>static boolean checkForForgeWindows()</pre> +<div class="block">Checks for existence of Forge start script for Windows. If it is not found, it is generated.</div> +<dl> +<dt><span class="returnLabel">Returns:</span></dt> +<dd>Boolean. Returns true if the file was generated.</dd> +</dl> +</li> +</ul> +<a name="checkForProperties--"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>checkForProperties</h4> +<pre>static boolean checkForProperties()</pre> +<div class="block">Checks for existence of server.properties file. If it is not found, it is generated.</div> +<dl> +<dt><span class="returnLabel">Returns:</span></dt> +<dd>Boolean. Returns true if the file was generated.</dd> +</dl> +</li> +</ul> +<a name="checkForIcon--"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>checkForIcon</h4> +<pre>static boolean checkForIcon()</pre> +<div class="block">Checks for existence of server-icon.png file. If it is not found, it is generated.</div> +<dl> +<dt><span class="returnLabel">Returns:</span></dt> +<dd>Boolean. Returns true if the file was generated.</dd> +</dl> +</li> +</ul> +<a name="checkLocaleFile--"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>checkLocaleFile</h4> +<pre>public static void checkLocaleFile()</pre> +</li> +</ul> +<a name="writeLocaleToFile-java.lang.String-"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>writeLocaleToFile</h4> +<pre>public static void writeLocaleToFile(java.lang.String locale)</pre> +</li> +</ul> +<a name="writeConfigToFile-java.lang.String-java.lang.String-java.lang.String-boolean-java.lang.String-java.lang.String-java.lang.String-java.lang.String-boolean-boolean-boolean-boolean-"> +<!-- --> +</a> +<ul class="blockListLast"> +<li class="blockList"> +<h4>writeConfigToFile</h4> +<pre>static boolean writeConfigToFile(java.lang.String modpackDir, + java.lang.String clientMods, + java.lang.String copyDirs, + boolean includeServer, + java.lang.String javaPath, + java.lang.String minecraftVersion, + java.lang.String modLoader, + java.lang.String modLoaderVersion, + boolean includeIcon, + boolean includeProperties, + boolean includeScripts, + boolean includeZip)</pre> +<div class="block">Writes a new configuration file with the parameters passed to it.</div> +<dl> +<dt><span class="paramLabel">Parameters:</span></dt> +<dd><code>modpackDir</code> - String. The path to the modpack.</dd> +<dd><code>clientMods</code> - List, String. List of clientside-only mods.</dd> +<dd><code>copyDirs</code> - List, String. List of directories to include in server pack.</dd> +<dd><code>includeServer</code> - Boolean. Whether to include a modloader server installation.</dd> +<dd><code>javaPath</code> - String. Path to the java executable.</dd> +<dd><code>minecraftVersion</code> - String. Minecraft version used by the modpack and server pack.</dd> +<dd><code>modLoader</code> - String. Modloader used by the modpack and server pack. Ether Forge or Fabric.</dd> +<dd><code>modLoaderVersion</code> - String. Modloader version used by the modpack and server pack.</dd> +<dd><code>includeIcon</code> - Boolean. Whether to include a server-icon in the server pack.</dd> +<dd><code>includeProperties</code> - Boolean. Whether to include a properties file in the server pack.</dd> +<dd><code>includeScripts</code> - Boolean. Whether to include start scripts in the server pack.</dd> +<dd><code>includeZip</code> - Boolean. Whether to create a ZIP-archive of the server pack, excluding Mojang's Minecraft server jar.</dd> +<dt><span class="returnLabel">Returns:</span></dt> +<dd>Boolean. Returns true if the configuration file has been successfully written and old ones replaced.</dd> +</dl> +</li> +</ul> +</li> +</ul> +</li> +</ul> +</div> +</div> +<!-- ========= END OF CLASS DATA ========= --> +<!-- ======= START OF BOTTOM NAVBAR ====== --> +<div class="bottomNav"><a name="navbar.bottom"> +<!-- --> +</a> +<div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div> +<a name="navbar.bottom.firstrow"> +<!-- --> +</a> +<ul class="navList" title="Navigation"> +<li><a href="../../../overview-summary.html">Overview</a></li> +<li><a href="package-summary.html">Package</a></li> +<li class="navBarCell1Rev">Class</li> +<li><a href="package-tree.html">Tree</a></li> +<li><a href="../../../deprecated-list.html">Deprecated</a></li> +<li><a href="../../../index-all.html">Index</a></li> +<li><a href="../../../help-doc.html">Help</a></li> +</ul> +</div> +<div class="subNav"> +<ul class="navList"> +<li><a href="../../../de/griefed/ServerPackCreator/CopyFiles.html" title="class in de.griefed.ServerPackCreator"><span class="typeNameLink">Prev Class</span></a></li> +<li><a href="../../../de/griefed/ServerPackCreator/Main.html" title="class in de.griefed.ServerPackCreator"><span class="typeNameLink">Next Class</span></a></li> +</ul> +<ul class="navList"> +<li><a href="../../../index.html?de/griefed/ServerPackCreator/FilesSetup.html" target="_top">Frames</a></li> +<li><a href="FilesSetup.html" target="_top">No Frames</a></li> +</ul> +<ul class="navList" id="allclasses_navbar_bottom"> +<li><a href="../../../allclasses-noframe.html">All Classes</a></li> +</ul> +<div> +<script type="text/javascript"><!-- + allClassesLink = document.getElementById("allclasses_navbar_bottom"); + if(window==top) { + allClassesLink.style.display = "block"; + } + else { + allClassesLink.style.display = "none"; + } + //--> +</script> +</div> +<div> +<ul class="subNavList"> +<li>Summary: </li> +<li>Nested | </li> +<li><a href="#field.summary">Field</a> | </li> +<li><a href="#constructor.summary">Constr</a> | </li> +<li><a href="#method.summary">Method</a></li> +</ul> +<ul class="subNavList"> +<li>Detail: </li> +<li><a href="#field.detail">Field</a> | </li> +<li><a href="#constructor.detail">Constr</a> | </li> +<li><a href="#method.detail">Method</a></li> +</ul> +</div> +<a name="skip.navbar.bottom"> +<!-- --> +</a></div> +<!-- ======== END OF BOTTOM NAVBAR ======= --> +</body> +</html> diff --git a/docs/docs/javadoc/de/griefed/ServerPackCreator/Main.html b/docs/docs/javadoc/de/griefed/ServerPackCreator/Main.html new file mode 100644 index 000000000..34feff072 --- /dev/null +++ b/docs/docs/javadoc/de/griefed/ServerPackCreator/Main.html @@ -0,0 +1,311 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> +<!-- NewPage --> +<html lang="de"> +<head> +<!-- Generated by javadoc --> +<title>Main (ServerPackCreator API)</title> +<link rel="stylesheet" type="text/css" href="../../../stylesheet.css" title="Style"> +<script type="text/javascript" src="../../../script.js"></script> +</head> +<body> +<script type="text/javascript"><!-- + try { + if (location.href.indexOf('is-external=true') == -1) { + parent.document.title="Main (ServerPackCreator API)"; + } + } + catch(err) { + } +//--> +var methods = {"i0":9}; +var tabs = {65535:["t0","All Methods"],1:["t1","Static Methods"],8:["t4","Concrete Methods"]}; +var altColor = "altColor"; +var rowColor = "rowColor"; +var tableTab = "tableTab"; +var activeTableTab = "activeTableTab"; +</script> +<noscript> +<div>JavaScript is disabled on your browser.</div> +</noscript> +<!-- ========= START OF TOP NAVBAR ======= --> +<div class="topNav"><a name="navbar.top"> +<!-- --> +</a> +<div class="skipNav"><a href="#skip.navbar.top" title="Skip navigation links">Skip navigation links</a></div> +<a name="navbar.top.firstrow"> +<!-- --> +</a> +<ul class="navList" title="Navigation"> +<li><a href="../../../overview-summary.html">Overview</a></li> +<li><a href="package-summary.html">Package</a></li> +<li class="navBarCell1Rev">Class</li> +<li><a href="package-tree.html">Tree</a></li> +<li><a href="../../../deprecated-list.html">Deprecated</a></li> +<li><a href="../../../index-all.html">Index</a></li> +<li><a href="../../../help-doc.html">Help</a></li> +</ul> +</div> +<div class="subNav"> +<ul class="navList"> +<li><a href="../../../de/griefed/ServerPackCreator/FilesSetup.html" title="class in de.griefed.ServerPackCreator"><span class="typeNameLink">Prev Class</span></a></li> +<li><a href="../../../de/griefed/ServerPackCreator/Reference.html" title="class in de.griefed.ServerPackCreator"><span class="typeNameLink">Next Class</span></a></li> +</ul> +<ul class="navList"> +<li><a href="../../../index.html?de/griefed/ServerPackCreator/Main.html" target="_top">Frames</a></li> +<li><a href="Main.html" target="_top">No Frames</a></li> +</ul> +<ul class="navList" id="allclasses_navbar_top"> +<li><a href="../../../allclasses-noframe.html">All Classes</a></li> +</ul> +<div> +<script type="text/javascript"><!-- + allClassesLink = document.getElementById("allclasses_navbar_top"); + if(window==top) { + allClassesLink.style.display = "block"; + } + else { + allClassesLink.style.display = "none"; + } + //--> +</script> +</div> +<div> +<ul class="subNavList"> +<li>Summary: </li> +<li>Nested | </li> +<li><a href="#field.summary">Field</a> | </li> +<li><a href="#constructor.summary">Constr</a> | </li> +<li><a href="#method.summary">Method</a></li> +</ul> +<ul class="subNavList"> +<li>Detail: </li> +<li><a href="#field.detail">Field</a> | </li> +<li><a href="#constructor.detail">Constr</a> | </li> +<li><a href="#method.detail">Method</a></li> +</ul> +</div> +<a name="skip.navbar.top"> +<!-- --> +</a></div> +<!-- ========= END OF TOP NAVBAR ========= --> +<!-- ======== START OF CLASS DATA ======== --> +<div class="header"> +<div class="subTitle">de.griefed.ServerPackCreator</div> +<h2 title="Class Main" class="title">Class Main</h2> +</div> +<div class="contentContainer"> +<ul class="inheritance"> +<li>java.lang.Object</li> +<li> +<ul class="inheritance"> +<li>de.griefed.ServerPackCreator.Main</li> +</ul> +</li> +</ul> +<div class="description"> +<ul class="blockList"> +<li class="blockList"> +<hr> +<br> +<pre>public class <span class="typeNameLabel">Main</span> +extends java.lang.Object</pre> +</li> +</ul> +</div> +<div class="summary"> +<ul class="blockList"> +<li class="blockList"> +<!-- =========== FIELD SUMMARY =========== --> +<ul class="blockList"> +<li class="blockList"><a name="field.summary"> +<!-- --> +</a> +<h3>Field Summary</h3> +<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Field Summary table, listing fields, and an explanation"> +<caption><span>Fields</span><span class="tabEnd"> </span></caption> +<tr> +<th class="colFirst" scope="col">Modifier and Type</th> +<th class="colLast" scope="col">Field and Description</th> +</tr> +<tr class="altColor"> +<td class="colFirst"><code>private static org.apache.logging.log4j.Logger</code></td> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../de/griefed/ServerPackCreator/Main.html#appLogger">appLogger</a></span></code> </td> +</tr> +</table> +</li> +</ul> +<!-- ======== CONSTRUCTOR SUMMARY ======== --> +<ul class="blockList"> +<li class="blockList"><a name="constructor.summary"> +<!-- --> +</a> +<h3>Constructor Summary</h3> +<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Constructor Summary table, listing constructors, and an explanation"> +<caption><span>Constructors</span><span class="tabEnd"> </span></caption> +<tr> +<th class="colOne" scope="col">Constructor and Description</th> +</tr> +<tr class="altColor"> +<td class="colOne"><code><span class="memberNameLink"><a href="../../../de/griefed/ServerPackCreator/Main.html#Main--">Main</a></span>()</code> </td> +</tr> +</table> +</li> +</ul> +<!-- ========== METHOD SUMMARY =========== --> +<ul class="blockList"> +<li class="blockList"><a name="method.summary"> +<!-- --> +</a> +<h3>Method Summary</h3> +<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation"> +<caption><span id="t0" class="activeTableTab"><span>All Methods</span><span class="tabEnd"> </span></span><span id="t1" class="tableTab"><span><a href="javascript:show(1);">Static Methods</a></span><span class="tabEnd"> </span></span><span id="t4" class="tableTab"><span><a href="javascript:show(8);">Concrete Methods</a></span><span class="tabEnd"> </span></span></caption> +<tr> +<th class="colFirst" scope="col">Modifier and Type</th> +<th class="colLast" scope="col">Method and Description</th> +</tr> +<tr id="i0" class="altColor"> +<td class="colFirst"><code>static void</code></td> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../de/griefed/ServerPackCreator/Main.html#main-java.lang.String:A-">main</a></span>(java.lang.String[] args)</code> +<div class="block">Main class makes the calls to every other class where the actual magic is happening.</div> +</td> +</tr> +</table> +<ul class="blockList"> +<li class="blockList"><a name="methods.inherited.from.class.java.lang.Object"> +<!-- --> +</a> +<h3>Methods inherited from class java.lang.Object</h3> +<code>clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait</code></li> +</ul> +</li> +</ul> +</li> +</ul> +</div> +<div class="details"> +<ul class="blockList"> +<li class="blockList"> +<!-- ============ FIELD DETAIL =========== --> +<ul class="blockList"> +<li class="blockList"><a name="field.detail"> +<!-- --> +</a> +<h3>Field Detail</h3> +<a name="appLogger"> +<!-- --> +</a> +<ul class="blockListLast"> +<li class="blockList"> +<h4>appLogger</h4> +<pre>private static final org.apache.logging.log4j.Logger appLogger</pre> +</li> +</ul> +</li> +</ul> +<!-- ========= CONSTRUCTOR DETAIL ======== --> +<ul class="blockList"> +<li class="blockList"><a name="constructor.detail"> +<!-- --> +</a> +<h3>Constructor Detail</h3> +<a name="Main--"> +<!-- --> +</a> +<ul class="blockListLast"> +<li class="blockList"> +<h4>Main</h4> +<pre>public Main()</pre> +</li> +</ul> +</li> +</ul> +<!-- ============ METHOD DETAIL ========== --> +<ul class="blockList"> +<li class="blockList"><a name="method.detail"> +<!-- --> +</a> +<h3>Method Detail</h3> +<a name="main-java.lang.String:A-"> +<!-- --> +</a> +<ul class="blockListLast"> +<li class="blockList"> +<h4>main</h4> +<pre>public static void main(java.lang.String[] args)</pre> +<div class="block">Main class makes the calls to every other class where the actual magic is happening. The main class of ServerPackCreator should never contain code which does work on the server pack itself.</div> +<dl> +<dt><span class="paramLabel">Parameters:</span></dt> +<dd><code>args</code> - Command Line Argument determines whether ServerPackCreator will start into normal operation mode or with a step-by-step generation of a configuration file.</dd> +</dl> +</li> +</ul> +</li> +</ul> +</li> +</ul> +</div> +</div> +<!-- ========= END OF CLASS DATA ========= --> +<!-- ======= START OF BOTTOM NAVBAR ====== --> +<div class="bottomNav"><a name="navbar.bottom"> +<!-- --> +</a> +<div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div> +<a name="navbar.bottom.firstrow"> +<!-- --> +</a> +<ul class="navList" title="Navigation"> +<li><a href="../../../overview-summary.html">Overview</a></li> +<li><a href="package-summary.html">Package</a></li> +<li class="navBarCell1Rev">Class</li> +<li><a href="package-tree.html">Tree</a></li> +<li><a href="../../../deprecated-list.html">Deprecated</a></li> +<li><a href="../../../index-all.html">Index</a></li> +<li><a href="../../../help-doc.html">Help</a></li> +</ul> +</div> +<div class="subNav"> +<ul class="navList"> +<li><a href="../../../de/griefed/ServerPackCreator/FilesSetup.html" title="class in de.griefed.ServerPackCreator"><span class="typeNameLink">Prev Class</span></a></li> +<li><a href="../../../de/griefed/ServerPackCreator/Reference.html" title="class in de.griefed.ServerPackCreator"><span class="typeNameLink">Next Class</span></a></li> +</ul> +<ul class="navList"> +<li><a href="../../../index.html?de/griefed/ServerPackCreator/Main.html" target="_top">Frames</a></li> +<li><a href="Main.html" target="_top">No Frames</a></li> +</ul> +<ul class="navList" id="allclasses_navbar_bottom"> +<li><a href="../../../allclasses-noframe.html">All Classes</a></li> +</ul> +<div> +<script type="text/javascript"><!-- + allClassesLink = document.getElementById("allclasses_navbar_bottom"); + if(window==top) { + allClassesLink.style.display = "block"; + } + else { + allClassesLink.style.display = "none"; + } + //--> +</script> +</div> +<div> +<ul class="subNavList"> +<li>Summary: </li> +<li>Nested | </li> +<li><a href="#field.summary">Field</a> | </li> +<li><a href="#constructor.summary">Constr</a> | </li> +<li><a href="#method.summary">Method</a></li> +</ul> +<ul class="subNavList"> +<li>Detail: </li> +<li><a href="#field.detail">Field</a> | </li> +<li><a href="#constructor.detail">Constr</a> | </li> +<li><a href="#method.detail">Method</a></li> +</ul> +</div> +<a name="skip.navbar.bottom"> +<!-- --> +</a></div> +<!-- ======== END OF BOTTOM NAVBAR ======= --> +</body> +</html> diff --git a/docs/docs/javadoc/de/griefed/ServerPackCreator/Reference.html b/docs/docs/javadoc/de/griefed/ServerPackCreator/Reference.html new file mode 100644 index 000000000..8e015faa5 --- /dev/null +++ b/docs/docs/javadoc/de/griefed/ServerPackCreator/Reference.html @@ -0,0 +1,667 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> +<!-- NewPage --> +<html lang="de"> +<head> +<!-- Generated by javadoc --> +<title>Reference (ServerPackCreator API)</title> +<link rel="stylesheet" type="text/css" href="../../../stylesheet.css" title="Style"> +<script type="text/javascript" src="../../../script.js"></script> +</head> +<body> +<script type="text/javascript"><!-- + try { + if (location.href.indexOf('is-external=true') == -1) { + parent.document.title="Reference (ServerPackCreator API)"; + } + } + catch(err) { + } +//--> +</script> +<noscript> +<div>JavaScript is disabled on your browser.</div> +</noscript> +<!-- ========= START OF TOP NAVBAR ======= --> +<div class="topNav"><a name="navbar.top"> +<!-- --> +</a> +<div class="skipNav"><a href="#skip.navbar.top" title="Skip navigation links">Skip navigation links</a></div> +<a name="navbar.top.firstrow"> +<!-- --> +</a> +<ul class="navList" title="Navigation"> +<li><a href="../../../overview-summary.html">Overview</a></li> +<li><a href="package-summary.html">Package</a></li> +<li class="navBarCell1Rev">Class</li> +<li><a href="package-tree.html">Tree</a></li> +<li><a href="../../../deprecated-list.html">Deprecated</a></li> +<li><a href="../../../index-all.html">Index</a></li> +<li><a href="../../../help-doc.html">Help</a></li> +</ul> +</div> +<div class="subNav"> +<ul class="navList"> +<li><a href="../../../de/griefed/ServerPackCreator/Main.html" title="class in de.griefed.ServerPackCreator"><span class="typeNameLink">Prev Class</span></a></li> +<li><a href="../../../de/griefed/ServerPackCreator/ServerSetup.html" title="class in de.griefed.ServerPackCreator"><span class="typeNameLink">Next Class</span></a></li> +</ul> +<ul class="navList"> +<li><a href="../../../index.html?de/griefed/ServerPackCreator/Reference.html" target="_top">Frames</a></li> +<li><a href="Reference.html" target="_top">No Frames</a></li> +</ul> +<ul class="navList" id="allclasses_navbar_top"> +<li><a href="../../../allclasses-noframe.html">All Classes</a></li> +</ul> +<div> +<script type="text/javascript"><!-- + allClassesLink = document.getElementById("allclasses_navbar_top"); + if(window==top) { + allClassesLink.style.display = "block"; + } + else { + allClassesLink.style.display = "none"; + } + //--> +</script> +</div> +<div> +<ul class="subNavList"> +<li>Summary: </li> +<li>Nested | </li> +<li><a href="#field.summary">Field</a> | </li> +<li><a href="#constructor.summary">Constr</a> | </li> +<li><a href="#methods.inherited.from.class.java.lang.Object">Method</a></li> +</ul> +<ul class="subNavList"> +<li>Detail: </li> +<li><a href="#field.detail">Field</a> | </li> +<li><a href="#constructor.detail">Constr</a> | </li> +<li>Method</li> +</ul> +</div> +<a name="skip.navbar.top"> +<!-- --> +</a></div> +<!-- ========= END OF TOP NAVBAR ========= --> +<!-- ======== START OF CLASS DATA ======== --> +<div class="header"> +<div class="subTitle">de.griefed.ServerPackCreator</div> +<h2 title="Class Reference" class="title">Class Reference</h2> +</div> +<div class="contentContainer"> +<ul class="inheritance"> +<li>java.lang.Object</li> +<li> +<ul class="inheritance"> +<li>de.griefed.ServerPackCreator.Reference</li> +</ul> +</li> +</ul> +<div class="description"> +<ul class="blockList"> +<li class="blockList"> +<hr> +<br> +<pre>public class <span class="typeNameLabel">Reference</span> +extends java.lang.Object</pre> +</li> +</ul> +</div> +<div class="summary"> +<ul class="blockList"> +<li class="blockList"> +<!-- =========== FIELD SUMMARY =========== --> +<ul class="blockList"> +<li class="blockList"><a name="field.summary"> +<!-- --> +</a> +<h3>Field Summary</h3> +<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Field Summary table, listing fields, and an explanation"> +<caption><span>Fields</span><span class="tabEnd"> </span></caption> +<tr> +<th class="colFirst" scope="col">Modifier and Type</th> +<th class="colLast" scope="col">Field and Description</th> +</tr> +<tr class="altColor"> +<td class="colFirst"><code>(package private) static java.util.List<java.lang.String></code></td> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../de/griefed/ServerPackCreator/Reference.html#clientMods">clientMods</a></span></code> </td> +</tr> +<tr class="rowColor"> +<td class="colFirst"><code>(package private) static com.typesafe.config.Config</code></td> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../de/griefed/ServerPackCreator/Reference.html#config">config</a></span></code> </td> +</tr> +<tr class="altColor"> +<td class="colFirst"><code>(package private) static java.lang.String</code></td> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../de/griefed/ServerPackCreator/Reference.html#CONFIG_GEN_ARGUMENT">CONFIG_GEN_ARGUMENT</a></span></code> </td> +</tr> +<tr class="rowColor"> +<td class="colFirst"><code>(package private) static java.io.File</code></td> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../de/griefed/ServerPackCreator/Reference.html#configFile">configFile</a></span></code> </td> +</tr> +<tr class="altColor"> +<td class="colFirst"><code>(package private) static java.util.List<java.lang.String></code></td> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../de/griefed/ServerPackCreator/Reference.html#copyDirs">copyDirs</a></span></code> </td> +</tr> +<tr class="rowColor"> +<td class="colFirst"><code>(package private) static java.lang.String</code></td> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../de/griefed/ServerPackCreator/Reference.html#FABRIC_MANIFEST_URL">FABRIC_MANIFEST_URL</a></span></code> </td> +</tr> +<tr class="altColor"> +<td class="colFirst"><code>(package private) static java.io.File</code></td> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../de/griefed/ServerPackCreator/Reference.html#fabricLinuxFile">fabricLinuxFile</a></span></code> </td> +</tr> +<tr class="rowColor"> +<td class="colFirst"><code>(package private) static java.io.File</code></td> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../de/griefed/ServerPackCreator/Reference.html#fabricWindowsFile">fabricWindowsFile</a></span></code> </td> +</tr> +<tr class="altColor"> +<td class="colFirst"><code>(package private) static java.lang.String</code></td> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../de/griefed/ServerPackCreator/Reference.html#FORGE_MANIFEST_URL">FORGE_MANIFEST_URL</a></span></code> </td> +</tr> +<tr class="rowColor"> +<td class="colFirst"><code>(package private) static java.io.File</code></td> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../de/griefed/ServerPackCreator/Reference.html#forgeLinuxFile">forgeLinuxFile</a></span></code> </td> +</tr> +<tr class="altColor"> +<td class="colFirst"><code>(package private) static java.io.File</code></td> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../de/griefed/ServerPackCreator/Reference.html#forgeWindowsFile">forgeWindowsFile</a></span></code> </td> +</tr> +<tr class="rowColor"> +<td class="colFirst"><code>(package private) static java.io.File</code></td> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../de/griefed/ServerPackCreator/Reference.html#iconFile">iconFile</a></span></code> </td> +</tr> +<tr class="altColor"> +<td class="colFirst"><code>(package private) static java.lang.Boolean</code></td> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../de/griefed/ServerPackCreator/Reference.html#includeServerIcon">includeServerIcon</a></span></code> </td> +</tr> +<tr class="rowColor"> +<td class="colFirst"><code>(package private) static java.lang.Boolean</code></td> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../de/griefed/ServerPackCreator/Reference.html#includeServerInstallation">includeServerInstallation</a></span></code> </td> +</tr> +<tr class="altColor"> +<td class="colFirst"><code>(package private) static java.lang.Boolean</code></td> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../de/griefed/ServerPackCreator/Reference.html#includeServerProperties">includeServerProperties</a></span></code> </td> +</tr> +<tr class="rowColor"> +<td class="colFirst"><code>(package private) static java.lang.Boolean</code></td> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../de/griefed/ServerPackCreator/Reference.html#includeStartScripts">includeStartScripts</a></span></code> </td> +</tr> +<tr class="altColor"> +<td class="colFirst"><code>(package private) static java.lang.Boolean</code></td> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../de/griefed/ServerPackCreator/Reference.html#includeZipCreation">includeZipCreation</a></span></code> </td> +</tr> +<tr class="rowColor"> +<td class="colFirst"><code>(package private) static java.lang.String</code></td> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../de/griefed/ServerPackCreator/Reference.html#javaPath">javaPath</a></span></code> </td> +</tr> +<tr class="altColor"> +<td class="colFirst"><code>(package private) static java.lang.String</code></td> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../de/griefed/ServerPackCreator/Reference.html#LANG_ARGUMENT">LANG_ARGUMENT</a></span></code> </td> +</tr> +<tr class="rowColor"> +<td class="colFirst"><code>(package private) static java.io.File</code></td> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../de/griefed/ServerPackCreator/Reference.html#langPropertiesFile">langPropertiesFile</a></span></code> </td> +</tr> +<tr class="altColor"> +<td class="colFirst"><code>(package private) static java.lang.String</code></td> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../de/griefed/ServerPackCreator/Reference.html#MINECRAFT_MANIFEST_URL">MINECRAFT_MANIFEST_URL</a></span></code> </td> +</tr> +<tr class="rowColor"> +<td class="colFirst"><code>(package private) static java.lang.String</code></td> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../de/griefed/ServerPackCreator/Reference.html#minecraftVersion">minecraftVersion</a></span></code> </td> +</tr> +<tr class="altColor"> +<td class="colFirst"><code>(package private) static java.lang.String</code></td> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../de/griefed/ServerPackCreator/Reference.html#modLoader">modLoader</a></span></code> </td> +</tr> +<tr class="rowColor"> +<td class="colFirst"><code>(package private) static java.lang.String</code></td> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../de/griefed/ServerPackCreator/Reference.html#modLoaderVersion">modLoaderVersion</a></span></code> </td> +</tr> +<tr class="altColor"> +<td class="colFirst"><code>(package private) static java.lang.String</code></td> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../de/griefed/ServerPackCreator/Reference.html#modpackDir">modpackDir</a></span></code> </td> +</tr> +<tr class="rowColor"> +<td class="colFirst"><code>(package private) static java.io.File</code></td> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../de/griefed/ServerPackCreator/Reference.html#oldConfigFile">oldConfigFile</a></span></code> </td> +</tr> +<tr class="altColor"> +<td class="colFirst"><code>(package private) static int</code></td> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../de/griefed/ServerPackCreator/Reference.html#projectFileID">projectFileID</a></span></code> </td> +</tr> +<tr class="rowColor"> +<td class="colFirst"><code>(package private) static int</code></td> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../de/griefed/ServerPackCreator/Reference.html#projectID">projectID</a></span></code> </td> +</tr> +<tr class="altColor"> +<td class="colFirst"><code>(package private) static java.io.File</code></td> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../de/griefed/ServerPackCreator/Reference.html#propertiesFile">propertiesFile</a></span></code> </td> +</tr> +<tr class="rowColor"> +<td class="colFirst"><code>static java.lang.String[]</code></td> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../de/griefed/ServerPackCreator/Reference.html#SUPPORTED_LANGUAGES">SUPPORTED_LANGUAGES</a></span></code> </td> +</tr> +</table> +</li> +</ul> +<!-- ======== CONSTRUCTOR SUMMARY ======== --> +<ul class="blockList"> +<li class="blockList"><a name="constructor.summary"> +<!-- --> +</a> +<h3>Constructor Summary</h3> +<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Constructor Summary table, listing constructors, and an explanation"> +<caption><span>Constructors</span><span class="tabEnd"> </span></caption> +<tr> +<th class="colOne" scope="col">Constructor and Description</th> +</tr> +<tr class="altColor"> +<td class="colOne"><code><span class="memberNameLink"><a href="../../../de/griefed/ServerPackCreator/Reference.html#Reference--">Reference</a></span>()</code> </td> +</tr> +</table> +</li> +</ul> +<!-- ========== METHOD SUMMARY =========== --> +<ul class="blockList"> +<li class="blockList"><a name="method.summary"> +<!-- --> +</a> +<h3>Method Summary</h3> +<ul class="blockList"> +<li class="blockList"><a name="methods.inherited.from.class.java.lang.Object"> +<!-- --> +</a> +<h3>Methods inherited from class java.lang.Object</h3> +<code>clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait</code></li> +</ul> +</li> +</ul> +</li> +</ul> +</div> +<div class="details"> +<ul class="blockList"> +<li class="blockList"> +<!-- ============ FIELD DETAIL =========== --> +<ul class="blockList"> +<li class="blockList"><a name="field.detail"> +<!-- --> +</a> +<h3>Field Detail</h3> +<a name="MINECRAFT_MANIFEST_URL"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>MINECRAFT_MANIFEST_URL</h4> +<pre>static final java.lang.String MINECRAFT_MANIFEST_URL</pre> +<dl> +<dt><span class="seeLabel">See Also:</span></dt> +<dd><a href="../../../constant-values.html#de.griefed.ServerPackCreator.Reference.MINECRAFT_MANIFEST_URL">Constant Field Values</a></dd> +</dl> +</li> +</ul> +<a name="FORGE_MANIFEST_URL"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>FORGE_MANIFEST_URL</h4> +<pre>static final java.lang.String FORGE_MANIFEST_URL</pre> +<dl> +<dt><span class="seeLabel">See Also:</span></dt> +<dd><a href="../../../constant-values.html#de.griefed.ServerPackCreator.Reference.FORGE_MANIFEST_URL">Constant Field Values</a></dd> +</dl> +</li> +</ul> +<a name="FABRIC_MANIFEST_URL"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>FABRIC_MANIFEST_URL</h4> +<pre>static final java.lang.String FABRIC_MANIFEST_URL</pre> +<dl> +<dt><span class="seeLabel">See Also:</span></dt> +<dd><a href="../../../constant-values.html#de.griefed.ServerPackCreator.Reference.FABRIC_MANIFEST_URL">Constant Field Values</a></dd> +</dl> +</li> +</ul> +<a name="CONFIG_GEN_ARGUMENT"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>CONFIG_GEN_ARGUMENT</h4> +<pre>static final java.lang.String CONFIG_GEN_ARGUMENT</pre> +<dl> +<dt><span class="seeLabel">See Also:</span></dt> +<dd><a href="../../../constant-values.html#de.griefed.ServerPackCreator.Reference.CONFIG_GEN_ARGUMENT">Constant Field Values</a></dd> +</dl> +</li> +</ul> +<a name="LANG_ARGUMENT"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>LANG_ARGUMENT</h4> +<pre>static final java.lang.String LANG_ARGUMENT</pre> +<dl> +<dt><span class="seeLabel">See Also:</span></dt> +<dd><a href="../../../constant-values.html#de.griefed.ServerPackCreator.Reference.LANG_ARGUMENT">Constant Field Values</a></dd> +</dl> +</li> +</ul> +<a name="oldConfigFile"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>oldConfigFile</h4> +<pre>static final java.io.File oldConfigFile</pre> +</li> +</ul> +<a name="configFile"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>configFile</h4> +<pre>static final java.io.File configFile</pre> +</li> +</ul> +<a name="propertiesFile"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>propertiesFile</h4> +<pre>static final java.io.File propertiesFile</pre> +</li> +</ul> +<a name="langPropertiesFile"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>langPropertiesFile</h4> +<pre>static final java.io.File langPropertiesFile</pre> +</li> +</ul> +<a name="iconFile"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>iconFile</h4> +<pre>static final java.io.File iconFile</pre> +</li> +</ul> +<a name="forgeWindowsFile"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>forgeWindowsFile</h4> +<pre>static final java.io.File forgeWindowsFile</pre> +</li> +</ul> +<a name="forgeLinuxFile"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>forgeLinuxFile</h4> +<pre>static final java.io.File forgeLinuxFile</pre> +</li> +</ul> +<a name="fabricWindowsFile"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>fabricWindowsFile</h4> +<pre>static final java.io.File fabricWindowsFile</pre> +</li> +</ul> +<a name="fabricLinuxFile"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>fabricLinuxFile</h4> +<pre>static final java.io.File fabricLinuxFile</pre> +</li> +</ul> +<a name="SUPPORTED_LANGUAGES"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>SUPPORTED_LANGUAGES</h4> +<pre>public static final java.lang.String[] SUPPORTED_LANGUAGES</pre> +</li> +</ul> +<a name="config"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>config</h4> +<pre>static com.typesafe.config.Config config</pre> +</li> +</ul> +<a name="clientMods"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>clientMods</h4> +<pre>static java.util.List<java.lang.String> clientMods</pre> +</li> +</ul> +<a name="copyDirs"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>copyDirs</h4> +<pre>static java.util.List<java.lang.String> copyDirs</pre> +</li> +</ul> +<a name="modpackDir"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>modpackDir</h4> +<pre>static java.lang.String modpackDir</pre> +</li> +</ul> +<a name="javaPath"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>javaPath</h4> +<pre>static java.lang.String javaPath</pre> +</li> +</ul> +<a name="minecraftVersion"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>minecraftVersion</h4> +<pre>static java.lang.String minecraftVersion</pre> +</li> +</ul> +<a name="modLoader"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>modLoader</h4> +<pre>static java.lang.String modLoader</pre> +</li> +</ul> +<a name="modLoaderVersion"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>modLoaderVersion</h4> +<pre>static java.lang.String modLoaderVersion</pre> +</li> +</ul> +<a name="includeServerInstallation"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>includeServerInstallation</h4> +<pre>static java.lang.Boolean includeServerInstallation</pre> +</li> +</ul> +<a name="includeServerIcon"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>includeServerIcon</h4> +<pre>static java.lang.Boolean includeServerIcon</pre> +</li> +</ul> +<a name="includeServerProperties"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>includeServerProperties</h4> +<pre>static java.lang.Boolean includeServerProperties</pre> +</li> +</ul> +<a name="includeStartScripts"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>includeStartScripts</h4> +<pre>static java.lang.Boolean includeStartScripts</pre> +</li> +</ul> +<a name="includeZipCreation"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>includeZipCreation</h4> +<pre>static java.lang.Boolean includeZipCreation</pre> +</li> +</ul> +<a name="projectID"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>projectID</h4> +<pre>static int projectID</pre> +</li> +</ul> +<a name="projectFileID"> +<!-- --> +</a> +<ul class="blockListLast"> +<li class="blockList"> +<h4>projectFileID</h4> +<pre>static int projectFileID</pre> +</li> +</ul> +</li> +</ul> +<!-- ========= CONSTRUCTOR DETAIL ======== --> +<ul class="blockList"> +<li class="blockList"><a name="constructor.detail"> +<!-- --> +</a> +<h3>Constructor Detail</h3> +<a name="Reference--"> +<!-- --> +</a> +<ul class="blockListLast"> +<li class="blockList"> +<h4>Reference</h4> +<pre>public Reference()</pre> +</li> +</ul> +</li> +</ul> +</li> +</ul> +</div> +</div> +<!-- ========= END OF CLASS DATA ========= --> +<!-- ======= START OF BOTTOM NAVBAR ====== --> +<div class="bottomNav"><a name="navbar.bottom"> +<!-- --> +</a> +<div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div> +<a name="navbar.bottom.firstrow"> +<!-- --> +</a> +<ul class="navList" title="Navigation"> +<li><a href="../../../overview-summary.html">Overview</a></li> +<li><a href="package-summary.html">Package</a></li> +<li class="navBarCell1Rev">Class</li> +<li><a href="package-tree.html">Tree</a></li> +<li><a href="../../../deprecated-list.html">Deprecated</a></li> +<li><a href="../../../index-all.html">Index</a></li> +<li><a href="../../../help-doc.html">Help</a></li> +</ul> +</div> +<div class="subNav"> +<ul class="navList"> +<li><a href="../../../de/griefed/ServerPackCreator/Main.html" title="class in de.griefed.ServerPackCreator"><span class="typeNameLink">Prev Class</span></a></li> +<li><a href="../../../de/griefed/ServerPackCreator/ServerSetup.html" title="class in de.griefed.ServerPackCreator"><span class="typeNameLink">Next Class</span></a></li> +</ul> +<ul class="navList"> +<li><a href="../../../index.html?de/griefed/ServerPackCreator/Reference.html" target="_top">Frames</a></li> +<li><a href="Reference.html" target="_top">No Frames</a></li> +</ul> +<ul class="navList" id="allclasses_navbar_bottom"> +<li><a href="../../../allclasses-noframe.html">All Classes</a></li> +</ul> +<div> +<script type="text/javascript"><!-- + allClassesLink = document.getElementById("allclasses_navbar_bottom"); + if(window==top) { + allClassesLink.style.display = "block"; + } + else { + allClassesLink.style.display = "none"; + } + //--> +</script> +</div> +<div> +<ul class="subNavList"> +<li>Summary: </li> +<li>Nested | </li> +<li><a href="#field.summary">Field</a> | </li> +<li><a href="#constructor.summary">Constr</a> | </li> +<li><a href="#methods.inherited.from.class.java.lang.Object">Method</a></li> +</ul> +<ul class="subNavList"> +<li>Detail: </li> +<li><a href="#field.detail">Field</a> | </li> +<li><a href="#constructor.detail">Constr</a> | </li> +<li>Method</li> +</ul> +</div> +<a name="skip.navbar.bottom"> +<!-- --> +</a></div> +<!-- ======== END OF BOTTOM NAVBAR ======= --> +</body> +</html> diff --git a/docs/docs/javadoc/de/griefed/ServerPackCreator/ServerSetup.html b/docs/docs/javadoc/de/griefed/ServerPackCreator/ServerSetup.html new file mode 100644 index 000000000..43598956f --- /dev/null +++ b/docs/docs/javadoc/de/griefed/ServerPackCreator/ServerSetup.html @@ -0,0 +1,388 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> +<!-- NewPage --> +<html lang="de"> +<head> +<!-- Generated by javadoc --> +<title>ServerSetup (ServerPackCreator API)</title> +<link rel="stylesheet" type="text/css" href="../../../stylesheet.css" title="Style"> +<script type="text/javascript" src="../../../script.js"></script> +</head> +<body> +<script type="text/javascript"><!-- + try { + if (location.href.indexOf('is-external=true') == -1) { + parent.document.title="ServerSetup (ServerPackCreator API)"; + } + } + catch(err) { + } +//--> +var methods = {"i0":41,"i1":9,"i2":9}; +var tabs = {65535:["t0","All Methods"],1:["t1","Static Methods"],8:["t4","Concrete Methods"],32:["t6","Deprecated Methods"]}; +var altColor = "altColor"; +var rowColor = "rowColor"; +var tableTab = "tableTab"; +var activeTableTab = "activeTableTab"; +</script> +<noscript> +<div>JavaScript is disabled on your browser.</div> +</noscript> +<!-- ========= START OF TOP NAVBAR ======= --> +<div class="topNav"><a name="navbar.top"> +<!-- --> +</a> +<div class="skipNav"><a href="#skip.navbar.top" title="Skip navigation links">Skip navigation links</a></div> +<a name="navbar.top.firstrow"> +<!-- --> +</a> +<ul class="navList" title="Navigation"> +<li><a href="../../../overview-summary.html">Overview</a></li> +<li><a href="package-summary.html">Package</a></li> +<li class="navBarCell1Rev">Class</li> +<li><a href="package-tree.html">Tree</a></li> +<li><a href="../../../deprecated-list.html">Deprecated</a></li> +<li><a href="../../../index-all.html">Index</a></li> +<li><a href="../../../help-doc.html">Help</a></li> +</ul> +</div> +<div class="subNav"> +<ul class="navList"> +<li><a href="../../../de/griefed/ServerPackCreator/Reference.html" title="class in de.griefed.ServerPackCreator"><span class="typeNameLink">Prev Class</span></a></li> +<li><a href="../../../de/griefed/ServerPackCreator/ServerUtilities.html" title="class in de.griefed.ServerPackCreator"><span class="typeNameLink">Next Class</span></a></li> +</ul> +<ul class="navList"> +<li><a href="../../../index.html?de/griefed/ServerPackCreator/ServerSetup.html" target="_top">Frames</a></li> +<li><a href="ServerSetup.html" target="_top">No Frames</a></li> +</ul> +<ul class="navList" id="allclasses_navbar_top"> +<li><a href="../../../allclasses-noframe.html">All Classes</a></li> +</ul> +<div> +<script type="text/javascript"><!-- + allClassesLink = document.getElementById("allclasses_navbar_top"); + if(window==top) { + allClassesLink.style.display = "block"; + } + else { + allClassesLink.style.display = "none"; + } + //--> +</script> +</div> +<div> +<ul class="subNavList"> +<li>Summary: </li> +<li>Nested | </li> +<li><a href="#field.summary">Field</a> | </li> +<li><a href="#constructor.summary">Constr</a> | </li> +<li><a href="#method.summary">Method</a></li> +</ul> +<ul class="subNavList"> +<li>Detail: </li> +<li><a href="#field.detail">Field</a> | </li> +<li><a href="#constructor.detail">Constr</a> | </li> +<li><a href="#method.detail">Method</a></li> +</ul> +</div> +<a name="skip.navbar.top"> +<!-- --> +</a></div> +<!-- ========= END OF TOP NAVBAR ========= --> +<!-- ======== START OF CLASS DATA ======== --> +<div class="header"> +<div class="subTitle">de.griefed.ServerPackCreator</div> +<h2 title="Class ServerSetup" class="title">Class ServerSetup</h2> +</div> +<div class="contentContainer"> +<ul class="inheritance"> +<li>java.lang.Object</li> +<li> +<ul class="inheritance"> +<li>de.griefed.ServerPackCreator.ServerSetup</li> +</ul> +</li> +</ul> +<div class="description"> +<ul class="blockList"> +<li class="blockList"> +<hr> +<br> +<pre>class <span class="typeNameLabel">ServerSetup</span> +extends java.lang.Object</pre> +</li> +</ul> +</div> +<div class="summary"> +<ul class="blockList"> +<li class="blockList"> +<!-- =========== FIELD SUMMARY =========== --> +<ul class="blockList"> +<li class="blockList"><a name="field.summary"> +<!-- --> +</a> +<h3>Field Summary</h3> +<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Field Summary table, listing fields, and an explanation"> +<caption><span>Fields</span><span class="tabEnd"> </span></caption> +<tr> +<th class="colFirst" scope="col">Modifier and Type</th> +<th class="colLast" scope="col">Field and Description</th> +</tr> +<tr class="altColor"> +<td class="colFirst"><code>private static org.apache.logging.log4j.Logger</code></td> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../de/griefed/ServerPackCreator/ServerSetup.html#appLogger">appLogger</a></span></code> </td> +</tr> +<tr class="rowColor"> +<td class="colFirst"><code>private static org.apache.logging.log4j.Logger</code></td> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../de/griefed/ServerPackCreator/ServerSetup.html#installerLogger">installerLogger</a></span></code> </td> +</tr> +</table> +</li> +</ul> +<!-- ======== CONSTRUCTOR SUMMARY ======== --> +<ul class="blockList"> +<li class="blockList"><a name="constructor.summary"> +<!-- --> +</a> +<h3>Constructor Summary</h3> +<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Constructor Summary table, listing constructors, and an explanation"> +<caption><span>Constructors</span><span class="tabEnd"> </span></caption> +<tr> +<th class="colOne" scope="col">Constructor and Description</th> +</tr> +<tr class="altColor"> +<td class="colOne"><code><span class="memberNameLink"><a href="../../../de/griefed/ServerPackCreator/ServerSetup.html#ServerSetup--">ServerSetup</a></span>()</code> </td> +</tr> +</table> +</li> +</ul> +<!-- ========== METHOD SUMMARY =========== --> +<ul class="blockList"> +<li class="blockList"><a name="method.summary"> +<!-- --> +</a> +<h3>Method Summary</h3> +<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation"> +<caption><span id="t0" class="activeTableTab"><span>All Methods</span><span class="tabEnd"> </span></span><span id="t1" class="tableTab"><span><a href="javascript:show(1);">Static Methods</a></span><span class="tabEnd"> </span></span><span id="t4" class="tableTab"><span><a href="javascript:show(8);">Concrete Methods</a></span><span class="tabEnd"> </span></span><span id="t6" class="tableTab"><span><a href="javascript:show(32);">Deprecated Methods</a></span><span class="tabEnd"> </span></span></caption> +<tr> +<th class="colFirst" scope="col">Modifier and Type</th> +<th class="colLast" scope="col">Method and Description</th> +</tr> +<tr id="i0" class="altColor"> +<td class="colFirst"><code>(package private) static void</code></td> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../de/griefed/ServerPackCreator/ServerSetup.html#deleteClientMods-java.lang.String-java.util.List-">deleteClientMods</a></span>(java.lang.String modpackDir, + java.util.List<java.lang.String> clientMods)</code> +<div class="block"><span class="deprecatedLabel">Deprecated.</span> </div> +</td> +</tr> +<tr id="i1" class="rowColor"> +<td class="colFirst"><code>(package private) static void</code></td> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../de/griefed/ServerPackCreator/ServerSetup.html#installServer-java.lang.String-java.lang.String-java.lang.String-java.lang.String-java.lang.String-">installServer</a></span>(java.lang.String modLoader, + java.lang.String modpackDir, + java.lang.String minecraftVersion, + java.lang.String modLoaderVersion, + java.lang.String javaPath)</code> +<div class="block">Installs the files for a Forge/Fabric server.</div> +</td> +</tr> +<tr id="i2" class="altColor"> +<td class="colFirst"><code>(package private) static void</code></td> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../de/griefed/ServerPackCreator/ServerSetup.html#zipBuilder-java.lang.String-java.lang.String-java.lang.Boolean-">zipBuilder</a></span>(java.lang.String modpackDir, + java.lang.String modLoader, + java.lang.Boolean includeServerInstallation)</code> +<div class="block">Create a zip-archive of the serverpack, excluding Mojang's minecraft_server.jar.</div> +</td> +</tr> +</table> +<ul class="blockList"> +<li class="blockList"><a name="methods.inherited.from.class.java.lang.Object"> +<!-- --> +</a> +<h3>Methods inherited from class java.lang.Object</h3> +<code>clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait</code></li> +</ul> +</li> +</ul> +</li> +</ul> +</div> +<div class="details"> +<ul class="blockList"> +<li class="blockList"> +<!-- ============ FIELD DETAIL =========== --> +<ul class="blockList"> +<li class="blockList"><a name="field.detail"> +<!-- --> +</a> +<h3>Field Detail</h3> +<a name="appLogger"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>appLogger</h4> +<pre>private static final org.apache.logging.log4j.Logger appLogger</pre> +</li> +</ul> +<a name="installerLogger"> +<!-- --> +</a> +<ul class="blockListLast"> +<li class="blockList"> +<h4>installerLogger</h4> +<pre>private static final org.apache.logging.log4j.Logger installerLogger</pre> +</li> +</ul> +</li> +</ul> +<!-- ========= CONSTRUCTOR DETAIL ======== --> +<ul class="blockList"> +<li class="blockList"><a name="constructor.detail"> +<!-- --> +</a> +<h3>Constructor Detail</h3> +<a name="ServerSetup--"> +<!-- --> +</a> +<ul class="blockListLast"> +<li class="blockList"> +<h4>ServerSetup</h4> +<pre>ServerSetup()</pre> +</li> +</ul> +</li> +</ul> +<!-- ============ METHOD DETAIL ========== --> +<ul class="blockList"> +<li class="blockList"><a name="method.detail"> +<!-- --> +</a> +<h3>Method Detail</h3> +<a name="installServer-java.lang.String-java.lang.String-java.lang.String-java.lang.String-java.lang.String-"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>installServer</h4> +<pre>static void installServer(java.lang.String modLoader, + java.lang.String modpackDir, + java.lang.String minecraftVersion, + java.lang.String modLoaderVersion, + java.lang.String javaPath)</pre> +<div class="block">Installs the files for a Forge/Fabric server.</div> +<dl> +<dt><span class="paramLabel">Parameters:</span></dt> +<dd><code>modLoader</code> - String. The modloader for which to install the server.</dd> +<dd><code>modpackDir</code> - String. /server_pack The directory where the modloader server will be installed in.</dd> +<dd><code>minecraftVersion</code> - String. The Minecraft version for which to install the modloader and Minecraft server.</dd> +<dd><code>modLoaderVersion</code> - String. The modloader version for which to install the modloader and Minecraft server.</dd> +<dd><code>javaPath</code> - String. Path to Java installation needed to execute the Fabric and Forge installers.</dd> +</dl> +</li> +</ul> +<a name="zipBuilder-java.lang.String-java.lang.String-java.lang.Boolean-"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>zipBuilder</h4> +<pre>static void zipBuilder(java.lang.String modpackDir, + java.lang.String modLoader, + java.lang.Boolean includeServerInstallation)</pre> +<div class="block">Create a zip-archive of the serverpack, excluding Mojang's minecraft_server.jar. + With help from https://stackoverflow.com/questions/1091788/how-to-create-a-zip-file-in-java</div> +<dl> +<dt><span class="paramLabel">Parameters:</span></dt> +<dd><code>modpackDir</code> - String. The directory where the zip-archive will be created and saved in.</dd> +<dd><code>modLoader</code> - String. Determines the name of Minecraft#s server jar which will be deleted from the zip-archive.</dd> +<dd><code>includeServerInstallation</code> - Boolean. Determines whether the Minecraft server jar needs to be deleted from the zip-archive.</dd> +</dl> +</li> +</ul> +<a name="deleteClientMods-java.lang.String-java.util.List-"> +<!-- --> +</a> +<ul class="blockListLast"> +<li class="blockList"> +<h4>deleteClientMods</h4> +<pre>@Deprecated +static void deleteClientMods(java.lang.String modpackDir, + java.util.List<java.lang.String> clientMods)</pre> +<div class="block"><span class="deprecatedLabel">Deprecated.</span> </div> +<div class="block">Deletes client-side-only mods in server_pack, if specified.</div> +<dl> +<dt><span class="paramLabel">Parameters:</span></dt> +<dd><code>modpackDir</code> - String. /server_pack/mods The directory where the files will be deleted.</dd> +<dd><code>clientMods</code> - String List. Client mods to delete.</dd> +</dl> +</li> +</ul> +</li> +</ul> +</li> +</ul> +</div> +</div> +<!-- ========= END OF CLASS DATA ========= --> +<!-- ======= START OF BOTTOM NAVBAR ====== --> +<div class="bottomNav"><a name="navbar.bottom"> +<!-- --> +</a> +<div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div> +<a name="navbar.bottom.firstrow"> +<!-- --> +</a> +<ul class="navList" title="Navigation"> +<li><a href="../../../overview-summary.html">Overview</a></li> +<li><a href="package-summary.html">Package</a></li> +<li class="navBarCell1Rev">Class</li> +<li><a href="package-tree.html">Tree</a></li> +<li><a href="../../../deprecated-list.html">Deprecated</a></li> +<li><a href="../../../index-all.html">Index</a></li> +<li><a href="../../../help-doc.html">Help</a></li> +</ul> +</div> +<div class="subNav"> +<ul class="navList"> +<li><a href="../../../de/griefed/ServerPackCreator/Reference.html" title="class in de.griefed.ServerPackCreator"><span class="typeNameLink">Prev Class</span></a></li> +<li><a href="../../../de/griefed/ServerPackCreator/ServerUtilities.html" title="class in de.griefed.ServerPackCreator"><span class="typeNameLink">Next Class</span></a></li> +</ul> +<ul class="navList"> +<li><a href="../../../index.html?de/griefed/ServerPackCreator/ServerSetup.html" target="_top">Frames</a></li> +<li><a href="ServerSetup.html" target="_top">No Frames</a></li> +</ul> +<ul class="navList" id="allclasses_navbar_bottom"> +<li><a href="../../../allclasses-noframe.html">All Classes</a></li> +</ul> +<div> +<script type="text/javascript"><!-- + allClassesLink = document.getElementById("allclasses_navbar_bottom"); + if(window==top) { + allClassesLink.style.display = "block"; + } + else { + allClassesLink.style.display = "none"; + } + //--> +</script> +</div> +<div> +<ul class="subNavList"> +<li>Summary: </li> +<li>Nested | </li> +<li><a href="#field.summary">Field</a> | </li> +<li><a href="#constructor.summary">Constr</a> | </li> +<li><a href="#method.summary">Method</a></li> +</ul> +<ul class="subNavList"> +<li>Detail: </li> +<li><a href="#field.detail">Field</a> | </li> +<li><a href="#constructor.detail">Constr</a> | </li> +<li><a href="#method.detail">Method</a></li> +</ul> +</div> +<a name="skip.navbar.bottom"> +<!-- --> +</a></div> +<!-- ======== END OF BOTTOM NAVBAR ======= --> +</body> +</html> diff --git a/docs/docs/javadoc/de/griefed/ServerPackCreator/ServerUtilities.html b/docs/docs/javadoc/de/griefed/ServerPackCreator/ServerUtilities.html new file mode 100644 index 000000000..2096156ab --- /dev/null +++ b/docs/docs/javadoc/de/griefed/ServerPackCreator/ServerUtilities.html @@ -0,0 +1,540 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> +<!-- NewPage --> +<html lang="de"> +<head> +<!-- Generated by javadoc --> +<title>ServerUtilities (ServerPackCreator API)</title> +<link rel="stylesheet" type="text/css" href="../../../stylesheet.css" title="Style"> +<script type="text/javascript" src="../../../script.js"></script> +</head> +<body> +<script type="text/javascript"><!-- + try { + if (location.href.indexOf('is-external=true') == -1) { + parent.document.title="ServerUtilities (ServerPackCreator API)"; + } + } + catch(err) { + } +//--> +var methods = {"i0":9,"i1":9,"i2":9,"i3":9,"i4":9,"i5":9,"i6":9,"i7":9,"i8":9,"i9":9}; +var tabs = {65535:["t0","All Methods"],1:["t1","Static Methods"],8:["t4","Concrete Methods"]}; +var altColor = "altColor"; +var rowColor = "rowColor"; +var tableTab = "tableTab"; +var activeTableTab = "activeTableTab"; +</script> +<noscript> +<div>JavaScript is disabled on your browser.</div> +</noscript> +<!-- ========= START OF TOP NAVBAR ======= --> +<div class="topNav"><a name="navbar.top"> +<!-- --> +</a> +<div class="skipNav"><a href="#skip.navbar.top" title="Skip navigation links">Skip navigation links</a></div> +<a name="navbar.top.firstrow"> +<!-- --> +</a> +<ul class="navList" title="Navigation"> +<li><a href="../../../overview-summary.html">Overview</a></li> +<li><a href="package-summary.html">Package</a></li> +<li class="navBarCell1Rev">Class</li> +<li><a href="package-tree.html">Tree</a></li> +<li><a href="../../../deprecated-list.html">Deprecated</a></li> +<li><a href="../../../index-all.html">Index</a></li> +<li><a href="../../../help-doc.html">Help</a></li> +</ul> +</div> +<div class="subNav"> +<ul class="navList"> +<li><a href="../../../de/griefed/ServerPackCreator/ServerSetup.html" title="class in de.griefed.ServerPackCreator"><span class="typeNameLink">Prev Class</span></a></li> +<li>Next Class</li> +</ul> +<ul class="navList"> +<li><a href="../../../index.html?de/griefed/ServerPackCreator/ServerUtilities.html" target="_top">Frames</a></li> +<li><a href="ServerUtilities.html" target="_top">No Frames</a></li> +</ul> +<ul class="navList" id="allclasses_navbar_top"> +<li><a href="../../../allclasses-noframe.html">All Classes</a></li> +</ul> +<div> +<script type="text/javascript"><!-- + allClassesLink = document.getElementById("allclasses_navbar_top"); + if(window==top) { + allClassesLink.style.display = "block"; + } + else { + allClassesLink.style.display = "none"; + } + //--> +</script> +</div> +<div> +<ul class="subNavList"> +<li>Summary: </li> +<li>Nested | </li> +<li><a href="#field.summary">Field</a> | </li> +<li><a href="#constructor.summary">Constr</a> | </li> +<li><a href="#method.summary">Method</a></li> +</ul> +<ul class="subNavList"> +<li>Detail: </li> +<li><a href="#field.detail">Field</a> | </li> +<li><a href="#constructor.detail">Constr</a> | </li> +<li><a href="#method.detail">Method</a></li> +</ul> +</div> +<a name="skip.navbar.top"> +<!-- --> +</a></div> +<!-- ========= END OF TOP NAVBAR ========= --> +<!-- ======== START OF CLASS DATA ======== --> +<div class="header"> +<div class="subTitle">de.griefed.ServerPackCreator</div> +<h2 title="Class ServerUtilities" class="title">Class ServerUtilities</h2> +</div> +<div class="contentContainer"> +<ul class="inheritance"> +<li>java.lang.Object</li> +<li> +<ul class="inheritance"> +<li>de.griefed.ServerPackCreator.ServerUtilities</li> +</ul> +</li> +</ul> +<div class="description"> +<ul class="blockList"> +<li class="blockList"> +<hr> +<br> +<pre>class <span class="typeNameLabel">ServerUtilities</span> +extends java.lang.Object</pre> +</li> +</ul> +</div> +<div class="summary"> +<ul class="blockList"> +<li class="blockList"> +<!-- =========== FIELD SUMMARY =========== --> +<ul class="blockList"> +<li class="blockList"><a name="field.summary"> +<!-- --> +</a> +<h3>Field Summary</h3> +<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Field Summary table, listing fields, and an explanation"> +<caption><span>Fields</span><span class="tabEnd"> </span></caption> +<tr> +<th class="colFirst" scope="col">Modifier and Type</th> +<th class="colLast" scope="col">Field and Description</th> +</tr> +<tr class="altColor"> +<td class="colFirst"><code>private static org.apache.logging.log4j.Logger</code></td> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../de/griefed/ServerPackCreator/ServerUtilities.html#appLogger">appLogger</a></span></code> </td> +</tr> +</table> +</li> +</ul> +<!-- ======== CONSTRUCTOR SUMMARY ======== --> +<ul class="blockList"> +<li class="blockList"><a name="constructor.summary"> +<!-- --> +</a> +<h3>Constructor Summary</h3> +<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Constructor Summary table, listing constructors, and an explanation"> +<caption><span>Constructors</span><span class="tabEnd"> </span></caption> +<tr> +<th class="colOne" scope="col">Constructor and Description</th> +</tr> +<tr class="altColor"> +<td class="colOne"><code><span class="memberNameLink"><a href="../../../de/griefed/ServerPackCreator/ServerUtilities.html#ServerUtilities--">ServerUtilities</a></span>()</code> </td> +</tr> +</table> +</li> +</ul> +<!-- ========== METHOD SUMMARY =========== --> +<ul class="blockList"> +<li class="blockList"><a name="method.summary"> +<!-- --> +</a> +<h3>Method Summary</h3> +<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation"> +<caption><span id="t0" class="activeTableTab"><span>All Methods</span><span class="tabEnd"> </span></span><span id="t1" class="tableTab"><span><a href="javascript:show(1);">Static Methods</a></span><span class="tabEnd"> </span></span><span id="t4" class="tableTab"><span><a href="javascript:show(8);">Concrete Methods</a></span><span class="tabEnd"> </span></span></caption> +<tr> +<th class="colFirst" scope="col">Modifier and Type</th> +<th class="colLast" scope="col">Method and Description</th> +</tr> +<tr id="i0" class="altColor"> +<td class="colFirst"><code>(package private) static void</code></td> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../de/griefed/ServerPackCreator/ServerUtilities.html#cleanUpServerPack-java.io.File-java.io.File-java.lang.String-java.lang.String-java.lang.String-java.lang.String-">cleanUpServerPack</a></span>(java.io.File fabricInstaller, + java.io.File forgeInstaller, + java.lang.String modLoader, + java.lang.String modpackDir, + java.lang.String minecraftVersion, + java.lang.String modLoaderVersion)</code> +<div class="block">Deletes remnant files from Fabric/Forge installation no longer needed.</div> +</td> +</tr> +<tr id="i1" class="rowColor"> +<td class="colFirst"><code>(package private) static void</code></td> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../de/griefed/ServerPackCreator/ServerUtilities.html#deleteMinecraftJar-java.lang.String-java.lang.String-">deleteMinecraftJar</a></span>(java.lang.String modLoader, + java.lang.String modpackDir)</code> +<div class="block">Deletes Mojang's minecraft_server.jar from the zip-archive so users do not accidentally upload a file containing software from Mojang.</div> +</td> +</tr> +<tr id="i2" class="altColor"> +<td class="colFirst"><code>(package private) static boolean</code></td> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../de/griefed/ServerPackCreator/ServerUtilities.html#downloadFabricJar-java.lang.String-">downloadFabricJar</a></span>(java.lang.String modpackDir)</code> +<div class="block">Downloads the specified version of Fabric.</div> +</td> +</tr> +<tr id="i3" class="rowColor"> +<td class="colFirst"><code>(package private) static boolean</code></td> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../de/griefed/ServerPackCreator/ServerUtilities.html#downloadForgeJar-java.lang.String-java.lang.String-java.lang.String-">downloadForgeJar</a></span>(java.lang.String minecraftVersion, + java.lang.String modLoaderVersion, + java.lang.String modpackDir)</code> +<div class="block">Downloads the specified version of the Forge installer to be used in ServerSetup.installServer.</div> +</td> +</tr> +<tr id="i4" class="altColor"> +<td class="colFirst"><code>private static void</code></td> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../de/griefed/ServerPackCreator/ServerUtilities.html#fabricBatch-java.lang.String-java.lang.String-">fabricBatch</a></span>(java.lang.String modpackDir, + java.lang.String minecraftVersion)</code> +<div class="block">Generates download scripts for Mojang's Minecraft server for Fabric,Windows.</div> +</td> +</tr> +<tr id="i5" class="rowColor"> +<td class="colFirst"><code>private static void</code></td> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../de/griefed/ServerPackCreator/ServerUtilities.html#fabricShell-java.lang.String-java.lang.String-">fabricShell</a></span>(java.lang.String modpackDir, + java.lang.String minecraftVersion)</code> +<div class="block">Generates download scripts for Mojang's Minecraft server for Fabric,Linux.</div> +</td> +</tr> +<tr id="i6" class="altColor"> +<td class="colFirst"><code>private static void</code></td> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../de/griefed/ServerPackCreator/ServerUtilities.html#forgeBatch-java.lang.String-java.lang.String-">forgeBatch</a></span>(java.lang.String modpackDir, + java.lang.String minecraftVersion)</code> +<div class="block">Generates download scripts for Mojang's Minecraft server for Forge,Windows.</div> +</td> +</tr> +<tr id="i7" class="rowColor"> +<td class="colFirst"><code>private static void</code></td> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../de/griefed/ServerPackCreator/ServerUtilities.html#forgeShell-java.lang.String-java.lang.String-">forgeShell</a></span>(java.lang.String modpackDir, + java.lang.String minecraftVersion)</code> +<div class="block">Generates download scripts for Mojang's Minecraft server for Forge,Linux.</div> +</td> +</tr> +<tr id="i8" class="altColor"> +<td class="colFirst"><code>(package private) static void</code></td> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../de/griefed/ServerPackCreator/ServerUtilities.html#generateDownloadScripts-java.lang.String-java.lang.String-java.lang.String-">generateDownloadScripts</a></span>(java.lang.String modLoader, + java.lang.String modpackDir, + java.lang.String minecraftVersion)</code> +<div class="block">Calls methods for generating download scripts for Mojang's Minecraft server depending on the specified versions and modloader.</div> +</td> +</tr> +<tr id="i9" class="rowColor"> +<td class="colFirst"><code>private static java.lang.String</code></td> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../de/griefed/ServerPackCreator/ServerUtilities.html#latestFabricInstaller-java.lang.String-">latestFabricInstaller</a></span>(java.lang.String modpackDir)</code> +<div class="block">Returns the latest installer version for the Fabric installer to be used in ServerSetup.installServer.</div> +</td> +</tr> +</table> +<ul class="blockList"> +<li class="blockList"><a name="methods.inherited.from.class.java.lang.Object"> +<!-- --> +</a> +<h3>Methods inherited from class java.lang.Object</h3> +<code>clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait</code></li> +</ul> +</li> +</ul> +</li> +</ul> +</div> +<div class="details"> +<ul class="blockList"> +<li class="blockList"> +<!-- ============ FIELD DETAIL =========== --> +<ul class="blockList"> +<li class="blockList"><a name="field.detail"> +<!-- --> +</a> +<h3>Field Detail</h3> +<a name="appLogger"> +<!-- --> +</a> +<ul class="blockListLast"> +<li class="blockList"> +<h4>appLogger</h4> +<pre>private static final org.apache.logging.log4j.Logger appLogger</pre> +</li> +</ul> +</li> +</ul> +<!-- ========= CONSTRUCTOR DETAIL ======== --> +<ul class="blockList"> +<li class="blockList"><a name="constructor.detail"> +<!-- --> +</a> +<h3>Constructor Detail</h3> +<a name="ServerUtilities--"> +<!-- --> +</a> +<ul class="blockListLast"> +<li class="blockList"> +<h4>ServerUtilities</h4> +<pre>ServerUtilities()</pre> +</li> +</ul> +</li> +</ul> +<!-- ============ METHOD DETAIL ========== --> +<ul class="blockList"> +<li class="blockList"><a name="method.detail"> +<!-- --> +</a> +<h3>Method Detail</h3> +<a name="generateDownloadScripts-java.lang.String-java.lang.String-java.lang.String-"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>generateDownloadScripts</h4> +<pre>static void generateDownloadScripts(java.lang.String modLoader, + java.lang.String modpackDir, + java.lang.String minecraftVersion)</pre> +<div class="block">Calls methods for generating download scripts for Mojang's Minecraft server depending on the specified versions and modloader.</div> +<dl> +<dt><span class="paramLabel">Parameters:</span></dt> +<dd><code>modLoader</code> - String. The specified modloader determines the name under which Mojang's server jar will be downloaded as.</dd> +<dd><code>modpackDir</code> - String. /server_pack The directory where the scripts will be placed in.</dd> +<dd><code>minecraftVersion</code> - String. The version of the Minecraft server jar to download.</dd> +</dl> +</li> +</ul> +<a name="fabricShell-java.lang.String-java.lang.String-"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>fabricShell</h4> +<pre>private static void fabricShell(java.lang.String modpackDir, + java.lang.String minecraftVersion)</pre> +<div class="block">Generates download scripts for Mojang's Minecraft server for Fabric,Linux.</div> +<dl> +<dt><span class="paramLabel">Parameters:</span></dt> +<dd><code>modpackDir</code> - String. /server_pack The directory where the scripts will be placed in.</dd> +<dd><code>minecraftVersion</code> - String. The version of the Minecraft server jar to download.</dd> +</dl> +</li> +</ul> +<a name="fabricBatch-java.lang.String-java.lang.String-"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>fabricBatch</h4> +<pre>private static void fabricBatch(java.lang.String modpackDir, + java.lang.String minecraftVersion)</pre> +<div class="block">Generates download scripts for Mojang's Minecraft server for Fabric,Windows.</div> +<dl> +<dt><span class="paramLabel">Parameters:</span></dt> +<dd><code>modpackDir</code> - String. /server_pack The directory where the scripts will be placed in.</dd> +<dd><code>minecraftVersion</code> - String. The version of the Minecraft server jar to download.</dd> +</dl> +</li> +</ul> +<a name="forgeShell-java.lang.String-java.lang.String-"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>forgeShell</h4> +<pre>private static void forgeShell(java.lang.String modpackDir, + java.lang.String minecraftVersion)</pre> +<div class="block">Generates download scripts for Mojang's Minecraft server for Forge,Linux.</div> +<dl> +<dt><span class="paramLabel">Parameters:</span></dt> +<dd><code>modpackDir</code> - String. /server_pack The directory where the scripts will be placed in.</dd> +<dd><code>minecraftVersion</code> - String. The version of the Minecraft server jar to download.</dd> +</dl> +</li> +</ul> +<a name="forgeBatch-java.lang.String-java.lang.String-"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>forgeBatch</h4> +<pre>private static void forgeBatch(java.lang.String modpackDir, + java.lang.String minecraftVersion)</pre> +<div class="block">Generates download scripts for Mojang's Minecraft server for Forge,Windows.</div> +<dl> +<dt><span class="paramLabel">Parameters:</span></dt> +<dd><code>modpackDir</code> - String. /server_pack The directory where the scripts will be placed in.</dd> +<dd><code>minecraftVersion</code> - String. The version of the Minecraft server jar to download.</dd> +</dl> +</li> +</ul> +<a name="downloadFabricJar-java.lang.String-"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>downloadFabricJar</h4> +<pre>static boolean downloadFabricJar(java.lang.String modpackDir)</pre> +<div class="block">Downloads the specified version of Fabric.</div> +<dl> +<dt><span class="paramLabel">Parameters:</span></dt> +<dd><code>modpackDir</code> - String. /server_pack The directory where the Fabric installer will be placed in.</dd> +<dt><span class="returnLabel">Returns:</span></dt> +<dd>Boolean. Returns true if the download was successful. False if not.</dd> +</dl> +</li> +</ul> +<a name="latestFabricInstaller-java.lang.String-"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>latestFabricInstaller</h4> +<pre>private static java.lang.String latestFabricInstaller(java.lang.String modpackDir)</pre> +<div class="block">Returns the latest installer version for the Fabric installer to be used in ServerSetup.installServer.</div> +<dl> +<dt><span class="paramLabel">Parameters:</span></dt> +<dd><code>modpackDir</code> - String. /server_pack The directory where the Fabric installer will be placed in.</dd> +<dt><span class="returnLabel">Returns:</span></dt> +<dd>Boolean. Returns true if the download was successful. False if not.</dd> +</dl> +</li> +</ul> +<a name="downloadForgeJar-java.lang.String-java.lang.String-java.lang.String-"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>downloadForgeJar</h4> +<pre>static boolean downloadForgeJar(java.lang.String minecraftVersion, + java.lang.String modLoaderVersion, + java.lang.String modpackDir)</pre> +<div class="block">Downloads the specified version of the Forge installer to be used in ServerSetup.installServer.</div> +<dl> +<dt><span class="paramLabel">Parameters:</span></dt> +<dd><code>minecraftVersion</code> - String. The Minecraft version corresponding to the Forge version. Minecraft version and Forge version build a pair.</dd> +<dd><code>modLoaderVersion</code> - String. The Forge version corresponding to the Minecraft version. Minecraft version and Forge version build a pair.</dd> +<dd><code>modpackDir</code> - String. /server_pack The directory where the Forge installer will be placed in.</dd> +<dt><span class="returnLabel">Returns:</span></dt> +<dd>Boolean. Returns true if the download was successful. False if not.</dd> +</dl> +</li> +</ul> +<a name="deleteMinecraftJar-java.lang.String-java.lang.String-"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>deleteMinecraftJar</h4> +<pre>static void deleteMinecraftJar(java.lang.String modLoader, + java.lang.String modpackDir)</pre> +<div class="block">Deletes Mojang's minecraft_server.jar from the zip-archive so users do not accidentally upload a file containing software from Mojang. + With help from https://stackoverflow.com/questions/5244963/delete-files-from-a-zip-archive-without-decompressing-in-java-or-maybe-python and https://bugs.openjdk.java.net/browse/JDK-8186227</div> +<dl> +<dt><span class="paramLabel">Parameters:</span></dt> +<dd><code>modLoader</code> - String. Determines the name of the file to delete.</dd> +<dd><code>modpackDir</code> - String. /server_pack The directory in which the file will be deleted.</dd> +</dl> +</li> +</ul> +<a name="cleanUpServerPack-java.io.File-java.io.File-java.lang.String-java.lang.String-java.lang.String-java.lang.String-"> +<!-- --> +</a> +<ul class="blockListLast"> +<li class="blockList"> +<h4>cleanUpServerPack</h4> +<pre>static void cleanUpServerPack(java.io.File fabricInstaller, + java.io.File forgeInstaller, + java.lang.String modLoader, + java.lang.String modpackDir, + java.lang.String minecraftVersion, + java.lang.String modLoaderVersion)</pre> +<div class="block">Deletes remnant files from Fabric/Forge installation no longer needed.</div> +<dl> +<dt><span class="paramLabel">Parameters:</span></dt> +<dd><code>fabricInstaller</code> - File. Fabric installer to be deleted.</dd> +<dd><code>forgeInstaller</code> - File. Forge installer to be deleted.</dd> +<dd><code>modLoader</code> - String. Whether Forge or Fabric files are to be deleted.</dd> +<dd><code>modpackDir</code> - String. /server_pack The directory where files are to be deleted.</dd> +<dd><code>minecraftVersion</code> - String. Needed for renaming the Forge server jar to work with launch scripts provided by ServerPackCreator.</dd> +<dd><code>modLoaderVersion</code> - String. Needed for renaming the Forge server jar to work with launch scripts provided by ServerPackCreator.</dd> +</dl> +</li> +</ul> +</li> +</ul> +</li> +</ul> +</div> +</div> +<!-- ========= END OF CLASS DATA ========= --> +<!-- ======= START OF BOTTOM NAVBAR ====== --> +<div class="bottomNav"><a name="navbar.bottom"> +<!-- --> +</a> +<div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div> +<a name="navbar.bottom.firstrow"> +<!-- --> +</a> +<ul class="navList" title="Navigation"> +<li><a href="../../../overview-summary.html">Overview</a></li> +<li><a href="package-summary.html">Package</a></li> +<li class="navBarCell1Rev">Class</li> +<li><a href="package-tree.html">Tree</a></li> +<li><a href="../../../deprecated-list.html">Deprecated</a></li> +<li><a href="../../../index-all.html">Index</a></li> +<li><a href="../../../help-doc.html">Help</a></li> +</ul> +</div> +<div class="subNav"> +<ul class="navList"> +<li><a href="../../../de/griefed/ServerPackCreator/ServerSetup.html" title="class in de.griefed.ServerPackCreator"><span class="typeNameLink">Prev Class</span></a></li> +<li>Next Class</li> +</ul> +<ul class="navList"> +<li><a href="../../../index.html?de/griefed/ServerPackCreator/ServerUtilities.html" target="_top">Frames</a></li> +<li><a href="ServerUtilities.html" target="_top">No Frames</a></li> +</ul> +<ul class="navList" id="allclasses_navbar_bottom"> +<li><a href="../../../allclasses-noframe.html">All Classes</a></li> +</ul> +<div> +<script type="text/javascript"><!-- + allClassesLink = document.getElementById("allclasses_navbar_bottom"); + if(window==top) { + allClassesLink.style.display = "block"; + } + else { + allClassesLink.style.display = "none"; + } + //--> +</script> +</div> +<div> +<ul class="subNavList"> +<li>Summary: </li> +<li>Nested | </li> +<li><a href="#field.summary">Field</a> | </li> +<li><a href="#constructor.summary">Constr</a> | </li> +<li><a href="#method.summary">Method</a></li> +</ul> +<ul class="subNavList"> +<li>Detail: </li> +<li><a href="#field.detail">Field</a> | </li> +<li><a href="#constructor.detail">Constr</a> | </li> +<li><a href="#method.detail">Method</a></li> +</ul> +</div> +<a name="skip.navbar.bottom"> +<!-- --> +</a></div> +<!-- ======== END OF BOTTOM NAVBAR ======= --> +</body> +</html> diff --git a/docs/docs/javadoc/de/griefed/ServerPackCreator/i18n/IncorrectLanguageException.html b/docs/docs/javadoc/de/griefed/ServerPackCreator/i18n/IncorrectLanguageException.html new file mode 100644 index 000000000..cd62b4626 --- /dev/null +++ b/docs/docs/javadoc/de/griefed/ServerPackCreator/i18n/IncorrectLanguageException.html @@ -0,0 +1,297 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> +<!-- NewPage --> +<html lang="de"> +<head> +<!-- Generated by javadoc --> +<title>IncorrectLanguageException (ServerPackCreator API)</title> +<link rel="stylesheet" type="text/css" href="../../../../stylesheet.css" title="Style"> +<script type="text/javascript" src="../../../../script.js"></script> +</head> +<body> +<script type="text/javascript"><!-- + try { + if (location.href.indexOf('is-external=true') == -1) { + parent.document.title="IncorrectLanguageException (ServerPackCreator API)"; + } + } + catch(err) { + } +//--> +</script> +<noscript> +<div>JavaScript is disabled on your browser.</div> +</noscript> +<!-- ========= START OF TOP NAVBAR ======= --> +<div class="topNav"><a name="navbar.top"> +<!-- --> +</a> +<div class="skipNav"><a href="#skip.navbar.top" title="Skip navigation links">Skip navigation links</a></div> +<a name="navbar.top.firstrow"> +<!-- --> +</a> +<ul class="navList" title="Navigation"> +<li><a href="../../../../overview-summary.html">Overview</a></li> +<li><a href="package-summary.html">Package</a></li> +<li class="navBarCell1Rev">Class</li> +<li><a href="package-tree.html">Tree</a></li> +<li><a href="../../../../deprecated-list.html">Deprecated</a></li> +<li><a href="../../../../index-all.html">Index</a></li> +<li><a href="../../../../help-doc.html">Help</a></li> +</ul> +</div> +<div class="subNav"> +<ul class="navList"> +<li>Prev Class</li> +<li><a href="../../../../de/griefed/ServerPackCreator/i18n/LocalizationManager.html" title="class in de.griefed.ServerPackCreator.i18n"><span class="typeNameLink">Next Class</span></a></li> +</ul> +<ul class="navList"> +<li><a href="../../../../index.html?de/griefed/ServerPackCreator/i18n/IncorrectLanguageException.html" target="_top">Frames</a></li> +<li><a href="IncorrectLanguageException.html" target="_top">No Frames</a></li> +</ul> +<ul class="navList" id="allclasses_navbar_top"> +<li><a href="../../../../allclasses-noframe.html">All Classes</a></li> +</ul> +<div> +<script type="text/javascript"><!-- + allClassesLink = document.getElementById("allclasses_navbar_top"); + if(window==top) { + allClassesLink.style.display = "block"; + } + else { + allClassesLink.style.display = "none"; + } + //--> +</script> +</div> +<div> +<ul class="subNavList"> +<li>Summary: </li> +<li>Nested | </li> +<li>Field | </li> +<li><a href="#constructor.summary">Constr</a> | </li> +<li><a href="#methods.inherited.from.class.java.lang.Throwable">Method</a></li> +</ul> +<ul class="subNavList"> +<li>Detail: </li> +<li>Field | </li> +<li><a href="#constructor.detail">Constr</a> | </li> +<li>Method</li> +</ul> +</div> +<a name="skip.navbar.top"> +<!-- --> +</a></div> +<!-- ========= END OF TOP NAVBAR ========= --> +<!-- ======== START OF CLASS DATA ======== --> +<div class="header"> +<div class="subTitle">de.griefed.ServerPackCreator.i18n</div> +<h2 title="Class IncorrectLanguageException" class="title">Class IncorrectLanguageException</h2> +</div> +<div class="contentContainer"> +<ul class="inheritance"> +<li>java.lang.Object</li> +<li> +<ul class="inheritance"> +<li>java.lang.Throwable</li> +<li> +<ul class="inheritance"> +<li>java.lang.Exception</li> +<li> +<ul class="inheritance"> +<li>de.griefed.ServerPackCreator.i18n.IncorrectLanguageException</li> +</ul> +</li> +</ul> +</li> +</ul> +</li> +</ul> +<div class="description"> +<ul class="blockList"> +<li class="blockList"> +<dl> +<dt>All Implemented Interfaces:</dt> +<dd>java.io.Serializable</dd> +</dl> +<hr> +<br> +<pre>public class <span class="typeNameLabel">IncorrectLanguageException</span> +extends java.lang.Exception</pre> +<dl> +<dt><span class="seeLabel">See Also:</span></dt> +<dd><a href="../../../../serialized-form.html#de.griefed.ServerPackCreator.i18n.IncorrectLanguageException">Serialized Form</a></dd> +</dl> +</li> +</ul> +</div> +<div class="summary"> +<ul class="blockList"> +<li class="blockList"> +<!-- ======== CONSTRUCTOR SUMMARY ======== --> +<ul class="blockList"> +<li class="blockList"><a name="constructor.summary"> +<!-- --> +</a> +<h3>Constructor Summary</h3> +<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Constructor Summary table, listing constructors, and an explanation"> +<caption><span>Constructors</span><span class="tabEnd"> </span></caption> +<tr> +<th class="colOne" scope="col">Constructor and Description</th> +</tr> +<tr class="altColor"> +<td class="colOne"><code><span class="memberNameLink"><a href="../../../../de/griefed/ServerPackCreator/i18n/IncorrectLanguageException.html#IncorrectLanguageException--">IncorrectLanguageException</a></span>()</code> </td> +</tr> +<tr class="rowColor"> +<td class="colOne"><code><span class="memberNameLink"><a href="../../../../de/griefed/ServerPackCreator/i18n/IncorrectLanguageException.html#IncorrectLanguageException-java.lang.String-">IncorrectLanguageException</a></span>(java.lang.String message)</code> </td> +</tr> +<tr class="altColor"> +<td class="colOne"><code><span class="memberNameLink"><a href="../../../../de/griefed/ServerPackCreator/i18n/IncorrectLanguageException.html#IncorrectLanguageException-java.lang.String-java.lang.Throwable-">IncorrectLanguageException</a></span>(java.lang.String message, + java.lang.Throwable cause)</code> </td> +</tr> +<tr class="rowColor"> +<td class="colOne"><code><span class="memberNameLink"><a href="../../../../de/griefed/ServerPackCreator/i18n/IncorrectLanguageException.html#IncorrectLanguageException-java.lang.Throwable-">IncorrectLanguageException</a></span>(java.lang.Throwable cause)</code> </td> +</tr> +</table> +</li> +</ul> +<!-- ========== METHOD SUMMARY =========== --> +<ul class="blockList"> +<li class="blockList"><a name="method.summary"> +<!-- --> +</a> +<h3>Method Summary</h3> +<ul class="blockList"> +<li class="blockList"><a name="methods.inherited.from.class.java.lang.Throwable"> +<!-- --> +</a> +<h3>Methods inherited from class java.lang.Throwable</h3> +<code>addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString</code></li> +</ul> +<ul class="blockList"> +<li class="blockList"><a name="methods.inherited.from.class.java.lang.Object"> +<!-- --> +</a> +<h3>Methods inherited from class java.lang.Object</h3> +<code>clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait</code></li> +</ul> +</li> +</ul> +</li> +</ul> +</div> +<div class="details"> +<ul class="blockList"> +<li class="blockList"> +<!-- ========= CONSTRUCTOR DETAIL ======== --> +<ul class="blockList"> +<li class="blockList"><a name="constructor.detail"> +<!-- --> +</a> +<h3>Constructor Detail</h3> +<a name="IncorrectLanguageException--"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>IncorrectLanguageException</h4> +<pre>public IncorrectLanguageException()</pre> +</li> +</ul> +<a name="IncorrectLanguageException-java.lang.String-"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>IncorrectLanguageException</h4> +<pre>public IncorrectLanguageException(java.lang.String message)</pre> +</li> +</ul> +<a name="IncorrectLanguageException-java.lang.String-java.lang.Throwable-"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>IncorrectLanguageException</h4> +<pre>public IncorrectLanguageException(java.lang.String message, + java.lang.Throwable cause)</pre> +</li> +</ul> +<a name="IncorrectLanguageException-java.lang.Throwable-"> +<!-- --> +</a> +<ul class="blockListLast"> +<li class="blockList"> +<h4>IncorrectLanguageException</h4> +<pre>public IncorrectLanguageException(java.lang.Throwable cause)</pre> +</li> +</ul> +</li> +</ul> +</li> +</ul> +</div> +</div> +<!-- ========= END OF CLASS DATA ========= --> +<!-- ======= START OF BOTTOM NAVBAR ====== --> +<div class="bottomNav"><a name="navbar.bottom"> +<!-- --> +</a> +<div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div> +<a name="navbar.bottom.firstrow"> +<!-- --> +</a> +<ul class="navList" title="Navigation"> +<li><a href="../../../../overview-summary.html">Overview</a></li> +<li><a href="package-summary.html">Package</a></li> +<li class="navBarCell1Rev">Class</li> +<li><a href="package-tree.html">Tree</a></li> +<li><a href="../../../../deprecated-list.html">Deprecated</a></li> +<li><a href="../../../../index-all.html">Index</a></li> +<li><a href="../../../../help-doc.html">Help</a></li> +</ul> +</div> +<div class="subNav"> +<ul class="navList"> +<li>Prev Class</li> +<li><a href="../../../../de/griefed/ServerPackCreator/i18n/LocalizationManager.html" title="class in de.griefed.ServerPackCreator.i18n"><span class="typeNameLink">Next Class</span></a></li> +</ul> +<ul class="navList"> +<li><a href="../../../../index.html?de/griefed/ServerPackCreator/i18n/IncorrectLanguageException.html" target="_top">Frames</a></li> +<li><a href="IncorrectLanguageException.html" target="_top">No Frames</a></li> +</ul> +<ul class="navList" id="allclasses_navbar_bottom"> +<li><a href="../../../../allclasses-noframe.html">All Classes</a></li> +</ul> +<div> +<script type="text/javascript"><!-- + allClassesLink = document.getElementById("allclasses_navbar_bottom"); + if(window==top) { + allClassesLink.style.display = "block"; + } + else { + allClassesLink.style.display = "none"; + } + //--> +</script> +</div> +<div> +<ul class="subNavList"> +<li>Summary: </li> +<li>Nested | </li> +<li>Field | </li> +<li><a href="#constructor.summary">Constr</a> | </li> +<li><a href="#methods.inherited.from.class.java.lang.Throwable">Method</a></li> +</ul> +<ul class="subNavList"> +<li>Detail: </li> +<li>Field | </li> +<li><a href="#constructor.detail">Constr</a> | </li> +<li>Method</li> +</ul> +</div> +<a name="skip.navbar.bottom"> +<!-- --> +</a></div> +<!-- ======== END OF BOTTOM NAVBAR ======= --> +</body> +</html> diff --git a/docs/docs/javadoc/de/griefed/ServerPackCreator/i18n/LocalizationManager.html b/docs/docs/javadoc/de/griefed/ServerPackCreator/i18n/LocalizationManager.html new file mode 100644 index 000000000..1c2671e16 --- /dev/null +++ b/docs/docs/javadoc/de/griefed/ServerPackCreator/i18n/LocalizationManager.html @@ -0,0 +1,471 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> +<!-- NewPage --> +<html lang="de"> +<head> +<!-- Generated by javadoc --> +<title>LocalizationManager (ServerPackCreator API)</title> +<link rel="stylesheet" type="text/css" href="../../../../stylesheet.css" title="Style"> +<script type="text/javascript" src="../../../../script.js"></script> +</head> +<body> +<script type="text/javascript"><!-- + try { + if (location.href.indexOf('is-external=true') == -1) { + parent.document.title="LocalizationManager (ServerPackCreator API)"; + } + } + catch(err) { + } +//--> +var methods = {"i0":9,"i1":9,"i2":9,"i3":9,"i4":9,"i5":9}; +var tabs = {65535:["t0","All Methods"],1:["t1","Static Methods"],8:["t4","Concrete Methods"]}; +var altColor = "altColor"; +var rowColor = "rowColor"; +var tableTab = "tableTab"; +var activeTableTab = "activeTableTab"; +</script> +<noscript> +<div>JavaScript is disabled on your browser.</div> +</noscript> +<!-- ========= START OF TOP NAVBAR ======= --> +<div class="topNav"><a name="navbar.top"> +<!-- --> +</a> +<div class="skipNav"><a href="#skip.navbar.top" title="Skip navigation links">Skip navigation links</a></div> +<a name="navbar.top.firstrow"> +<!-- --> +</a> +<ul class="navList" title="Navigation"> +<li><a href="../../../../overview-summary.html">Overview</a></li> +<li><a href="package-summary.html">Package</a></li> +<li class="navBarCell1Rev">Class</li> +<li><a href="package-tree.html">Tree</a></li> +<li><a href="../../../../deprecated-list.html">Deprecated</a></li> +<li><a href="../../../../index-all.html">Index</a></li> +<li><a href="../../../../help-doc.html">Help</a></li> +</ul> +</div> +<div class="subNav"> +<ul class="navList"> +<li><a href="../../../../de/griefed/ServerPackCreator/i18n/IncorrectLanguageException.html" title="class in de.griefed.ServerPackCreator.i18n"><span class="typeNameLink">Prev Class</span></a></li> +<li>Next Class</li> +</ul> +<ul class="navList"> +<li><a href="../../../../index.html?de/griefed/ServerPackCreator/i18n/LocalizationManager.html" target="_top">Frames</a></li> +<li><a href="LocalizationManager.html" target="_top">No Frames</a></li> +</ul> +<ul class="navList" id="allclasses_navbar_top"> +<li><a href="../../../../allclasses-noframe.html">All Classes</a></li> +</ul> +<div> +<script type="text/javascript"><!-- + allClassesLink = document.getElementById("allclasses_navbar_top"); + if(window==top) { + allClassesLink.style.display = "block"; + } + else { + allClassesLink.style.display = "none"; + } + //--> +</script> +</div> +<div> +<ul class="subNavList"> +<li>Summary: </li> +<li>Nested | </li> +<li><a href="#field.summary">Field</a> | </li> +<li><a href="#constructor.summary">Constr</a> | </li> +<li><a href="#method.summary">Method</a></li> +</ul> +<ul class="subNavList"> +<li>Detail: </li> +<li><a href="#field.detail">Field</a> | </li> +<li><a href="#constructor.detail">Constr</a> | </li> +<li><a href="#method.detail">Method</a></li> +</ul> +</div> +<a name="skip.navbar.top"> +<!-- --> +</a></div> +<!-- ========= END OF TOP NAVBAR ========= --> +<!-- ======== START OF CLASS DATA ======== --> +<div class="header"> +<div class="subTitle">de.griefed.ServerPackCreator.i18n</div> +<h2 title="Class LocalizationManager" class="title">Class LocalizationManager</h2> +</div> +<div class="contentContainer"> +<ul class="inheritance"> +<li>java.lang.Object</li> +<li> +<ul class="inheritance"> +<li>de.griefed.ServerPackCreator.i18n.LocalizationManager</li> +</ul> +</li> +</ul> +<div class="description"> +<ul class="blockList"> +<li class="blockList"> +<hr> +<br> +<pre>public class <span class="typeNameLabel">LocalizationManager</span> +extends java.lang.Object</pre> +<div class="block">This class is localization manager for your application. + <p>To use it, firstly run LocalizationManager.init(). + Then use LocalizationManager.getLocalizedString() to find the localized string in config file. + All localization config files need to be stored in <code>resources/i18n</code> directory + and be named using following pattern: lang_{language code in lowercase}_{country code in lowercase}. + For example: lang_en_us.lang.</p> + Currently supports only strings to be used in localized fields.</div> +</li> +</ul> +</div> +<div class="summary"> +<ul class="blockList"> +<li class="blockList"> +<!-- =========== FIELD SUMMARY =========== --> +<ul class="blockList"> +<li class="blockList"><a name="field.summary"> +<!-- --> +</a> +<h3>Field Summary</h3> +<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Field Summary table, listing fields, and an explanation"> +<caption><span>Fields</span><span class="tabEnd"> </span></caption> +<tr> +<th class="colFirst" scope="col">Modifier and Type</th> +<th class="colLast" scope="col">Field and Description</th> +</tr> +<tr class="altColor"> +<td class="colFirst"><code>private static java.lang.String</code></td> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../../de/griefed/ServerPackCreator/i18n/LocalizationManager.html#COUNTRY_MAP_PATH">COUNTRY_MAP_PATH</a></span></code> </td> +</tr> +<tr class="rowColor"> +<td class="colFirst"><code>private static java.util.Map<java.lang.String,java.lang.String></code></td> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../../de/griefed/ServerPackCreator/i18n/LocalizationManager.html#currentLanguage">currentLanguage</a></span></code> +<div class="block">Current language of application, mapped for easier further reference.</div> +</td> +</tr> +<tr class="altColor"> +<td class="colFirst"><code>private static java.lang.String</code></td> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../../de/griefed/ServerPackCreator/i18n/LocalizationManager.html#LANGUAGE_MAP_PATH">LANGUAGE_MAP_PATH</a></span></code> +<div class="block">Keys that used for current language mapping.</div> +</td> +</tr> +<tr class="rowColor"> +<td class="colFirst"><code>private static java.util.ResourceBundle</code></td> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../../de/griefed/ServerPackCreator/i18n/LocalizationManager.html#localeResources">localeResources</a></span></code> +<div class="block">Localized strings that application uses.</div> +</td> +</tr> +<tr class="altColor"> +<td class="colFirst"><code>private static org.apache.logging.log4j.Logger</code></td> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../../de/griefed/ServerPackCreator/i18n/LocalizationManager.html#logger">logger</a></span></code> </td> +</tr> +</table> +</li> +</ul> +<!-- ======== CONSTRUCTOR SUMMARY ======== --> +<ul class="blockList"> +<li class="blockList"><a name="constructor.summary"> +<!-- --> +</a> +<h3>Constructor Summary</h3> +<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Constructor Summary table, listing constructors, and an explanation"> +<caption><span>Constructors</span><span class="tabEnd"> </span></caption> +<tr> +<th class="colOne" scope="col">Constructor and Description</th> +</tr> +<tr class="altColor"> +<td class="colOne"><code><span class="memberNameLink"><a href="../../../../de/griefed/ServerPackCreator/i18n/LocalizationManager.html#LocalizationManager--">LocalizationManager</a></span>()</code> </td> +</tr> +</table> +</li> +</ul> +<!-- ========== METHOD SUMMARY =========== --> +<ul class="blockList"> +<li class="blockList"><a name="method.summary"> +<!-- --> +</a> +<h3>Method Summary</h3> +<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation"> +<caption><span id="t0" class="activeTableTab"><span>All Methods</span><span class="tabEnd"> </span></span><span id="t1" class="tableTab"><span><a href="javascript:show(1);">Static Methods</a></span><span class="tabEnd"> </span></span><span id="t4" class="tableTab"><span><a href="javascript:show(8);">Concrete Methods</a></span><span class="tabEnd"> </span></span></caption> +<tr> +<th class="colFirst" scope="col">Modifier and Type</th> +<th class="colLast" scope="col">Method and Description</th> +</tr> +<tr id="i0" class="altColor"> +<td class="colFirst"><code>static java.lang.String</code></td> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../../de/griefed/ServerPackCreator/i18n/LocalizationManager.html#getLocale--">getLocale</a></span>()</code> </td> +</tr> +<tr id="i1" class="rowColor"> +<td class="colFirst"><code>static java.lang.String</code></td> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../../de/griefed/ServerPackCreator/i18n/LocalizationManager.html#getLocalizedString-java.lang.String-">getLocalizedString</a></span>(java.lang.String languageKey)</code> +<div class="block">Gets localized string from localization resource bundle.</div> +</td> +</tr> +<tr id="i2" class="altColor"> +<td class="colFirst"><code>static java.lang.String[]</code></td> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../../de/griefed/ServerPackCreator/i18n/LocalizationManager.html#getSupportedLanguages--">getSupportedLanguages</a></span>()</code> </td> +</tr> +<tr id="i3" class="rowColor"> +<td class="colFirst"><code>static void</code></td> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../../de/griefed/ServerPackCreator/i18n/LocalizationManager.html#init--">init</a></span>()</code> +<div class="block">Initializer with default localization properties path.</div> +</td> +</tr> +<tr id="i4" class="altColor"> +<td class="colFirst"><code>static void</code></td> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../../de/griefed/ServerPackCreator/i18n/LocalizationManager.html#init-java.io.File-">init</a></span>(java.io.File localePropertiesFile)</code> </td> +</tr> +<tr id="i5" class="rowColor"> +<td class="colFirst"><code>static void</code></td> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../../de/griefed/ServerPackCreator/i18n/LocalizationManager.html#init-java.lang.String-">init</a></span>(java.lang.String locale)</code> </td> +</tr> +</table> +<ul class="blockList"> +<li class="blockList"><a name="methods.inherited.from.class.java.lang.Object"> +<!-- --> +</a> +<h3>Methods inherited from class java.lang.Object</h3> +<code>clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait</code></li> +</ul> +</li> +</ul> +</li> +</ul> +</div> +<div class="details"> +<ul class="blockList"> +<li class="blockList"> +<!-- ============ FIELD DETAIL =========== --> +<ul class="blockList"> +<li class="blockList"><a name="field.detail"> +<!-- --> +</a> +<h3>Field Detail</h3> +<a name="logger"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>logger</h4> +<pre>private static final org.apache.logging.log4j.Logger logger</pre> +</li> +</ul> +<a name="currentLanguage"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>currentLanguage</h4> +<pre>private static java.util.Map<java.lang.String,java.lang.String> currentLanguage</pre> +<div class="block">Current language of application, mapped for easier further reference.</div> +</li> +</ul> +<a name="localeResources"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>localeResources</h4> +<pre>private static java.util.ResourceBundle localeResources</pre> +<div class="block">Localized strings that application uses.</div> +</li> +</ul> +<a name="LANGUAGE_MAP_PATH"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>LANGUAGE_MAP_PATH</h4> +<pre>private static final java.lang.String LANGUAGE_MAP_PATH</pre> +<div class="block">Keys that used for current language mapping.</div> +<dl> +<dt><span class="seeLabel">See Also:</span></dt> +<dd><a href="../../../../constant-values.html#de.griefed.ServerPackCreator.i18n.LocalizationManager.LANGUAGE_MAP_PATH">Constant Field Values</a></dd> +</dl> +</li> +</ul> +<a name="COUNTRY_MAP_PATH"> +<!-- --> +</a> +<ul class="blockListLast"> +<li class="blockList"> +<h4>COUNTRY_MAP_PATH</h4> +<pre>private static final java.lang.String COUNTRY_MAP_PATH</pre> +<dl> +<dt><span class="seeLabel">See Also:</span></dt> +<dd><a href="../../../../constant-values.html#de.griefed.ServerPackCreator.i18n.LocalizationManager.COUNTRY_MAP_PATH">Constant Field Values</a></dd> +</dl> +</li> +</ul> +</li> +</ul> +<!-- ========= CONSTRUCTOR DETAIL ======== --> +<ul class="blockList"> +<li class="blockList"><a name="constructor.detail"> +<!-- --> +</a> +<h3>Constructor Detail</h3> +<a name="LocalizationManager--"> +<!-- --> +</a> +<ul class="blockListLast"> +<li class="blockList"> +<h4>LocalizationManager</h4> +<pre>public LocalizationManager()</pre> +</li> +</ul> +</li> +</ul> +<!-- ============ METHOD DETAIL ========== --> +<ul class="blockList"> +<li class="blockList"><a name="method.detail"> +<!-- --> +</a> +<h3>Method Detail</h3> +<a name="init-java.lang.String-"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>init</h4> +<pre>public static void init(java.lang.String locale) + throws <a href="../../../../de/griefed/ServerPackCreator/i18n/IncorrectLanguageException.html" title="class in de.griefed.ServerPackCreator.i18n">IncorrectLanguageException</a></pre> +<dl> +<dt><span class="paramLabel">Parameters:</span></dt> +<dd><code>locale</code> - Locale to be used by application in this run.</dd> +<dt><span class="throwsLabel">Throws:</span></dt> +<dd><code><a href="../../../../de/griefed/ServerPackCreator/i18n/IncorrectLanguageException.html" title="class in de.griefed.ServerPackCreator.i18n">IncorrectLanguageException</a></code> - Thrown if the language specified in the properties file is not supported by SPC or specified in the invalid format.</dd> +</dl> +</li> +</ul> +<a name="init-java.io.File-"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>init</h4> +<pre>public static void init(java.io.File localePropertiesFile) + throws <a href="../../../../de/griefed/ServerPackCreator/i18n/IncorrectLanguageException.html" title="class in de.griefed.ServerPackCreator.i18n">IncorrectLanguageException</a></pre> +<dl> +<dt><span class="paramLabel">Parameters:</span></dt> +<dd><code>localePropertiesFile</code> - Path to the properties file with the language specified.</dd> +<dt><span class="throwsLabel">Throws:</span></dt> +<dd><code><a href="../../../../de/griefed/ServerPackCreator/i18n/IncorrectLanguageException.html" title="class in de.griefed.ServerPackCreator.i18n">IncorrectLanguageException</a></code> - Thrown if the language specified in the properties file is not supported by SPC or specified in the invalid format.</dd> +</dl> +</li> +</ul> +<a name="init--"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>init</h4> +<pre>public static void init()</pre> +<div class="block">Initializer with default localization properties path.</div> +</li> +</ul> +<a name="getLocalizedString-java.lang.String-"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>getLocalizedString</h4> +<pre>public static java.lang.String getLocalizedString(java.lang.String languageKey)</pre> +<div class="block">Gets localized string from localization resource bundle.</div> +<dl> +<dt><span class="paramLabel">Parameters:</span></dt> +<dd><code>languageKey</code> - The language key to search for.</dd> +<dt><span class="returnLabel">Returns:</span></dt> +<dd>Localized string that is referred by the language key.</dd> +</dl> +</li> +</ul> +<a name="getLocale--"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>getLocale</h4> +<pre>public static java.lang.String getLocale()</pre> +</li> +</ul> +<a name="getSupportedLanguages--"> +<!-- --> +</a> +<ul class="blockListLast"> +<li class="blockList"> +<h4>getSupportedLanguages</h4> +<pre>public static java.lang.String[] getSupportedLanguages()</pre> +</li> +</ul> +</li> +</ul> +</li> +</ul> +</div> +</div> +<!-- ========= END OF CLASS DATA ========= --> +<!-- ======= START OF BOTTOM NAVBAR ====== --> +<div class="bottomNav"><a name="navbar.bottom"> +<!-- --> +</a> +<div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div> +<a name="navbar.bottom.firstrow"> +<!-- --> +</a> +<ul class="navList" title="Navigation"> +<li><a href="../../../../overview-summary.html">Overview</a></li> +<li><a href="package-summary.html">Package</a></li> +<li class="navBarCell1Rev">Class</li> +<li><a href="package-tree.html">Tree</a></li> +<li><a href="../../../../deprecated-list.html">Deprecated</a></li> +<li><a href="../../../../index-all.html">Index</a></li> +<li><a href="../../../../help-doc.html">Help</a></li> +</ul> +</div> +<div class="subNav"> +<ul class="navList"> +<li><a href="../../../../de/griefed/ServerPackCreator/i18n/IncorrectLanguageException.html" title="class in de.griefed.ServerPackCreator.i18n"><span class="typeNameLink">Prev Class</span></a></li> +<li>Next Class</li> +</ul> +<ul class="navList"> +<li><a href="../../../../index.html?de/griefed/ServerPackCreator/i18n/LocalizationManager.html" target="_top">Frames</a></li> +<li><a href="LocalizationManager.html" target="_top">No Frames</a></li> +</ul> +<ul class="navList" id="allclasses_navbar_bottom"> +<li><a href="../../../../allclasses-noframe.html">All Classes</a></li> +</ul> +<div> +<script type="text/javascript"><!-- + allClassesLink = document.getElementById("allclasses_navbar_bottom"); + if(window==top) { + allClassesLink.style.display = "block"; + } + else { + allClassesLink.style.display = "none"; + } + //--> +</script> +</div> +<div> +<ul class="subNavList"> +<li>Summary: </li> +<li>Nested | </li> +<li><a href="#field.summary">Field</a> | </li> +<li><a href="#constructor.summary">Constr</a> | </li> +<li><a href="#method.summary">Method</a></li> +</ul> +<ul class="subNavList"> +<li>Detail: </li> +<li><a href="#field.detail">Field</a> | </li> +<li><a href="#constructor.detail">Constr</a> | </li> +<li><a href="#method.detail">Method</a></li> +</ul> +</div> +<a name="skip.navbar.bottom"> +<!-- --> +</a></div> +<!-- ======== END OF BOTTOM NAVBAR ======= --> +</body> +</html> diff --git a/docs/docs/javadoc/de/griefed/ServerPackCreator/i18n/package-frame.html b/docs/docs/javadoc/de/griefed/ServerPackCreator/i18n/package-frame.html new file mode 100644 index 000000000..250527136 --- /dev/null +++ b/docs/docs/javadoc/de/griefed/ServerPackCreator/i18n/package-frame.html @@ -0,0 +1,23 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> +<!-- NewPage --> +<html lang="de"> +<head> +<!-- Generated by javadoc --> +<title>de.griefed.ServerPackCreator.i18n (ServerPackCreator API)</title> +<link rel="stylesheet" type="text/css" href="../../../../stylesheet.css" title="Style"> +<script type="text/javascript" src="../../../../script.js"></script> +</head> +<body> +<h1 class="bar"><a href="../../../../de/griefed/ServerPackCreator/i18n/package-summary.html" target="classFrame">de.griefed.ServerPackCreator.i18n</a></h1> +<div class="indexContainer"> +<h2 title="Classes">Classes</h2> +<ul title="Classes"> +<li><a href="LocalizationManager.html" title="class in de.griefed.ServerPackCreator.i18n" target="classFrame">LocalizationManager</a></li> +</ul> +<h2 title="Exceptions">Exceptions</h2> +<ul title="Exceptions"> +<li><a href="IncorrectLanguageException.html" title="class in de.griefed.ServerPackCreator.i18n" target="classFrame">IncorrectLanguageException</a></li> +</ul> +</div> +</body> +</html> diff --git a/docs/docs/javadoc/de/griefed/ServerPackCreator/i18n/package-summary.html b/docs/docs/javadoc/de/griefed/ServerPackCreator/i18n/package-summary.html new file mode 100644 index 000000000..c1e7e43fa --- /dev/null +++ b/docs/docs/javadoc/de/griefed/ServerPackCreator/i18n/package-summary.html @@ -0,0 +1,156 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> +<!-- NewPage --> +<html lang="de"> +<head> +<!-- Generated by javadoc --> +<title>de.griefed.ServerPackCreator.i18n (ServerPackCreator API)</title> +<link rel="stylesheet" type="text/css" href="../../../../stylesheet.css" title="Style"> +<script type="text/javascript" src="../../../../script.js"></script> +</head> +<body> +<script type="text/javascript"><!-- + try { + if (location.href.indexOf('is-external=true') == -1) { + parent.document.title="de.griefed.ServerPackCreator.i18n (ServerPackCreator API)"; + } + } + catch(err) { + } +//--> +</script> +<noscript> +<div>JavaScript is disabled on your browser.</div> +</noscript> +<!-- ========= START OF TOP NAVBAR ======= --> +<div class="topNav"><a name="navbar.top"> +<!-- --> +</a> +<div class="skipNav"><a href="#skip.navbar.top" title="Skip navigation links">Skip navigation links</a></div> +<a name="navbar.top.firstrow"> +<!-- --> +</a> +<ul class="navList" title="Navigation"> +<li><a href="../../../../overview-summary.html">Overview</a></li> +<li class="navBarCell1Rev">Package</li> +<li>Class</li> +<li><a href="package-tree.html">Tree</a></li> +<li><a href="../../../../deprecated-list.html">Deprecated</a></li> +<li><a href="../../../../index-all.html">Index</a></li> +<li><a href="../../../../help-doc.html">Help</a></li> +</ul> +</div> +<div class="subNav"> +<ul class="navList"> +<li><a href="../../../../de/griefed/ServerPackCreator/CurseForgeModpack/package-summary.html">Prev Package</a></li> +<li>Next Package</li> +</ul> +<ul class="navList"> +<li><a href="../../../../index.html?de/griefed/ServerPackCreator/i18n/package-summary.html" target="_top">Frames</a></li> +<li><a href="package-summary.html" target="_top">No Frames</a></li> +</ul> +<ul class="navList" id="allclasses_navbar_top"> +<li><a href="../../../../allclasses-noframe.html">All Classes</a></li> +</ul> +<div> +<script type="text/javascript"><!-- + allClassesLink = document.getElementById("allclasses_navbar_top"); + if(window==top) { + allClassesLink.style.display = "block"; + } + else { + allClassesLink.style.display = "none"; + } + //--> +</script> +</div> +<a name="skip.navbar.top"> +<!-- --> +</a></div> +<!-- ========= END OF TOP NAVBAR ========= --> +<div class="header"> +<h1 title="Package" class="title">Package de.griefed.ServerPackCreator.i18n</h1> +</div> +<div class="contentContainer"> +<ul class="blockList"> +<li class="blockList"> +<table class="typeSummary" border="0" cellpadding="3" cellspacing="0" summary="Class Summary table, listing classes, and an explanation"> +<caption><span>Class Summary</span><span class="tabEnd"> </span></caption> +<tr> +<th class="colFirst" scope="col">Class</th> +<th class="colLast" scope="col">Description</th> +</tr> +<tbody> +<tr class="altColor"> +<td class="colFirst"><a href="../../../../de/griefed/ServerPackCreator/i18n/LocalizationManager.html" title="class in de.griefed.ServerPackCreator.i18n">LocalizationManager</a></td> +<td class="colLast"> +<div class="block">This class is localization manager for your application.</div> +</td> +</tr> +</tbody> +</table> +</li> +<li class="blockList"> +<table class="typeSummary" border="0" cellpadding="3" cellspacing="0" summary="Exception Summary table, listing exceptions, and an explanation"> +<caption><span>Exception Summary</span><span class="tabEnd"> </span></caption> +<tr> +<th class="colFirst" scope="col">Exception</th> +<th class="colLast" scope="col">Description</th> +</tr> +<tbody> +<tr class="altColor"> +<td class="colFirst"><a href="../../../../de/griefed/ServerPackCreator/i18n/IncorrectLanguageException.html" title="class in de.griefed.ServerPackCreator.i18n">IncorrectLanguageException</a></td> +<td class="colLast"> </td> +</tr> +</tbody> +</table> +</li> +</ul> +</div> +<!-- ======= START OF BOTTOM NAVBAR ====== --> +<div class="bottomNav"><a name="navbar.bottom"> +<!-- --> +</a> +<div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div> +<a name="navbar.bottom.firstrow"> +<!-- --> +</a> +<ul class="navList" title="Navigation"> +<li><a href="../../../../overview-summary.html">Overview</a></li> +<li class="navBarCell1Rev">Package</li> +<li>Class</li> +<li><a href="package-tree.html">Tree</a></li> +<li><a href="../../../../deprecated-list.html">Deprecated</a></li> +<li><a href="../../../../index-all.html">Index</a></li> +<li><a href="../../../../help-doc.html">Help</a></li> +</ul> +</div> +<div class="subNav"> +<ul class="navList"> +<li><a href="../../../../de/griefed/ServerPackCreator/CurseForgeModpack/package-summary.html">Prev Package</a></li> +<li>Next Package</li> +</ul> +<ul class="navList"> +<li><a href="../../../../index.html?de/griefed/ServerPackCreator/i18n/package-summary.html" target="_top">Frames</a></li> +<li><a href="package-summary.html" target="_top">No Frames</a></li> +</ul> +<ul class="navList" id="allclasses_navbar_bottom"> +<li><a href="../../../../allclasses-noframe.html">All Classes</a></li> +</ul> +<div> +<script type="text/javascript"><!-- + allClassesLink = document.getElementById("allclasses_navbar_bottom"); + if(window==top) { + allClassesLink.style.display = "block"; + } + else { + allClassesLink.style.display = "none"; + } + //--> +</script> +</div> +<a name="skip.navbar.bottom"> +<!-- --> +</a></div> +<!-- ======== END OF BOTTOM NAVBAR ======= --> +</body> +</html> diff --git a/docs/docs/javadoc/de/griefed/ServerPackCreator/i18n/package-tree.html b/docs/docs/javadoc/de/griefed/ServerPackCreator/i18n/package-tree.html new file mode 100644 index 000000000..acfe9f453 --- /dev/null +++ b/docs/docs/javadoc/de/griefed/ServerPackCreator/i18n/package-tree.html @@ -0,0 +1,143 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> +<!-- NewPage --> +<html lang="de"> +<head> +<!-- Generated by javadoc --> +<title>de.griefed.ServerPackCreator.i18n Class Hierarchy (ServerPackCreator API)</title> +<link rel="stylesheet" type="text/css" href="../../../../stylesheet.css" title="Style"> +<script type="text/javascript" src="../../../../script.js"></script> +</head> +<body> +<script type="text/javascript"><!-- + try { + if (location.href.indexOf('is-external=true') == -1) { + parent.document.title="de.griefed.ServerPackCreator.i18n Class Hierarchy (ServerPackCreator API)"; + } + } + catch(err) { + } +//--> +</script> +<noscript> +<div>JavaScript is disabled on your browser.</div> +</noscript> +<!-- ========= START OF TOP NAVBAR ======= --> +<div class="topNav"><a name="navbar.top"> +<!-- --> +</a> +<div class="skipNav"><a href="#skip.navbar.top" title="Skip navigation links">Skip navigation links</a></div> +<a name="navbar.top.firstrow"> +<!-- --> +</a> +<ul class="navList" title="Navigation"> +<li><a href="../../../../overview-summary.html">Overview</a></li> +<li><a href="package-summary.html">Package</a></li> +<li>Class</li> +<li class="navBarCell1Rev">Tree</li> +<li><a href="../../../../deprecated-list.html">Deprecated</a></li> +<li><a href="../../../../index-all.html">Index</a></li> +<li><a href="../../../../help-doc.html">Help</a></li> +</ul> +</div> +<div class="subNav"> +<ul class="navList"> +<li><a href="../../../../de/griefed/ServerPackCreator/CurseForgeModpack/package-tree.html">Prev</a></li> +<li>Next</li> +</ul> +<ul class="navList"> +<li><a href="../../../../index.html?de/griefed/ServerPackCreator/i18n/package-tree.html" target="_top">Frames</a></li> +<li><a href="package-tree.html" target="_top">No Frames</a></li> +</ul> +<ul class="navList" id="allclasses_navbar_top"> +<li><a href="../../../../allclasses-noframe.html">All Classes</a></li> +</ul> +<div> +<script type="text/javascript"><!-- + allClassesLink = document.getElementById("allclasses_navbar_top"); + if(window==top) { + allClassesLink.style.display = "block"; + } + else { + allClassesLink.style.display = "none"; + } + //--> +</script> +</div> +<a name="skip.navbar.top"> +<!-- --> +</a></div> +<!-- ========= END OF TOP NAVBAR ========= --> +<div class="header"> +<h1 class="title">Hierarchy For Package de.griefed.ServerPackCreator.i18n</h1> +<span class="packageHierarchyLabel">Package Hierarchies:</span> +<ul class="horizontal"> +<li><a href="../../../../overview-tree.html">All Packages</a></li> +</ul> +</div> +<div class="contentContainer"> +<h2 title="Class Hierarchy">Class Hierarchy</h2> +<ul> +<li type="circle">java.lang.Object +<ul> +<li type="circle">de.griefed.ServerPackCreator.i18n.<a href="../../../../de/griefed/ServerPackCreator/i18n/LocalizationManager.html" title="class in de.griefed.ServerPackCreator.i18n"><span class="typeNameLink">LocalizationManager</span></a></li> +<li type="circle">java.lang.Throwable (implements java.io.Serializable) +<ul> +<li type="circle">java.lang.Exception +<ul> +<li type="circle">de.griefed.ServerPackCreator.i18n.<a href="../../../../de/griefed/ServerPackCreator/i18n/IncorrectLanguageException.html" title="class in de.griefed.ServerPackCreator.i18n"><span class="typeNameLink">IncorrectLanguageException</span></a></li> +</ul> +</li> +</ul> +</li> +</ul> +</li> +</ul> +</div> +<!-- ======= START OF BOTTOM NAVBAR ====== --> +<div class="bottomNav"><a name="navbar.bottom"> +<!-- --> +</a> +<div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div> +<a name="navbar.bottom.firstrow"> +<!-- --> +</a> +<ul class="navList" title="Navigation"> +<li><a href="../../../../overview-summary.html">Overview</a></li> +<li><a href="package-summary.html">Package</a></li> +<li>Class</li> +<li class="navBarCell1Rev">Tree</li> +<li><a href="../../../../deprecated-list.html">Deprecated</a></li> +<li><a href="../../../../index-all.html">Index</a></li> +<li><a href="../../../../help-doc.html">Help</a></li> +</ul> +</div> +<div class="subNav"> +<ul class="navList"> +<li><a href="../../../../de/griefed/ServerPackCreator/CurseForgeModpack/package-tree.html">Prev</a></li> +<li>Next</li> +</ul> +<ul class="navList"> +<li><a href="../../../../index.html?de/griefed/ServerPackCreator/i18n/package-tree.html" target="_top">Frames</a></li> +<li><a href="package-tree.html" target="_top">No Frames</a></li> +</ul> +<ul class="navList" id="allclasses_navbar_bottom"> +<li><a href="../../../../allclasses-noframe.html">All Classes</a></li> +</ul> +<div> +<script type="text/javascript"><!-- + allClassesLink = document.getElementById("allclasses_navbar_bottom"); + if(window==top) { + allClassesLink.style.display = "block"; + } + else { + allClassesLink.style.display = "none"; + } + //--> +</script> +</div> +<a name="skip.navbar.bottom"> +<!-- --> +</a></div> +<!-- ======== END OF BOTTOM NAVBAR ======= --> +</body> +</html> diff --git a/docs/docs/javadoc/de/griefed/ServerPackCreator/package-frame.html b/docs/docs/javadoc/de/griefed/ServerPackCreator/package-frame.html new file mode 100644 index 000000000..23696f63c --- /dev/null +++ b/docs/docs/javadoc/de/griefed/ServerPackCreator/package-frame.html @@ -0,0 +1,26 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> +<!-- NewPage --> +<html lang="de"> +<head> +<!-- Generated by javadoc --> +<title>de.griefed.ServerPackCreator (ServerPackCreator API)</title> +<link rel="stylesheet" type="text/css" href="../../../stylesheet.css" title="Style"> +<script type="text/javascript" src="../../../script.js"></script> +</head> +<body> +<h1 class="bar"><a href="../../../de/griefed/ServerPackCreator/package-summary.html" target="classFrame">de.griefed.ServerPackCreator</a></h1> +<div class="indexContainer"> +<h2 title="Classes">Classes</h2> +<ul title="Classes"> +<li><a href="CLISetup.html" title="class in de.griefed.ServerPackCreator" target="classFrame">CLISetup</a></li> +<li><a href="ConfigCheck.html" title="class in de.griefed.ServerPackCreator" target="classFrame">ConfigCheck</a></li> +<li><a href="CopyFiles.html" title="class in de.griefed.ServerPackCreator" target="classFrame">CopyFiles</a></li> +<li><a href="FilesSetup.html" title="class in de.griefed.ServerPackCreator" target="classFrame">FilesSetup</a></li> +<li><a href="Main.html" title="class in de.griefed.ServerPackCreator" target="classFrame">Main</a></li> +<li><a href="Reference.html" title="class in de.griefed.ServerPackCreator" target="classFrame">Reference</a></li> +<li><a href="ServerSetup.html" title="class in de.griefed.ServerPackCreator" target="classFrame">ServerSetup</a></li> +<li><a href="ServerUtilities.html" title="class in de.griefed.ServerPackCreator" target="classFrame">ServerUtilities</a></li> +</ul> +</div> +</body> +</html> diff --git a/docs/docs/javadoc/de/griefed/ServerPackCreator/package-summary.html b/docs/docs/javadoc/de/griefed/ServerPackCreator/package-summary.html new file mode 100644 index 000000000..f3237b3a5 --- /dev/null +++ b/docs/docs/javadoc/de/griefed/ServerPackCreator/package-summary.html @@ -0,0 +1,167 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> +<!-- NewPage --> +<html lang="de"> +<head> +<!-- Generated by javadoc --> +<title>de.griefed.ServerPackCreator (ServerPackCreator API)</title> +<link rel="stylesheet" type="text/css" href="../../../stylesheet.css" title="Style"> +<script type="text/javascript" src="../../../script.js"></script> +</head> +<body> +<script type="text/javascript"><!-- + try { + if (location.href.indexOf('is-external=true') == -1) { + parent.document.title="de.griefed.ServerPackCreator (ServerPackCreator API)"; + } + } + catch(err) { + } +//--> +</script> +<noscript> +<div>JavaScript is disabled on your browser.</div> +</noscript> +<!-- ========= START OF TOP NAVBAR ======= --> +<div class="topNav"><a name="navbar.top"> +<!-- --> +</a> +<div class="skipNav"><a href="#skip.navbar.top" title="Skip navigation links">Skip navigation links</a></div> +<a name="navbar.top.firstrow"> +<!-- --> +</a> +<ul class="navList" title="Navigation"> +<li><a href="../../../overview-summary.html">Overview</a></li> +<li class="navBarCell1Rev">Package</li> +<li>Class</li> +<li><a href="package-tree.html">Tree</a></li> +<li><a href="../../../deprecated-list.html">Deprecated</a></li> +<li><a href="../../../index-all.html">Index</a></li> +<li><a href="../../../help-doc.html">Help</a></li> +</ul> +</div> +<div class="subNav"> +<ul class="navList"> +<li>Prev Package</li> +<li><a href="../../../de/griefed/ServerPackCreator/CurseForgeModpack/package-summary.html">Next Package</a></li> +</ul> +<ul class="navList"> +<li><a href="../../../index.html?de/griefed/ServerPackCreator/package-summary.html" target="_top">Frames</a></li> +<li><a href="package-summary.html" target="_top">No Frames</a></li> +</ul> +<ul class="navList" id="allclasses_navbar_top"> +<li><a href="../../../allclasses-noframe.html">All Classes</a></li> +</ul> +<div> +<script type="text/javascript"><!-- + allClassesLink = document.getElementById("allclasses_navbar_top"); + if(window==top) { + allClassesLink.style.display = "block"; + } + else { + allClassesLink.style.display = "none"; + } + //--> +</script> +</div> +<a name="skip.navbar.top"> +<!-- --> +</a></div> +<!-- ========= END OF TOP NAVBAR ========= --> +<div class="header"> +<h1 title="Package" class="title">Package de.griefed.ServerPackCreator</h1> +</div> +<div class="contentContainer"> +<ul class="blockList"> +<li class="blockList"> +<table class="typeSummary" border="0" cellpadding="3" cellspacing="0" summary="Class Summary table, listing classes, and an explanation"> +<caption><span>Class Summary</span><span class="tabEnd"> </span></caption> +<tr> +<th class="colFirst" scope="col">Class</th> +<th class="colLast" scope="col">Description</th> +</tr> +<tbody> +<tr class="altColor"> +<td class="colFirst"><a href="../../../de/griefed/ServerPackCreator/CLISetup.html" title="class in de.griefed.ServerPackCreator">CLISetup</a></td> +<td class="colLast"> </td> +</tr> +<tr class="rowColor"> +<td class="colFirst"><a href="../../../de/griefed/ServerPackCreator/ConfigCheck.html" title="class in de.griefed.ServerPackCreator">ConfigCheck</a></td> +<td class="colLast"> </td> +</tr> +<tr class="altColor"> +<td class="colFirst"><a href="../../../de/griefed/ServerPackCreator/CopyFiles.html" title="class in de.griefed.ServerPackCreator">CopyFiles</a></td> +<td class="colLast"> </td> +</tr> +<tr class="rowColor"> +<td class="colFirst"><a href="../../../de/griefed/ServerPackCreator/FilesSetup.html" title="class in de.griefed.ServerPackCreator">FilesSetup</a></td> +<td class="colLast"> </td> +</tr> +<tr class="altColor"> +<td class="colFirst"><a href="../../../de/griefed/ServerPackCreator/Main.html" title="class in de.griefed.ServerPackCreator">Main</a></td> +<td class="colLast"> </td> +</tr> +<tr class="rowColor"> +<td class="colFirst"><a href="../../../de/griefed/ServerPackCreator/Reference.html" title="class in de.griefed.ServerPackCreator">Reference</a></td> +<td class="colLast"> </td> +</tr> +<tr class="altColor"> +<td class="colFirst"><a href="../../../de/griefed/ServerPackCreator/ServerSetup.html" title="class in de.griefed.ServerPackCreator">ServerSetup</a></td> +<td class="colLast"> </td> +</tr> +<tr class="rowColor"> +<td class="colFirst"><a href="../../../de/griefed/ServerPackCreator/ServerUtilities.html" title="class in de.griefed.ServerPackCreator">ServerUtilities</a></td> +<td class="colLast"> </td> +</tr> +</tbody> +</table> +</li> +</ul> +</div> +<!-- ======= START OF BOTTOM NAVBAR ====== --> +<div class="bottomNav"><a name="navbar.bottom"> +<!-- --> +</a> +<div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div> +<a name="navbar.bottom.firstrow"> +<!-- --> +</a> +<ul class="navList" title="Navigation"> +<li><a href="../../../overview-summary.html">Overview</a></li> +<li class="navBarCell1Rev">Package</li> +<li>Class</li> +<li><a href="package-tree.html">Tree</a></li> +<li><a href="../../../deprecated-list.html">Deprecated</a></li> +<li><a href="../../../index-all.html">Index</a></li> +<li><a href="../../../help-doc.html">Help</a></li> +</ul> +</div> +<div class="subNav"> +<ul class="navList"> +<li>Prev Package</li> +<li><a href="../../../de/griefed/ServerPackCreator/CurseForgeModpack/package-summary.html">Next Package</a></li> +</ul> +<ul class="navList"> +<li><a href="../../../index.html?de/griefed/ServerPackCreator/package-summary.html" target="_top">Frames</a></li> +<li><a href="package-summary.html" target="_top">No Frames</a></li> +</ul> +<ul class="navList" id="allclasses_navbar_bottom"> +<li><a href="../../../allclasses-noframe.html">All Classes</a></li> +</ul> +<div> +<script type="text/javascript"><!-- + allClassesLink = document.getElementById("allclasses_navbar_bottom"); + if(window==top) { + allClassesLink.style.display = "block"; + } + else { + allClassesLink.style.display = "none"; + } + //--> +</script> +</div> +<a name="skip.navbar.bottom"> +<!-- --> +</a></div> +<!-- ======== END OF BOTTOM NAVBAR ======= --> +</body> +</html> diff --git a/docs/docs/javadoc/de/griefed/ServerPackCreator/package-tree.html b/docs/docs/javadoc/de/griefed/ServerPackCreator/package-tree.html new file mode 100644 index 000000000..b66e4fad5 --- /dev/null +++ b/docs/docs/javadoc/de/griefed/ServerPackCreator/package-tree.html @@ -0,0 +1,141 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> +<!-- NewPage --> +<html lang="de"> +<head> +<!-- Generated by javadoc --> +<title>de.griefed.ServerPackCreator Class Hierarchy (ServerPackCreator API)</title> +<link rel="stylesheet" type="text/css" href="../../../stylesheet.css" title="Style"> +<script type="text/javascript" src="../../../script.js"></script> +</head> +<body> +<script type="text/javascript"><!-- + try { + if (location.href.indexOf('is-external=true') == -1) { + parent.document.title="de.griefed.ServerPackCreator Class Hierarchy (ServerPackCreator API)"; + } + } + catch(err) { + } +//--> +</script> +<noscript> +<div>JavaScript is disabled on your browser.</div> +</noscript> +<!-- ========= START OF TOP NAVBAR ======= --> +<div class="topNav"><a name="navbar.top"> +<!-- --> +</a> +<div class="skipNav"><a href="#skip.navbar.top" title="Skip navigation links">Skip navigation links</a></div> +<a name="navbar.top.firstrow"> +<!-- --> +</a> +<ul class="navList" title="Navigation"> +<li><a href="../../../overview-summary.html">Overview</a></li> +<li><a href="package-summary.html">Package</a></li> +<li>Class</li> +<li class="navBarCell1Rev">Tree</li> +<li><a href="../../../deprecated-list.html">Deprecated</a></li> +<li><a href="../../../index-all.html">Index</a></li> +<li><a href="../../../help-doc.html">Help</a></li> +</ul> +</div> +<div class="subNav"> +<ul class="navList"> +<li>Prev</li> +<li><a href="../../../de/griefed/ServerPackCreator/CurseForgeModpack/package-tree.html">Next</a></li> +</ul> +<ul class="navList"> +<li><a href="../../../index.html?de/griefed/ServerPackCreator/package-tree.html" target="_top">Frames</a></li> +<li><a href="package-tree.html" target="_top">No Frames</a></li> +</ul> +<ul class="navList" id="allclasses_navbar_top"> +<li><a href="../../../allclasses-noframe.html">All Classes</a></li> +</ul> +<div> +<script type="text/javascript"><!-- + allClassesLink = document.getElementById("allclasses_navbar_top"); + if(window==top) { + allClassesLink.style.display = "block"; + } + else { + allClassesLink.style.display = "none"; + } + //--> +</script> +</div> +<a name="skip.navbar.top"> +<!-- --> +</a></div> +<!-- ========= END OF TOP NAVBAR ========= --> +<div class="header"> +<h1 class="title">Hierarchy For Package de.griefed.ServerPackCreator</h1> +<span class="packageHierarchyLabel">Package Hierarchies:</span> +<ul class="horizontal"> +<li><a href="../../../overview-tree.html">All Packages</a></li> +</ul> +</div> +<div class="contentContainer"> +<h2 title="Class Hierarchy">Class Hierarchy</h2> +<ul> +<li type="circle">java.lang.Object +<ul> +<li type="circle">de.griefed.ServerPackCreator.<a href="../../../de/griefed/ServerPackCreator/CLISetup.html" title="class in de.griefed.ServerPackCreator"><span class="typeNameLink">CLISetup</span></a></li> +<li type="circle">de.griefed.ServerPackCreator.<a href="../../../de/griefed/ServerPackCreator/ConfigCheck.html" title="class in de.griefed.ServerPackCreator"><span class="typeNameLink">ConfigCheck</span></a></li> +<li type="circle">de.griefed.ServerPackCreator.<a href="../../../de/griefed/ServerPackCreator/CopyFiles.html" title="class in de.griefed.ServerPackCreator"><span class="typeNameLink">CopyFiles</span></a></li> +<li type="circle">de.griefed.ServerPackCreator.<a href="../../../de/griefed/ServerPackCreator/FilesSetup.html" title="class in de.griefed.ServerPackCreator"><span class="typeNameLink">FilesSetup</span></a></li> +<li type="circle">de.griefed.ServerPackCreator.<a href="../../../de/griefed/ServerPackCreator/Main.html" title="class in de.griefed.ServerPackCreator"><span class="typeNameLink">Main</span></a></li> +<li type="circle">de.griefed.ServerPackCreator.<a href="../../../de/griefed/ServerPackCreator/Reference.html" title="class in de.griefed.ServerPackCreator"><span class="typeNameLink">Reference</span></a></li> +<li type="circle">de.griefed.ServerPackCreator.<a href="../../../de/griefed/ServerPackCreator/ServerSetup.html" title="class in de.griefed.ServerPackCreator"><span class="typeNameLink">ServerSetup</span></a></li> +<li type="circle">de.griefed.ServerPackCreator.<a href="../../../de/griefed/ServerPackCreator/ServerUtilities.html" title="class in de.griefed.ServerPackCreator"><span class="typeNameLink">ServerUtilities</span></a></li> +</ul> +</li> +</ul> +</div> +<!-- ======= START OF BOTTOM NAVBAR ====== --> +<div class="bottomNav"><a name="navbar.bottom"> +<!-- --> +</a> +<div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div> +<a name="navbar.bottom.firstrow"> +<!-- --> +</a> +<ul class="navList" title="Navigation"> +<li><a href="../../../overview-summary.html">Overview</a></li> +<li><a href="package-summary.html">Package</a></li> +<li>Class</li> +<li class="navBarCell1Rev">Tree</li> +<li><a href="../../../deprecated-list.html">Deprecated</a></li> +<li><a href="../../../index-all.html">Index</a></li> +<li><a href="../../../help-doc.html">Help</a></li> +</ul> +</div> +<div class="subNav"> +<ul class="navList"> +<li>Prev</li> +<li><a href="../../../de/griefed/ServerPackCreator/CurseForgeModpack/package-tree.html">Next</a></li> +</ul> +<ul class="navList"> +<li><a href="../../../index.html?de/griefed/ServerPackCreator/package-tree.html" target="_top">Frames</a></li> +<li><a href="package-tree.html" target="_top">No Frames</a></li> +</ul> +<ul class="navList" id="allclasses_navbar_bottom"> +<li><a href="../../../allclasses-noframe.html">All Classes</a></li> +</ul> +<div> +<script type="text/javascript"><!-- + allClassesLink = document.getElementById("allclasses_navbar_bottom"); + if(window==top) { + allClassesLink.style.display = "block"; + } + else { + allClassesLink.style.display = "none"; + } + //--> +</script> +</div> +<a name="skip.navbar.bottom"> +<!-- --> +</a></div> +<!-- ======== END OF BOTTOM NAVBAR ======= --> +</body> +</html> diff --git a/docs/docs/javadoc/deprecated-list.html b/docs/docs/javadoc/deprecated-list.html new file mode 100644 index 000000000..ffb6322b1 --- /dev/null +++ b/docs/docs/javadoc/deprecated-list.html @@ -0,0 +1,146 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> +<!-- NewPage --> +<html lang="de"> +<head> +<!-- Generated by javadoc --> +<title>Deprecated List (ServerPackCreator API)</title> +<link rel="stylesheet" type="text/css" href="stylesheet.css" title="Style"> +<script type="text/javascript" src="script.js"></script> +</head> +<body> +<script type="text/javascript"><!-- + try { + if (location.href.indexOf('is-external=true') == -1) { + parent.document.title="Deprecated List (ServerPackCreator API)"; + } + } + catch(err) { + } +//--> +</script> +<noscript> +<div>JavaScript is disabled on your browser.</div> +</noscript> +<!-- ========= START OF TOP NAVBAR ======= --> +<div class="topNav"><a name="navbar.top"> +<!-- --> +</a> +<div class="skipNav"><a href="#skip.navbar.top" title="Skip navigation links">Skip navigation links</a></div> +<a name="navbar.top.firstrow"> +<!-- --> +</a> +<ul class="navList" title="Navigation"> +<li><a href="overview-summary.html">Overview</a></li> +<li>Package</li> +<li>Class</li> +<li><a href="overview-tree.html">Tree</a></li> +<li class="navBarCell1Rev">Deprecated</li> +<li><a href="index-all.html">Index</a></li> +<li><a href="help-doc.html">Help</a></li> +</ul> +</div> +<div class="subNav"> +<ul class="navList"> +<li>Prev</li> +<li>Next</li> +</ul> +<ul class="navList"> +<li><a href="index.html?deprecated-list.html" target="_top">Frames</a></li> +<li><a href="deprecated-list.html" target="_top">No Frames</a></li> +</ul> +<ul class="navList" id="allclasses_navbar_top"> +<li><a href="allclasses-noframe.html">All Classes</a></li> +</ul> +<div> +<script type="text/javascript"><!-- + allClassesLink = document.getElementById("allclasses_navbar_top"); + if(window==top) { + allClassesLink.style.display = "block"; + } + else { + allClassesLink.style.display = "none"; + } + //--> +</script> +</div> +<a name="skip.navbar.top"> +<!-- --> +</a></div> +<!-- ========= END OF TOP NAVBAR ========= --> +<div class="header"> +<h1 title="Deprecated API" class="title">Deprecated API</h1> +<h2 title="Contents">Contents</h2> +<ul> +<li><a href="#method">Deprecated Methods</a></li> +</ul> +</div> +<div class="contentContainer"><a name="method"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<table class="deprecatedSummary" border="0" cellpadding="3" cellspacing="0" summary="Deprecated Methods table, listing deprecated methods, and an explanation"> +<caption><span>Deprecated Methods</span><span class="tabEnd"> </span></caption> +<tr> +<th class="colOne" scope="col">Method and Description</th> +</tr> +<tbody> +<tr class="altColor"> +<td class="colOne"><a href="de/griefed/ServerPackCreator/ServerSetup.html#deleteClientMods-java.lang.String-java.util.List-">de.griefed.ServerPackCreator.ServerSetup.deleteClientMods(String, List<String>)</a></td> +</tr> +<tr class="rowColor"> +<td class="colOne"><a href="de/griefed/ServerPackCreator/CurseForgeModpack/CreateModpack.html#deleteDirs-java.lang.String-">de.griefed.ServerPackCreator.CurseForgeModpack.CreateModpack.deleteDirs(String)</a></td> +</tr> +</tbody> +</table> +</li> +</ul> +</div> +<!-- ======= START OF BOTTOM NAVBAR ====== --> +<div class="bottomNav"><a name="navbar.bottom"> +<!-- --> +</a> +<div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div> +<a name="navbar.bottom.firstrow"> +<!-- --> +</a> +<ul class="navList" title="Navigation"> +<li><a href="overview-summary.html">Overview</a></li> +<li>Package</li> +<li>Class</li> +<li><a href="overview-tree.html">Tree</a></li> +<li class="navBarCell1Rev">Deprecated</li> +<li><a href="index-all.html">Index</a></li> +<li><a href="help-doc.html">Help</a></li> +</ul> +</div> +<div class="subNav"> +<ul class="navList"> +<li>Prev</li> +<li>Next</li> +</ul> +<ul class="navList"> +<li><a href="index.html?deprecated-list.html" target="_top">Frames</a></li> +<li><a href="deprecated-list.html" target="_top">No Frames</a></li> +</ul> +<ul class="navList" id="allclasses_navbar_bottom"> +<li><a href="allclasses-noframe.html">All Classes</a></li> +</ul> +<div> +<script type="text/javascript"><!-- + allClassesLink = document.getElementById("allclasses_navbar_bottom"); + if(window==top) { + allClassesLink.style.display = "block"; + } + else { + allClassesLink.style.display = "none"; + } + //--> +</script> +</div> +<a name="skip.navbar.bottom"> +<!-- --> +</a></div> +<!-- ======== END OF BOTTOM NAVBAR ======= --> +</body> +</html> diff --git a/docs/docs/javadoc/help-doc.html b/docs/docs/javadoc/help-doc.html new file mode 100644 index 000000000..75e45a088 --- /dev/null +++ b/docs/docs/javadoc/help-doc.html @@ -0,0 +1,222 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> +<!-- NewPage --> +<html lang="de"> +<head> +<!-- Generated by javadoc --> +<title>API Help (ServerPackCreator API)</title> +<link rel="stylesheet" type="text/css" href="stylesheet.css" title="Style"> +<script type="text/javascript" src="script.js"></script> +</head> +<body> +<script type="text/javascript"><!-- + try { + if (location.href.indexOf('is-external=true') == -1) { + parent.document.title="API Help (ServerPackCreator API)"; + } + } + catch(err) { + } +//--> +</script> +<noscript> +<div>JavaScript is disabled on your browser.</div> +</noscript> +<!-- ========= START OF TOP NAVBAR ======= --> +<div class="topNav"><a name="navbar.top"> +<!-- --> +</a> +<div class="skipNav"><a href="#skip.navbar.top" title="Skip navigation links">Skip navigation links</a></div> +<a name="navbar.top.firstrow"> +<!-- --> +</a> +<ul class="navList" title="Navigation"> +<li><a href="overview-summary.html">Overview</a></li> +<li>Package</li> +<li>Class</li> +<li><a href="overview-tree.html">Tree</a></li> +<li><a href="deprecated-list.html">Deprecated</a></li> +<li><a href="index-all.html">Index</a></li> +<li class="navBarCell1Rev">Help</li> +</ul> +</div> +<div class="subNav"> +<ul class="navList"> +<li>Prev</li> +<li>Next</li> +</ul> +<ul class="navList"> +<li><a href="index.html?help-doc.html" target="_top">Frames</a></li> +<li><a href="help-doc.html" target="_top">No Frames</a></li> +</ul> +<ul class="navList" id="allclasses_navbar_top"> +<li><a href="allclasses-noframe.html">All Classes</a></li> +</ul> +<div> +<script type="text/javascript"><!-- + allClassesLink = document.getElementById("allclasses_navbar_top"); + if(window==top) { + allClassesLink.style.display = "block"; + } + else { + allClassesLink.style.display = "none"; + } + //--> +</script> +</div> +<a name="skip.navbar.top"> +<!-- --> +</a></div> +<!-- ========= END OF TOP NAVBAR ========= --> +<div class="header"> +<h1 class="title">How This API Document Is Organized</h1> +<div class="subTitle">This API (Application Programming Interface) document has pages corresponding to the items in the navigation bar, described as follows.</div> +</div> +<div class="contentContainer"> +<ul class="blockList"> +<li class="blockList"> +<h2>Overview</h2> +<p>The <a href="overview-summary.html">Overview</a> page is the front page of this API document and provides a list of all packages with a summary for each. This page can also contain an overall description of the set of packages.</p> +</li> +<li class="blockList"> +<h2>Package</h2> +<p>Each package has a page that contains a list of its classes and interfaces, with a summary for each. This page can contain six categories:</p> +<ul> +<li>Interfaces (italic)</li> +<li>Classes</li> +<li>Enums</li> +<li>Exceptions</li> +<li>Errors</li> +<li>Annotation Types</li> +</ul> +</li> +<li class="blockList"> +<h2>Class/Interface</h2> +<p>Each class, interface, nested class and nested interface has its own separate page. Each of these pages has three sections consisting of a class/interface description, summary tables, and detailed member descriptions:</p> +<ul> +<li>Class inheritance diagram</li> +<li>Direct Subclasses</li> +<li>All Known Subinterfaces</li> +<li>All Known Implementing Classes</li> +<li>Class/interface declaration</li> +<li>Class/interface description</li> +</ul> +<ul> +<li>Nested Class Summary</li> +<li>Field Summary</li> +<li>Constructor Summary</li> +<li>Method Summary</li> +</ul> +<ul> +<li>Field Detail</li> +<li>Constructor Detail</li> +<li>Method Detail</li> +</ul> +<p>Each summary entry contains the first sentence from the detailed description for that item. The summary entries are alphabetical, while the detailed descriptions are in the order they appear in the source code. This preserves the logical groupings established by the programmer.</p> +</li> +<li class="blockList"> +<h2>Annotation Type</h2> +<p>Each annotation type has its own separate page with the following sections:</p> +<ul> +<li>Annotation Type declaration</li> +<li>Annotation Type description</li> +<li>Required Element Summary</li> +<li>Optional Element Summary</li> +<li>Element Detail</li> +</ul> +</li> +<li class="blockList"> +<h2>Enum</h2> +<p>Each enum has its own separate page with the following sections:</p> +<ul> +<li>Enum declaration</li> +<li>Enum description</li> +<li>Enum Constant Summary</li> +<li>Enum Constant Detail</li> +</ul> +</li> +<li class="blockList"> +<h2>Tree (Class Hierarchy)</h2> +<p>There is a <a href="overview-tree.html">Class Hierarchy</a> page for all packages, plus a hierarchy for each package. Each hierarchy page contains a list of classes and a list of interfaces. The classes are organized by inheritance structure starting with <code>java.lang.Object</code>. The interfaces do not inherit from <code>java.lang.Object</code>.</p> +<ul> +<li>When viewing the Overview page, clicking on "Tree" displays the hierarchy for all packages.</li> +<li>When viewing a particular package, class or interface page, clicking "Tree" displays the hierarchy for only that package.</li> +</ul> +</li> +<li class="blockList"> +<h2>Deprecated API</h2> +<p>The <a href="deprecated-list.html">Deprecated API</a> page lists all of the API that have been deprecated. A deprecated API is not recommended for use, generally due to improvements, and a replacement API is usually given. Deprecated APIs may be removed in future implementations.</p> +</li> +<li class="blockList"> +<h2>Index</h2> +<p>The <a href="index-all.html">Index</a> contains an alphabetic list of all classes, interfaces, constructors, methods, and fields.</p> +</li> +<li class="blockList"> +<h2>Prev/Next</h2> +<p>These links take you to the next or previous class, interface, package, or related page.</p> +</li> +<li class="blockList"> +<h2>Frames/No Frames</h2> +<p>These links show and hide the HTML frames. All pages are available with or without frames.</p> +</li> +<li class="blockList"> +<h2>All Classes</h2> +<p>The <a href="allclasses-noframe.html">All Classes</a> link shows all classes and interfaces except non-static nested types.</p> +</li> +<li class="blockList"> +<h2>Serialized Form</h2> +<p>Each serializable or externalizable class has a description of its serialization fields and methods. This information is of interest to re-implementors, not to developers using the API. While there is no link in the navigation bar, you can get to this information by going to any serialized class and clicking "Serialized Form" in the "See also" section of the class description.</p> +</li> +<li class="blockList"> +<h2>Constant Field Values</h2> +<p>The <a href="constant-values.html">Constant Field Values</a> page lists the static final fields and their values.</p> +</li> +</ul> +<span class="emphasizedPhrase">This help file applies to API documentation generated using the standard doclet.</span></div> +<!-- ======= START OF BOTTOM NAVBAR ====== --> +<div class="bottomNav"><a name="navbar.bottom"> +<!-- --> +</a> +<div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div> +<a name="navbar.bottom.firstrow"> +<!-- --> +</a> +<ul class="navList" title="Navigation"> +<li><a href="overview-summary.html">Overview</a></li> +<li>Package</li> +<li>Class</li> +<li><a href="overview-tree.html">Tree</a></li> +<li><a href="deprecated-list.html">Deprecated</a></li> +<li><a href="index-all.html">Index</a></li> +<li class="navBarCell1Rev">Help</li> +</ul> +</div> +<div class="subNav"> +<ul class="navList"> +<li>Prev</li> +<li>Next</li> +</ul> +<ul class="navList"> +<li><a href="index.html?help-doc.html" target="_top">Frames</a></li> +<li><a href="help-doc.html" target="_top">No Frames</a></li> +</ul> +<ul class="navList" id="allclasses_navbar_bottom"> +<li><a href="allclasses-noframe.html">All Classes</a></li> +</ul> +<div> +<script type="text/javascript"><!-- + allClassesLink = document.getElementById("allclasses_navbar_bottom"); + if(window==top) { + allClassesLink.style.display = "block"; + } + else { + allClassesLink.style.display = "none"; + } + //--> +</script> +</div> +<a name="skip.navbar.bottom"> +<!-- --> +</a></div> +<!-- ======== END OF BOTTOM NAVBAR ======= --> +</body> +</html> diff --git a/docs/docs/javadoc/index-all.html b/docs/docs/javadoc/index-all.html new file mode 100644 index 000000000..51e2459c5 --- /dev/null +++ b/docs/docs/javadoc/index-all.html @@ -0,0 +1,767 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> +<!-- NewPage --> +<html lang="de"> +<head> +<!-- Generated by javadoc --> +<title>Index (ServerPackCreator API)</title> +<link rel="stylesheet" type="text/css" href="stylesheet.css" title="Style"> +<script type="text/javascript" src="script.js"></script> +</head> +<body> +<script type="text/javascript"><!-- + try { + if (location.href.indexOf('is-external=true') == -1) { + parent.document.title="Index (ServerPackCreator API)"; + } + } + catch(err) { + } +//--> +</script> +<noscript> +<div>JavaScript is disabled on your browser.</div> +</noscript> +<!-- ========= START OF TOP NAVBAR ======= --> +<div class="topNav"><a name="navbar.top"> +<!-- --> +</a> +<div class="skipNav"><a href="#skip.navbar.top" title="Skip navigation links">Skip navigation links</a></div> +<a name="navbar.top.firstrow"> +<!-- --> +</a> +<ul class="navList" title="Navigation"> +<li><a href="overview-summary.html">Overview</a></li> +<li>Package</li> +<li>Class</li> +<li><a href="overview-tree.html">Tree</a></li> +<li><a href="deprecated-list.html">Deprecated</a></li> +<li class="navBarCell1Rev">Index</li> +<li><a href="help-doc.html">Help</a></li> +</ul> +</div> +<div class="subNav"> +<ul class="navList"> +<li>Prev</li> +<li>Next</li> +</ul> +<ul class="navList"> +<li><a href="index.html?index-all.html" target="_top">Frames</a></li> +<li><a href="index-all.html" target="_top">No Frames</a></li> +</ul> +<ul class="navList" id="allclasses_navbar_top"> +<li><a href="allclasses-noframe.html">All Classes</a></li> +</ul> +<div> +<script type="text/javascript"><!-- + allClassesLink = document.getElementById("allclasses_navbar_top"); + if(window==top) { + allClassesLink.style.display = "block"; + } + else { + allClassesLink.style.display = "none"; + } + //--> +</script> +</div> +<a name="skip.navbar.top"> +<!-- --> +</a></div> +<!-- ========= END OF TOP NAVBAR ========= --> +<div class="contentContainer"><a href="#I:A">A</a> <a href="#I:B">B</a> <a href="#I:C">C</a> <a href="#I:D">D</a> <a href="#I:E">E</a> <a href="#I:F">F</a> <a href="#I:G">G</a> <a href="#I:I">I</a> <a href="#I:J">J</a> <a href="#I:L">L</a> <a href="#I:M">M</a> <a href="#I:N">N</a> <a href="#I:O">O</a> <a href="#I:P">P</a> <a href="#I:R">R</a> <a href="#I:S">S</a> <a href="#I:T">T</a> <a href="#I:U">U</a> <a href="#I:V">V</a> <a href="#I:W">W</a> <a href="#I:Z">Z</a> <a name="I:A"> +<!-- --> +</a> +<h2 class="title">A</h2> +<dl> +<dt><span class="memberNameLink"><a href="de/griefed/ServerPackCreator/CLISetup.html#appLogger">appLogger</a></span> - Static variable in class de.griefed.ServerPackCreator.<a href="de/griefed/ServerPackCreator/CLISetup.html" title="class in de.griefed.ServerPackCreator">CLISetup</a></dt> +<dd> </dd> +<dt><span class="memberNameLink"><a href="de/griefed/ServerPackCreator/ConfigCheck.html#appLogger">appLogger</a></span> - Static variable in class de.griefed.ServerPackCreator.<a href="de/griefed/ServerPackCreator/ConfigCheck.html" title="class in de.griefed.ServerPackCreator">ConfigCheck</a></dt> +<dd> </dd> +<dt><span class="memberNameLink"><a href="de/griefed/ServerPackCreator/CopyFiles.html#appLogger">appLogger</a></span> - Static variable in class de.griefed.ServerPackCreator.<a href="de/griefed/ServerPackCreator/CopyFiles.html" title="class in de.griefed.ServerPackCreator">CopyFiles</a></dt> +<dd> </dd> +<dt><span class="memberNameLink"><a href="de/griefed/ServerPackCreator/CurseForgeModpack/CreateModpack.html#appLogger">appLogger</a></span> - Static variable in class de.griefed.ServerPackCreator.CurseForgeModpack.<a href="de/griefed/ServerPackCreator/CurseForgeModpack/CreateModpack.html" title="class in de.griefed.ServerPackCreator.CurseForgeModpack">CreateModpack</a></dt> +<dd> </dd> +<dt><span class="memberNameLink"><a href="de/griefed/ServerPackCreator/FilesSetup.html#appLogger">appLogger</a></span> - Static variable in class de.griefed.ServerPackCreator.<a href="de/griefed/ServerPackCreator/FilesSetup.html" title="class in de.griefed.ServerPackCreator">FilesSetup</a></dt> +<dd> </dd> +<dt><span class="memberNameLink"><a href="de/griefed/ServerPackCreator/Main.html#appLogger">appLogger</a></span> - Static variable in class de.griefed.ServerPackCreator.<a href="de/griefed/ServerPackCreator/Main.html" title="class in de.griefed.ServerPackCreator">Main</a></dt> +<dd> </dd> +<dt><span class="memberNameLink"><a href="de/griefed/ServerPackCreator/ServerSetup.html#appLogger">appLogger</a></span> - Static variable in class de.griefed.ServerPackCreator.<a href="de/griefed/ServerPackCreator/ServerSetup.html" title="class in de.griefed.ServerPackCreator">ServerSetup</a></dt> +<dd> </dd> +<dt><span class="memberNameLink"><a href="de/griefed/ServerPackCreator/ServerUtilities.html#appLogger">appLogger</a></span> - Static variable in class de.griefed.ServerPackCreator.<a href="de/griefed/ServerPackCreator/ServerUtilities.html" title="class in de.griefed.ServerPackCreator">ServerUtilities</a></dt> +<dd> </dd> +<dt><span class="memberNameLink"><a href="de/griefed/ServerPackCreator/CurseForgeModpack/Modpack.html#author">author</a></span> - Variable in class de.griefed.ServerPackCreator.CurseForgeModpack.<a href="de/griefed/ServerPackCreator/CurseForgeModpack/Modpack.html" title="class in de.griefed.ServerPackCreator.CurseForgeModpack">Modpack</a></dt> +<dd> </dd> +</dl> +<a name="I:B"> +<!-- --> +</a> +<h2 class="title">B</h2> +<dl> +<dt><span class="memberNameLink"><a href="de/griefed/ServerPackCreator/CLISetup.html#buildString-java.lang.String...-">buildString(String...)</a></span> - Static method in class de.griefed.ServerPackCreator.<a href="de/griefed/ServerPackCreator/CLISetup.html" title="class in de.griefed.ServerPackCreator">CLISetup</a></dt> +<dd> +<div class="block">Converts list of strings into concatenated string.</div> +</dd> +</dl> +<a name="I:C"> +<!-- --> +</a> +<h2 class="title">C</h2> +<dl> +<dt><span class="memberNameLink"><a href="de/griefed/ServerPackCreator/ConfigCheck.html#checkConfig--">checkConfig()</a></span> - Static method in class de.griefed.ServerPackCreator.<a href="de/griefed/ServerPackCreator/ConfigCheck.html" title="class in de.griefed.ServerPackCreator">ConfigCheck</a></dt> +<dd> +<div class="block">Check the config file for configuration errors.</div> +</dd> +<dt><span class="memberNameLink"><a href="de/griefed/ServerPackCreator/ConfigCheck.html#checkCopyDirs-java.util.List-java.lang.String-">checkCopyDirs(List<String>, String)</a></span> - Static method in class de.griefed.ServerPackCreator.<a href="de/griefed/ServerPackCreator/ConfigCheck.html" title="class in de.griefed.ServerPackCreator">ConfigCheck</a></dt> +<dd> +<div class="block">Check whether the specified directories exist in the modpack directory.</div> +</dd> +<dt><span class="memberNameLink"><a href="de/griefed/ServerPackCreator/ConfigCheck.html#checkCurseForge-java.lang.String-">checkCurseForge(String)</a></span> - Static method in class de.griefed.ServerPackCreator.<a href="de/griefed/ServerPackCreator/ConfigCheck.html" title="class in de.griefed.ServerPackCreator">ConfigCheck</a></dt> +<dd> +<div class="block">Checks whether the modpackDir contains a valid projectID,fileID combination.</div> +</dd> +<dt><span class="memberNameLink"><a href="de/griefed/ServerPackCreator/CurseForgeModpack/CreateModpack.html#checkCurseForgeDir-java.lang.String-">checkCurseForgeDir(String)</a></span> - Static method in class de.griefed.ServerPackCreator.CurseForgeModpack.<a href="de/griefed/ServerPackCreator/CurseForgeModpack/CreateModpack.html" title="class in de.griefed.ServerPackCreator.CurseForgeModpack">CreateModpack</a></dt> +<dd> +<div class="block">Check whether the folder for the specified CurseForge projectID/fileID exists.</div> +</dd> +<dt><span class="memberNameLink"><a href="de/griefed/ServerPackCreator/FilesSetup.html#checkForConfig--">checkForConfig()</a></span> - Static method in class de.griefed.ServerPackCreator.<a href="de/griefed/ServerPackCreator/FilesSetup.html" title="class in de.griefed.ServerPackCreator">FilesSetup</a></dt> +<dd> +<div class="block">Check for old config file, if found rename to new name.</div> +</dd> +<dt><span class="memberNameLink"><a href="de/griefed/ServerPackCreator/FilesSetup.html#checkForFabricLinux--">checkForFabricLinux()</a></span> - Static method in class de.griefed.ServerPackCreator.<a href="de/griefed/ServerPackCreator/FilesSetup.html" title="class in de.griefed.ServerPackCreator">FilesSetup</a></dt> +<dd> +<div class="block">Checks for existence of Fabric start script for Linux.</div> +</dd> +<dt><span class="memberNameLink"><a href="de/griefed/ServerPackCreator/FilesSetup.html#checkForFabricWindows--">checkForFabricWindows()</a></span> - Static method in class de.griefed.ServerPackCreator.<a href="de/griefed/ServerPackCreator/FilesSetup.html" title="class in de.griefed.ServerPackCreator">FilesSetup</a></dt> +<dd> +<div class="block">Checks for existence of Fabric start script for Windows.</div> +</dd> +<dt><span class="memberNameLink"><a href="de/griefed/ServerPackCreator/FilesSetup.html#checkForForgeLinux--">checkForForgeLinux()</a></span> - Static method in class de.griefed.ServerPackCreator.<a href="de/griefed/ServerPackCreator/FilesSetup.html" title="class in de.griefed.ServerPackCreator">FilesSetup</a></dt> +<dd> +<div class="block">Checks for existence of Forge start script for Linux.</div> +</dd> +<dt><span class="memberNameLink"><a href="de/griefed/ServerPackCreator/FilesSetup.html#checkForForgeWindows--">checkForForgeWindows()</a></span> - Static method in class de.griefed.ServerPackCreator.<a href="de/griefed/ServerPackCreator/FilesSetup.html" title="class in de.griefed.ServerPackCreator">FilesSetup</a></dt> +<dd> +<div class="block">Checks for existence of Forge start script for Windows.</div> +</dd> +<dt><span class="memberNameLink"><a href="de/griefed/ServerPackCreator/FilesSetup.html#checkForIcon--">checkForIcon()</a></span> - Static method in class de.griefed.ServerPackCreator.<a href="de/griefed/ServerPackCreator/FilesSetup.html" title="class in de.griefed.ServerPackCreator">FilesSetup</a></dt> +<dd> +<div class="block">Checks for existence of server-icon.png file.</div> +</dd> +<dt><span class="memberNameLink"><a href="de/griefed/ServerPackCreator/FilesSetup.html#checkForProperties--">checkForProperties()</a></span> - Static method in class de.griefed.ServerPackCreator.<a href="de/griefed/ServerPackCreator/FilesSetup.html" title="class in de.griefed.ServerPackCreator">FilesSetup</a></dt> +<dd> +<div class="block">Checks for existence of server.properties file.</div> +</dd> +<dt><span class="memberNameLink"><a href="de/griefed/ServerPackCreator/ConfigCheck.html#checkJavaPath-java.lang.String-">checkJavaPath(String)</a></span> - Static method in class de.griefed.ServerPackCreator.<a href="de/griefed/ServerPackCreator/ConfigCheck.html" title="class in de.griefed.ServerPackCreator">ConfigCheck</a></dt> +<dd> +<div class="block">Checks whether the correct path to the Java installation was set.</div> +</dd> +<dt><span class="memberNameLink"><a href="de/griefed/ServerPackCreator/FilesSetup.html#checkLocaleFile--">checkLocaleFile()</a></span> - Static method in class de.griefed.ServerPackCreator.<a href="de/griefed/ServerPackCreator/FilesSetup.html" title="class in de.griefed.ServerPackCreator">FilesSetup</a></dt> +<dd> </dd> +<dt><span class="memberNameLink"><a href="de/griefed/ServerPackCreator/ConfigCheck.html#checkModloader-java.lang.String-">checkModloader(String)</a></span> - Static method in class de.griefed.ServerPackCreator.<a href="de/griefed/ServerPackCreator/ConfigCheck.html" title="class in de.griefed.ServerPackCreator">ConfigCheck</a></dt> +<dd> +<div class="block">Checks whether Forge or Fabric were specified as modloader.</div> +</dd> +<dt><span class="memberNameLink"><a href="de/griefed/ServerPackCreator/ConfigCheck.html#checkModloaderVersion-java.lang.String-java.lang.String-">checkModloaderVersion(String, String)</a></span> - Static method in class de.griefed.ServerPackCreator.<a href="de/griefed/ServerPackCreator/ConfigCheck.html" title="class in de.griefed.ServerPackCreator">ConfigCheck</a></dt> +<dd> +<div class="block">Determine whether to check for correct Forge or correct Fabric modloader version.</div> +</dd> +<dt><span class="memberNameLink"><a href="de/griefed/ServerPackCreator/ConfigCheck.html#checkModpackDir-java.lang.String-">checkModpackDir(String)</a></span> - Static method in class de.griefed.ServerPackCreator.<a href="de/griefed/ServerPackCreator/ConfigCheck.html" title="class in de.griefed.ServerPackCreator">ConfigCheck</a></dt> +<dd> +<div class="block">Check whether the specified modpack directory exists.</div> +</dd> +<dt><span class="memberNameLink"><a href="de/griefed/ServerPackCreator/CopyFiles.html#cleanupEnvironment-java.lang.String-">cleanupEnvironment(String)</a></span> - Static method in class de.griefed.ServerPackCreator.<a href="de/griefed/ServerPackCreator/CopyFiles.html" title="class in de.griefed.ServerPackCreator">CopyFiles</a></dt> +<dd> +<div class="block">Deletes files from previous runs of ServerPackCreator.</div> +</dd> +<dt><span class="memberNameLink"><a href="de/griefed/ServerPackCreator/ServerUtilities.html#cleanUpServerPack-java.io.File-java.io.File-java.lang.String-java.lang.String-java.lang.String-java.lang.String-">cleanUpServerPack(File, File, String, String, String, String)</a></span> - Static method in class de.griefed.ServerPackCreator.<a href="de/griefed/ServerPackCreator/ServerUtilities.html" title="class in de.griefed.ServerPackCreator">ServerUtilities</a></dt> +<dd> +<div class="block">Deletes remnant files from Fabric/Forge installation no longer needed.</div> +</dd> +<dt><span class="memberNameLink"><a href="de/griefed/ServerPackCreator/Reference.html#clientMods">clientMods</a></span> - Static variable in class de.griefed.ServerPackCreator.<a href="de/griefed/ServerPackCreator/Reference.html" title="class in de.griefed.ServerPackCreator">Reference</a></dt> +<dd> </dd> +<dt><a href="de/griefed/ServerPackCreator/CLISetup.html" title="class in de.griefed.ServerPackCreator"><span class="typeNameLink">CLISetup</span></a> - Class in <a href="de/griefed/ServerPackCreator/package-summary.html">de.griefed.ServerPackCreator</a></dt> +<dd> </dd> +<dt><span class="memberNameLink"><a href="de/griefed/ServerPackCreator/CLISetup.html#CLISetup--">CLISetup()</a></span> - Constructor for class de.griefed.ServerPackCreator.<a href="de/griefed/ServerPackCreator/CLISetup.html" title="class in de.griefed.ServerPackCreator">CLISetup</a></dt> +<dd> </dd> +<dt><span class="memberNameLink"><a href="de/griefed/ServerPackCreator/Reference.html#config">config</a></span> - Static variable in class de.griefed.ServerPackCreator.<a href="de/griefed/ServerPackCreator/Reference.html" title="class in de.griefed.ServerPackCreator">Reference</a></dt> +<dd> </dd> +<dt><span class="memberNameLink"><a href="de/griefed/ServerPackCreator/Reference.html#CONFIG_GEN_ARGUMENT">CONFIG_GEN_ARGUMENT</a></span> - Static variable in class de.griefed.ServerPackCreator.<a href="de/griefed/ServerPackCreator/Reference.html" title="class in de.griefed.ServerPackCreator">Reference</a></dt> +<dd> </dd> +<dt><a href="de/griefed/ServerPackCreator/ConfigCheck.html" title="class in de.griefed.ServerPackCreator"><span class="typeNameLink">ConfigCheck</span></a> - Class in <a href="de/griefed/ServerPackCreator/package-summary.html">de.griefed.ServerPackCreator</a></dt> +<dd> </dd> +<dt><span class="memberNameLink"><a href="de/griefed/ServerPackCreator/ConfigCheck.html#ConfigCheck--">ConfigCheck()</a></span> - Constructor for class de.griefed.ServerPackCreator.<a href="de/griefed/ServerPackCreator/ConfigCheck.html" title="class in de.griefed.ServerPackCreator">ConfigCheck</a></dt> +<dd> </dd> +<dt><span class="memberNameLink"><a href="de/griefed/ServerPackCreator/Reference.html#configFile">configFile</a></span> - Static variable in class de.griefed.ServerPackCreator.<a href="de/griefed/ServerPackCreator/Reference.html" title="class in de.griefed.ServerPackCreator">Reference</a></dt> +<dd> </dd> +<dt><span class="memberNameLink"><a href="de/griefed/ServerPackCreator/ConfigCheck.html#containsFabric-de.griefed.ServerPackCreator.CurseForgeModpack.Modpack-">containsFabric(Modpack)</a></span> - Static method in class de.griefed.ServerPackCreator.<a href="de/griefed/ServerPackCreator/ConfigCheck.html" title="class in de.griefed.ServerPackCreator">ConfigCheck</a></dt> +<dd> +<div class="block">Checks for the Jumploader mod in the project list of the modpack.</div> +</dd> +<dt><span class="memberNameLink"><a href="de/griefed/ServerPackCreator/ConfigCheck.html#convertToBoolean-java.lang.String-">convertToBoolean(String)</a></span> - Static method in class de.griefed.ServerPackCreator.<a href="de/griefed/ServerPackCreator/ConfigCheck.html" title="class in de.griefed.ServerPackCreator">ConfigCheck</a></dt> +<dd> +<div class="block">Converts various strings to booleans.</div> +</dd> +<dt><span class="memberNameLink"><a href="de/griefed/ServerPackCreator/Reference.html#copyDirs">copyDirs</a></span> - Static variable in class de.griefed.ServerPackCreator.<a href="de/griefed/ServerPackCreator/Reference.html" title="class in de.griefed.ServerPackCreator">Reference</a></dt> +<dd> </dd> +<dt><a href="de/griefed/ServerPackCreator/CopyFiles.html" title="class in de.griefed.ServerPackCreator"><span class="typeNameLink">CopyFiles</span></a> - Class in <a href="de/griefed/ServerPackCreator/package-summary.html">de.griefed.ServerPackCreator</a></dt> +<dd> </dd> +<dt><span class="memberNameLink"><a href="de/griefed/ServerPackCreator/CopyFiles.html#CopyFiles--">CopyFiles()</a></span> - Constructor for class de.griefed.ServerPackCreator.<a href="de/griefed/ServerPackCreator/CopyFiles.html" title="class in de.griefed.ServerPackCreator">CopyFiles</a></dt> +<dd> </dd> +<dt><span class="memberNameLink"><a href="de/griefed/ServerPackCreator/CopyFiles.html#copyFiles-java.lang.String-java.util.List-java.util.List-">copyFiles(String, List<String>, List<String>)</a></span> - Static method in class de.griefed.ServerPackCreator.<a href="de/griefed/ServerPackCreator/CopyFiles.html" title="class in de.griefed.ServerPackCreator">CopyFiles</a></dt> +<dd> +<div class="block">Copies all specified folders and their files to the modpackDir.</div> +</dd> +<dt><span class="memberNameLink"><a href="de/griefed/ServerPackCreator/CopyFiles.html#copyIcon-java.lang.String-">copyIcon(String)</a></span> - Static method in class de.griefed.ServerPackCreator.<a href="de/griefed/ServerPackCreator/CopyFiles.html" title="class in de.griefed.ServerPackCreator">CopyFiles</a></dt> +<dd> +<div class="block">Copies the server-icon.png into server_pack.</div> +</dd> +<dt><span class="memberNameLink"><a href="de/griefed/ServerPackCreator/CurseForgeModpack/CreateModpack.html#copyOverride-java.lang.String-">copyOverride(String)</a></span> - Static method in class de.griefed.ServerPackCreator.CurseForgeModpack.<a href="de/griefed/ServerPackCreator/CurseForgeModpack/CreateModpack.html" title="class in de.griefed.ServerPackCreator.CurseForgeModpack">CreateModpack</a></dt> +<dd> +<div class="block">Copies all folders and the files therein to the parent modpack directory.</div> +</dd> +<dt><span class="memberNameLink"><a href="de/griefed/ServerPackCreator/CopyFiles.html#copyProperties-java.lang.String-">copyProperties(String)</a></span> - Static method in class de.griefed.ServerPackCreator.<a href="de/griefed/ServerPackCreator/CopyFiles.html" title="class in de.griefed.ServerPackCreator">CopyFiles</a></dt> +<dd> +<div class="block">Copies the server.properties into server_pack.</div> +</dd> +<dt><span class="memberNameLink"><a href="de/griefed/ServerPackCreator/CopyFiles.html#copyStartScripts-java.lang.String-java.lang.String-boolean-">copyStartScripts(String, String, boolean)</a></span> - Static method in class de.griefed.ServerPackCreator.<a href="de/griefed/ServerPackCreator/CopyFiles.html" title="class in de.griefed.ServerPackCreator">CopyFiles</a></dt> +<dd> +<div class="block">Copies start scripts for Forge modloader into the server_pack folder.</div> +</dd> +<dt><span class="memberNameLink"><a href="de/griefed/ServerPackCreator/i18n/LocalizationManager.html#COUNTRY_MAP_PATH">COUNTRY_MAP_PATH</a></span> - Static variable in class de.griefed.ServerPackCreator.i18n.<a href="de/griefed/ServerPackCreator/i18n/LocalizationManager.html" title="class in de.griefed.ServerPackCreator.i18n">LocalizationManager</a></dt> +<dd> </dd> +<dt><a href="de/griefed/ServerPackCreator/CurseForgeModpack/CreateModpack.html" title="class in de.griefed.ServerPackCreator.CurseForgeModpack"><span class="typeNameLink">CreateModpack</span></a> - Class in <a href="de/griefed/ServerPackCreator/CurseForgeModpack/package-summary.html">de.griefed.ServerPackCreator.CurseForgeModpack</a></dt> +<dd> </dd> +<dt><span class="memberNameLink"><a href="de/griefed/ServerPackCreator/CurseForgeModpack/CreateModpack.html#CreateModpack--">CreateModpack()</a></span> - Constructor for class de.griefed.ServerPackCreator.CurseForgeModpack.<a href="de/griefed/ServerPackCreator/CurseForgeModpack/CreateModpack.html" title="class in de.griefed.ServerPackCreator.CurseForgeModpack">CreateModpack</a></dt> +<dd> </dd> +<dt><span class="memberNameLink"><a href="de/griefed/ServerPackCreator/i18n/LocalizationManager.html#currentLanguage">currentLanguage</a></span> - Static variable in class de.griefed.ServerPackCreator.i18n.<a href="de/griefed/ServerPackCreator/i18n/LocalizationManager.html" title="class in de.griefed.ServerPackCreator.i18n">LocalizationManager</a></dt> +<dd> +<div class="block">Current language of application, mapped for easier further reference.</div> +</dd> +<dt><span class="memberNameLink"><a href="de/griefed/ServerPackCreator/CurseForgeModpack/CreateModpack.html#curseForgeModpack-java.lang.String-java.lang.Integer-java.lang.Integer-">curseForgeModpack(String, Integer, Integer)</a></span> - Static method in class de.griefed.ServerPackCreator.CurseForgeModpack.<a href="de/griefed/ServerPackCreator/CurseForgeModpack/CreateModpack.html" title="class in de.griefed.ServerPackCreator.CurseForgeModpack">CreateModpack</a></dt> +<dd> +<div class="block">Gets the names of the specified project and file and makes calls to methods which create the modpack so we can then create a server pack from it.</div> +</dd> +</dl> +<a name="I:D"> +<!-- --> +</a> +<h2 class="title">D</h2> +<dl> +<dt><a href="de/griefed/ServerPackCreator/package-summary.html">de.griefed.ServerPackCreator</a> - package de.griefed.ServerPackCreator</dt> +<dd> </dd> +<dt><a href="de/griefed/ServerPackCreator/CurseForgeModpack/package-summary.html">de.griefed.ServerPackCreator.CurseForgeModpack</a> - package de.griefed.ServerPackCreator.CurseForgeModpack</dt> +<dd> </dd> +<dt><a href="de/griefed/ServerPackCreator/i18n/package-summary.html">de.griefed.ServerPackCreator.i18n</a> - package de.griefed.ServerPackCreator.i18n</dt> +<dd> </dd> +<dt><span class="memberNameLink"><a href="de/griefed/ServerPackCreator/ServerSetup.html#deleteClientMods-java.lang.String-java.util.List-">deleteClientMods(String, List<String>)</a></span> - Static method in class de.griefed.ServerPackCreator.<a href="de/griefed/ServerPackCreator/ServerSetup.html" title="class in de.griefed.ServerPackCreator">ServerSetup</a></dt> +<dd> +<div class="block"><span class="deprecatedLabel">Deprecated.</span></div> +</dd> +<dt><span class="memberNameLink"><a href="de/griefed/ServerPackCreator/CurseForgeModpack/CreateModpack.html#deleteDirs-java.lang.String-">deleteDirs(String)</a></span> - Static method in class de.griefed.ServerPackCreator.CurseForgeModpack.<a href="de/griefed/ServerPackCreator/CurseForgeModpack/CreateModpack.html" title="class in de.griefed.ServerPackCreator.CurseForgeModpack">CreateModpack</a></dt> +<dd> +<div class="block"><span class="deprecatedLabel">Deprecated.</span></div> +</dd> +<dt><span class="memberNameLink"><a href="de/griefed/ServerPackCreator/ServerUtilities.html#deleteMinecraftJar-java.lang.String-java.lang.String-">deleteMinecraftJar(String, String)</a></span> - Static method in class de.griefed.ServerPackCreator.<a href="de/griefed/ServerPackCreator/ServerUtilities.html" title="class in de.griefed.ServerPackCreator">ServerUtilities</a></dt> +<dd> +<div class="block">Deletes Mojang's minecraft_server.jar from the zip-archive so users do not accidentally upload a file containing software from Mojang.</div> +</dd> +<dt><span class="memberNameLink"><a href="de/griefed/ServerPackCreator/ServerUtilities.html#downloadFabricJar-java.lang.String-">downloadFabricJar(String)</a></span> - Static method in class de.griefed.ServerPackCreator.<a href="de/griefed/ServerPackCreator/ServerUtilities.html" title="class in de.griefed.ServerPackCreator">ServerUtilities</a></dt> +<dd> +<div class="block">Downloads the specified version of Fabric.</div> +</dd> +<dt><span class="memberNameLink"><a href="de/griefed/ServerPackCreator/ServerUtilities.html#downloadForgeJar-java.lang.String-java.lang.String-java.lang.String-">downloadForgeJar(String, String, String)</a></span> - Static method in class de.griefed.ServerPackCreator.<a href="de/griefed/ServerPackCreator/ServerUtilities.html" title="class in de.griefed.ServerPackCreator">ServerUtilities</a></dt> +<dd> +<div class="block">Downloads the specified version of the Forge installer to be used in ServerSetup.installServer.</div> +</dd> +<dt><span class="memberNameLink"><a href="de/griefed/ServerPackCreator/CurseForgeModpack/CreateModpack.html#downloadMods-java.lang.String-">downloadMods(String)</a></span> - Static method in class de.griefed.ServerPackCreator.CurseForgeModpack.<a href="de/griefed/ServerPackCreator/CurseForgeModpack/CreateModpack.html" title="class in de.griefed.ServerPackCreator.CurseForgeModpack">CreateModpack</a></dt> +<dd> +<div class="block">Downloads all mods specified in the modpack's manifest.json file.</div> +</dd> +</dl> +<a name="I:E"> +<!-- --> +</a> +<h2 class="title">E</h2> +<dl> +<dt><span class="memberNameLink"><a href="de/griefed/ServerPackCreator/CopyFiles.html#excludeClientMods-java.lang.String-java.util.List-">excludeClientMods(String, List<String>)</a></span> - Static method in class de.griefed.ServerPackCreator.<a href="de/griefed/ServerPackCreator/CopyFiles.html" title="class in de.griefed.ServerPackCreator">CopyFiles</a></dt> +<dd> +<div class="block">Generate a list of all mods in a modpack EXCEPT clientside-only mods.</div> +</dd> +</dl> +<a name="I:F"> +<!-- --> +</a> +<h2 class="title">F</h2> +<dl> +<dt><span class="memberNameLink"><a href="de/griefed/ServerPackCreator/Reference.html#FABRIC_MANIFEST_URL">FABRIC_MANIFEST_URL</a></span> - Static variable in class de.griefed.ServerPackCreator.<a href="de/griefed/ServerPackCreator/Reference.html" title="class in de.griefed.ServerPackCreator">Reference</a></dt> +<dd> </dd> +<dt><span class="memberNameLink"><a href="de/griefed/ServerPackCreator/ServerUtilities.html#fabricBatch-java.lang.String-java.lang.String-">fabricBatch(String, String)</a></span> - Static method in class de.griefed.ServerPackCreator.<a href="de/griefed/ServerPackCreator/ServerUtilities.html" title="class in de.griefed.ServerPackCreator">ServerUtilities</a></dt> +<dd> +<div class="block">Generates download scripts for Mojang's Minecraft server for Fabric,Windows.</div> +</dd> +<dt><span class="memberNameLink"><a href="de/griefed/ServerPackCreator/Reference.html#fabricLinuxFile">fabricLinuxFile</a></span> - Static variable in class de.griefed.ServerPackCreator.<a href="de/griefed/ServerPackCreator/Reference.html" title="class in de.griefed.ServerPackCreator">Reference</a></dt> +<dd> </dd> +<dt><span class="memberNameLink"><a href="de/griefed/ServerPackCreator/ServerUtilities.html#fabricShell-java.lang.String-java.lang.String-">fabricShell(String, String)</a></span> - Static method in class de.griefed.ServerPackCreator.<a href="de/griefed/ServerPackCreator/ServerUtilities.html" title="class in de.griefed.ServerPackCreator">ServerUtilities</a></dt> +<dd> +<div class="block">Generates download scripts for Mojang's Minecraft server for Fabric,Linux.</div> +</dd> +<dt><span class="memberNameLink"><a href="de/griefed/ServerPackCreator/Reference.html#fabricWindowsFile">fabricWindowsFile</a></span> - Static variable in class de.griefed.ServerPackCreator.<a href="de/griefed/ServerPackCreator/Reference.html" title="class in de.griefed.ServerPackCreator">Reference</a></dt> +<dd> </dd> +<dt><span class="memberNameLink"><a href="de/griefed/ServerPackCreator/CurseForgeModpack/CreateModpack.html#fileDiskName">fileDiskName</a></span> - Static variable in class de.griefed.ServerPackCreator.CurseForgeModpack.<a href="de/griefed/ServerPackCreator/CurseForgeModpack/CreateModpack.html" title="class in de.griefed.ServerPackCreator.CurseForgeModpack">CreateModpack</a></dt> +<dd> </dd> +<dt><span class="memberNameLink"><a href="de/griefed/ServerPackCreator/CurseForgeModpack/Files.html#fileID">fileID</a></span> - Variable in class de.griefed.ServerPackCreator.CurseForgeModpack.<a href="de/griefed/ServerPackCreator/CurseForgeModpack/Files.html" title="class in de.griefed.ServerPackCreator.CurseForgeModpack">Files</a></dt> +<dd> </dd> +<dt><span class="memberNameLink"><a href="de/griefed/ServerPackCreator/CurseForgeModpack/CreateModpack.html#fileName">fileName</a></span> - Static variable in class de.griefed.ServerPackCreator.CurseForgeModpack.<a href="de/griefed/ServerPackCreator/CurseForgeModpack/CreateModpack.html" title="class in de.griefed.ServerPackCreator.CurseForgeModpack">CreateModpack</a></dt> +<dd> </dd> +<dt><a href="de/griefed/ServerPackCreator/CurseForgeModpack/Files.html" title="class in de.griefed.ServerPackCreator.CurseForgeModpack"><span class="typeNameLink">Files</span></a> - Class in <a href="de/griefed/ServerPackCreator/CurseForgeModpack/package-summary.html">de.griefed.ServerPackCreator.CurseForgeModpack</a></dt> +<dd> </dd> +<dt><span class="memberNameLink"><a href="de/griefed/ServerPackCreator/CurseForgeModpack/Files.html#Files--">Files()</a></span> - Constructor for class de.griefed.ServerPackCreator.CurseForgeModpack.<a href="de/griefed/ServerPackCreator/CurseForgeModpack/Files.html" title="class in de.griefed.ServerPackCreator.CurseForgeModpack">Files</a></dt> +<dd> </dd> +<dt><span class="memberNameLink"><a href="de/griefed/ServerPackCreator/CurseForgeModpack/Modpack.html#files">files</a></span> - Variable in class de.griefed.ServerPackCreator.CurseForgeModpack.<a href="de/griefed/ServerPackCreator/CurseForgeModpack/Modpack.html" title="class in de.griefed.ServerPackCreator.CurseForgeModpack">Modpack</a></dt> +<dd> </dd> +<dt><a href="de/griefed/ServerPackCreator/FilesSetup.html" title="class in de.griefed.ServerPackCreator"><span class="typeNameLink">FilesSetup</span></a> - Class in <a href="de/griefed/ServerPackCreator/package-summary.html">de.griefed.ServerPackCreator</a></dt> +<dd> </dd> +<dt><span class="memberNameLink"><a href="de/griefed/ServerPackCreator/FilesSetup.html#FilesSetup--">FilesSetup()</a></span> - Constructor for class de.griefed.ServerPackCreator.<a href="de/griefed/ServerPackCreator/FilesSetup.html" title="class in de.griefed.ServerPackCreator">FilesSetup</a></dt> +<dd> </dd> +<dt><span class="memberNameLink"><a href="de/griefed/ServerPackCreator/FilesSetup.html#filesSetup--">filesSetup()</a></span> - Static method in class de.griefed.ServerPackCreator.<a href="de/griefed/ServerPackCreator/FilesSetup.html" title="class in de.griefed.ServerPackCreator">FilesSetup</a></dt> +<dd> +<div class="block">Calls individual methods which check for existence of default files.</div> +</dd> +<dt><span class="memberNameLink"><a href="de/griefed/ServerPackCreator/Reference.html#FORGE_MANIFEST_URL">FORGE_MANIFEST_URL</a></span> - Static variable in class de.griefed.ServerPackCreator.<a href="de/griefed/ServerPackCreator/Reference.html" title="class in de.griefed.ServerPackCreator">Reference</a></dt> +<dd> </dd> +<dt><span class="memberNameLink"><a href="de/griefed/ServerPackCreator/ServerUtilities.html#forgeBatch-java.lang.String-java.lang.String-">forgeBatch(String, String)</a></span> - Static method in class de.griefed.ServerPackCreator.<a href="de/griefed/ServerPackCreator/ServerUtilities.html" title="class in de.griefed.ServerPackCreator">ServerUtilities</a></dt> +<dd> +<div class="block">Generates download scripts for Mojang's Minecraft server for Forge,Windows.</div> +</dd> +<dt><span class="memberNameLink"><a href="de/griefed/ServerPackCreator/Reference.html#forgeLinuxFile">forgeLinuxFile</a></span> - Static variable in class de.griefed.ServerPackCreator.<a href="de/griefed/ServerPackCreator/Reference.html" title="class in de.griefed.ServerPackCreator">Reference</a></dt> +<dd> </dd> +<dt><span class="memberNameLink"><a href="de/griefed/ServerPackCreator/ServerUtilities.html#forgeShell-java.lang.String-java.lang.String-">forgeShell(String, String)</a></span> - Static method in class de.griefed.ServerPackCreator.<a href="de/griefed/ServerPackCreator/ServerUtilities.html" title="class in de.griefed.ServerPackCreator">ServerUtilities</a></dt> +<dd> +<div class="block">Generates download scripts for Mojang's Minecraft server for Forge,Linux.</div> +</dd> +<dt><span class="memberNameLink"><a href="de/griefed/ServerPackCreator/Reference.html#forgeWindowsFile">forgeWindowsFile</a></span> - Static variable in class de.griefed.ServerPackCreator.<a href="de/griefed/ServerPackCreator/Reference.html" title="class in de.griefed.ServerPackCreator">Reference</a></dt> +<dd> </dd> +</dl> +<a name="I:G"> +<!-- --> +</a> +<h2 class="title">G</h2> +<dl> +<dt><span class="memberNameLink"><a href="de/griefed/ServerPackCreator/ServerUtilities.html#generateDownloadScripts-java.lang.String-java.lang.String-java.lang.String-">generateDownloadScripts(String, String, String)</a></span> - Static method in class de.griefed.ServerPackCreator.<a href="de/griefed/ServerPackCreator/ServerUtilities.html" title="class in de.griefed.ServerPackCreator">ServerUtilities</a></dt> +<dd> +<div class="block">Calls methods for generating download scripts for Mojang's Minecraft server depending on the specified versions and modloader.</div> +</dd> +<dt><span class="memberNameLink"><a href="de/griefed/ServerPackCreator/CurseForgeModpack/Modpack.html#getAuthor--">getAuthor()</a></span> - Method in class de.griefed.ServerPackCreator.CurseForgeModpack.<a href="de/griefed/ServerPackCreator/CurseForgeModpack/Modpack.html" title="class in de.griefed.ServerPackCreator.CurseForgeModpack">Modpack</a></dt> +<dd> </dd> +<dt><span class="memberNameLink"><a href="de/griefed/ServerPackCreator/CurseForgeModpack/Files.html#getFileID--">getFileID()</a></span> - Method in class de.griefed.ServerPackCreator.CurseForgeModpack.<a href="de/griefed/ServerPackCreator/CurseForgeModpack/Files.html" title="class in de.griefed.ServerPackCreator.CurseForgeModpack">Files</a></dt> +<dd> </dd> +<dt><span class="memberNameLink"><a href="de/griefed/ServerPackCreator/CurseForgeModpack/Modpack.html#getFiles--">getFiles()</a></span> - Method in class de.griefed.ServerPackCreator.CurseForgeModpack.<a href="de/griefed/ServerPackCreator/CurseForgeModpack/Modpack.html" title="class in de.griefed.ServerPackCreator.CurseForgeModpack">Modpack</a></dt> +<dd> </dd> +<dt><span class="memberNameLink"><a href="de/griefed/ServerPackCreator/CurseForgeModpack/ModLoaders.html#getId--">getId()</a></span> - Method in class de.griefed.ServerPackCreator.CurseForgeModpack.<a href="de/griefed/ServerPackCreator/CurseForgeModpack/ModLoaders.html" title="class in de.griefed.ServerPackCreator.CurseForgeModpack">ModLoaders</a></dt> +<dd> </dd> +<dt><span class="memberNameLink"><a href="de/griefed/ServerPackCreator/ConfigCheck.html#getJavaPath-java.lang.String-">getJavaPath(String)</a></span> - Static method in class de.griefed.ServerPackCreator.<a href="de/griefed/ServerPackCreator/ConfigCheck.html" title="class in de.griefed.ServerPackCreator">ConfigCheck</a></dt> +<dd> +<div class="block">Automatically set Java path if none is specified</div> +</dd> +<dt><span class="memberNameLink"><a href="de/griefed/ServerPackCreator/i18n/LocalizationManager.html#getLocale--">getLocale()</a></span> - Static method in class de.griefed.ServerPackCreator.i18n.<a href="de/griefed/ServerPackCreator/i18n/LocalizationManager.html" title="class in de.griefed.ServerPackCreator.i18n">LocalizationManager</a></dt> +<dd> </dd> +<dt><span class="memberNameLink"><a href="de/griefed/ServerPackCreator/i18n/LocalizationManager.html#getLocalizedString-java.lang.String-">getLocalizedString(String)</a></span> - Static method in class de.griefed.ServerPackCreator.i18n.<a href="de/griefed/ServerPackCreator/i18n/LocalizationManager.html" title="class in de.griefed.ServerPackCreator.i18n">LocalizationManager</a></dt> +<dd> +<div class="block">Gets localized string from localization resource bundle.</div> +</dd> +<dt><span class="memberNameLink"><a href="de/griefed/ServerPackCreator/CurseForgeModpack/Modpack.html#getMinecraft--">getMinecraft()</a></span> - Method in class de.griefed.ServerPackCreator.CurseForgeModpack.<a href="de/griefed/ServerPackCreator/CurseForgeModpack/Modpack.html" title="class in de.griefed.ServerPackCreator.CurseForgeModpack">Modpack</a></dt> +<dd> </dd> +<dt><span class="memberNameLink"><a href="de/griefed/ServerPackCreator/CurseForgeModpack/Minecraft.html#getModLoaders--">getModLoaders()</a></span> - Method in class de.griefed.ServerPackCreator.CurseForgeModpack.<a href="de/griefed/ServerPackCreator/CurseForgeModpack/Minecraft.html" title="class in de.griefed.ServerPackCreator.CurseForgeModpack">Minecraft</a></dt> +<dd> </dd> +<dt><span class="memberNameLink"><a href="de/griefed/ServerPackCreator/CurseForgeModpack/Modpack.html#getName--">getName()</a></span> - Method in class de.griefed.ServerPackCreator.CurseForgeModpack.<a href="de/griefed/ServerPackCreator/CurseForgeModpack/Modpack.html" title="class in de.griefed.ServerPackCreator.CurseForgeModpack">Modpack</a></dt> +<dd> </dd> +<dt><span class="memberNameLink"><a href="de/griefed/ServerPackCreator/CurseForgeModpack/Files.html#getProjectID--">getProjectID()</a></span> - Method in class de.griefed.ServerPackCreator.CurseForgeModpack.<a href="de/griefed/ServerPackCreator/CurseForgeModpack/Files.html" title="class in de.griefed.ServerPackCreator.CurseForgeModpack">Files</a></dt> +<dd> </dd> +<dt><span class="memberNameLink"><a href="de/griefed/ServerPackCreator/CurseForgeModpack/Splines.html#getRandomInt--">getRandomInt()</a></span> - Static method in class de.griefed.ServerPackCreator.CurseForgeModpack.<a href="de/griefed/ServerPackCreator/CurseForgeModpack/Splines.html" title="class in de.griefed.ServerPackCreator.CurseForgeModpack">Splines</a></dt> +<dd> </dd> +<dt><span class="memberNameLink"><a href="de/griefed/ServerPackCreator/CurseForgeModpack/Splines.html#getSplines--">getSplines()</a></span> - Static method in class de.griefed.ServerPackCreator.CurseForgeModpack.<a href="de/griefed/ServerPackCreator/CurseForgeModpack/Splines.html" title="class in de.griefed.ServerPackCreator.CurseForgeModpack">Splines</a></dt> +<dd> </dd> +<dt><span class="memberNameLink"><a href="de/griefed/ServerPackCreator/i18n/LocalizationManager.html#getSupportedLanguages--">getSupportedLanguages()</a></span> - Static method in class de.griefed.ServerPackCreator.i18n.<a href="de/griefed/ServerPackCreator/i18n/LocalizationManager.html" title="class in de.griefed.ServerPackCreator.i18n">LocalizationManager</a></dt> +<dd> </dd> +<dt><span class="memberNameLink"><a href="de/griefed/ServerPackCreator/CurseForgeModpack/Minecraft.html#getVersion--">getVersion()</a></span> - Method in class de.griefed.ServerPackCreator.CurseForgeModpack.<a href="de/griefed/ServerPackCreator/CurseForgeModpack/Minecraft.html" title="class in de.griefed.ServerPackCreator.CurseForgeModpack">Minecraft</a></dt> +<dd> </dd> +<dt><span class="memberNameLink"><a href="de/griefed/ServerPackCreator/CurseForgeModpack/Modpack.html#getVersion--">getVersion()</a></span> - Method in class de.griefed.ServerPackCreator.CurseForgeModpack.<a href="de/griefed/ServerPackCreator/CurseForgeModpack/Modpack.html" title="class in de.griefed.ServerPackCreator.CurseForgeModpack">Modpack</a></dt> +<dd> </dd> +</dl> +<a name="I:I"> +<!-- --> +</a> +<h2 class="title">I</h2> +<dl> +<dt><span class="memberNameLink"><a href="de/griefed/ServerPackCreator/Reference.html#iconFile">iconFile</a></span> - Static variable in class de.griefed.ServerPackCreator.<a href="de/griefed/ServerPackCreator/Reference.html" title="class in de.griefed.ServerPackCreator">Reference</a></dt> +<dd> </dd> +<dt><span class="memberNameLink"><a href="de/griefed/ServerPackCreator/CurseForgeModpack/ModLoaders.html#id">id</a></span> - Variable in class de.griefed.ServerPackCreator.CurseForgeModpack.<a href="de/griefed/ServerPackCreator/CurseForgeModpack/ModLoaders.html" title="class in de.griefed.ServerPackCreator.CurseForgeModpack">ModLoaders</a></dt> +<dd> </dd> +<dt><span class="memberNameLink"><a href="de/griefed/ServerPackCreator/Reference.html#includeServerIcon">includeServerIcon</a></span> - Static variable in class de.griefed.ServerPackCreator.<a href="de/griefed/ServerPackCreator/Reference.html" title="class in de.griefed.ServerPackCreator">Reference</a></dt> +<dd> </dd> +<dt><span class="memberNameLink"><a href="de/griefed/ServerPackCreator/Reference.html#includeServerInstallation">includeServerInstallation</a></span> - Static variable in class de.griefed.ServerPackCreator.<a href="de/griefed/ServerPackCreator/Reference.html" title="class in de.griefed.ServerPackCreator">Reference</a></dt> +<dd> </dd> +<dt><span class="memberNameLink"><a href="de/griefed/ServerPackCreator/Reference.html#includeServerProperties">includeServerProperties</a></span> - Static variable in class de.griefed.ServerPackCreator.<a href="de/griefed/ServerPackCreator/Reference.html" title="class in de.griefed.ServerPackCreator">Reference</a></dt> +<dd> </dd> +<dt><span class="memberNameLink"><a href="de/griefed/ServerPackCreator/Reference.html#includeStartScripts">includeStartScripts</a></span> - Static variable in class de.griefed.ServerPackCreator.<a href="de/griefed/ServerPackCreator/Reference.html" title="class in de.griefed.ServerPackCreator">Reference</a></dt> +<dd> </dd> +<dt><span class="memberNameLink"><a href="de/griefed/ServerPackCreator/Reference.html#includeZipCreation">includeZipCreation</a></span> - Static variable in class de.griefed.ServerPackCreator.<a href="de/griefed/ServerPackCreator/Reference.html" title="class in de.griefed.ServerPackCreator">Reference</a></dt> +<dd> </dd> +<dt><a href="de/griefed/ServerPackCreator/i18n/IncorrectLanguageException.html" title="class in de.griefed.ServerPackCreator.i18n"><span class="typeNameLink">IncorrectLanguageException</span></a> - Exception in <a href="de/griefed/ServerPackCreator/i18n/package-summary.html">de.griefed.ServerPackCreator.i18n</a></dt> +<dd> </dd> +<dt><span class="memberNameLink"><a href="de/griefed/ServerPackCreator/i18n/IncorrectLanguageException.html#IncorrectLanguageException--">IncorrectLanguageException()</a></span> - Constructor for exception de.griefed.ServerPackCreator.i18n.<a href="de/griefed/ServerPackCreator/i18n/IncorrectLanguageException.html" title="class in de.griefed.ServerPackCreator.i18n">IncorrectLanguageException</a></dt> +<dd> </dd> +<dt><span class="memberNameLink"><a href="de/griefed/ServerPackCreator/i18n/IncorrectLanguageException.html#IncorrectLanguageException-java.lang.String-">IncorrectLanguageException(String)</a></span> - Constructor for exception de.griefed.ServerPackCreator.i18n.<a href="de/griefed/ServerPackCreator/i18n/IncorrectLanguageException.html" title="class in de.griefed.ServerPackCreator.i18n">IncorrectLanguageException</a></dt> +<dd> </dd> +<dt><span class="memberNameLink"><a href="de/griefed/ServerPackCreator/i18n/IncorrectLanguageException.html#IncorrectLanguageException-java.lang.String-java.lang.Throwable-">IncorrectLanguageException(String, Throwable)</a></span> - Constructor for exception de.griefed.ServerPackCreator.i18n.<a href="de/griefed/ServerPackCreator/i18n/IncorrectLanguageException.html" title="class in de.griefed.ServerPackCreator.i18n">IncorrectLanguageException</a></dt> +<dd> </dd> +<dt><span class="memberNameLink"><a href="de/griefed/ServerPackCreator/i18n/IncorrectLanguageException.html#IncorrectLanguageException-java.lang.Throwable-">IncorrectLanguageException(Throwable)</a></span> - Constructor for exception de.griefed.ServerPackCreator.i18n.<a href="de/griefed/ServerPackCreator/i18n/IncorrectLanguageException.html" title="class in de.griefed.ServerPackCreator.i18n">IncorrectLanguageException</a></dt> +<dd> </dd> +<dt><span class="memberNameLink"><a href="de/griefed/ServerPackCreator/i18n/LocalizationManager.html#init-java.lang.String-">init(String)</a></span> - Static method in class de.griefed.ServerPackCreator.i18n.<a href="de/griefed/ServerPackCreator/i18n/LocalizationManager.html" title="class in de.griefed.ServerPackCreator.i18n">LocalizationManager</a></dt> +<dd> </dd> +<dt><span class="memberNameLink"><a href="de/griefed/ServerPackCreator/i18n/LocalizationManager.html#init-java.io.File-">init(File)</a></span> - Static method in class de.griefed.ServerPackCreator.i18n.<a href="de/griefed/ServerPackCreator/i18n/LocalizationManager.html" title="class in de.griefed.ServerPackCreator.i18n">LocalizationManager</a></dt> +<dd> </dd> +<dt><span class="memberNameLink"><a href="de/griefed/ServerPackCreator/i18n/LocalizationManager.html#init--">init()</a></span> - Static method in class de.griefed.ServerPackCreator.i18n.<a href="de/griefed/ServerPackCreator/i18n/LocalizationManager.html" title="class in de.griefed.ServerPackCreator.i18n">LocalizationManager</a></dt> +<dd> +<div class="block">Initializer with default localization properties path.</div> +</dd> +<dt><span class="memberNameLink"><a href="de/griefed/ServerPackCreator/CurseForgeModpack/CreateModpack.html#initializeModpack-java.lang.String-java.lang.Integer-java.lang.Integer-">initializeModpack(String, Integer, Integer)</a></span> - Static method in class de.griefed.ServerPackCreator.CurseForgeModpack.<a href="de/griefed/ServerPackCreator/CurseForgeModpack/CreateModpack.html" title="class in de.griefed.ServerPackCreator.CurseForgeModpack">CreateModpack</a></dt> +<dd> +<div class="block">Downloads the specified file of the specified project to a directory which is the combination of the project name and file display name.</div> +</dd> +<dt><span class="memberNameLink"><a href="de/griefed/ServerPackCreator/ServerSetup.html#installerLogger">installerLogger</a></span> - Static variable in class de.griefed.ServerPackCreator.<a href="de/griefed/ServerPackCreator/ServerSetup.html" title="class in de.griefed.ServerPackCreator">ServerSetup</a></dt> +<dd> </dd> +<dt><span class="memberNameLink"><a href="de/griefed/ServerPackCreator/ServerSetup.html#installServer-java.lang.String-java.lang.String-java.lang.String-java.lang.String-java.lang.String-">installServer(String, String, String, String, String)</a></span> - Static method in class de.griefed.ServerPackCreator.<a href="de/griefed/ServerPackCreator/ServerSetup.html" title="class in de.griefed.ServerPackCreator">ServerSetup</a></dt> +<dd> +<div class="block">Installs the files for a Forge/Fabric server.</div> +</dd> +<dt><span class="memberNameLink"><a href="de/griefed/ServerPackCreator/ConfigCheck.html#isCurse--">isCurse()</a></span> - Static method in class de.griefed.ServerPackCreator.<a href="de/griefed/ServerPackCreator/ConfigCheck.html" title="class in de.griefed.ServerPackCreator">ConfigCheck</a></dt> +<dd> +<div class="block">Checks whether the specified projectID,fileID combination is a valid CurseForge project and file and whether the resulting directory exists.</div> +</dd> +<dt><span class="memberNameLink"><a href="de/griefed/ServerPackCreator/ConfigCheck.html#isDir-java.lang.String-">isDir(String)</a></span> - Static method in class de.griefed.ServerPackCreator.<a href="de/griefed/ServerPackCreator/ConfigCheck.html" title="class in de.griefed.ServerPackCreator">ConfigCheck</a></dt> +<dd> +<div class="block">Checks whether the specified modpack exists.</div> +</dd> +<dt><span class="memberNameLink"><a href="de/griefed/ServerPackCreator/ConfigCheck.html#isFabricVersionCorrect-java.lang.String-">isFabricVersionCorrect(String)</a></span> - Static method in class de.griefed.ServerPackCreator.<a href="de/griefed/ServerPackCreator/ConfigCheck.html" title="class in de.griefed.ServerPackCreator">ConfigCheck</a></dt> +<dd> +<div class="block">Check the specified Fabric version against Fabric's version manifest to validate the version.</div> +</dd> +<dt><span class="memberNameLink"><a href="de/griefed/ServerPackCreator/ConfigCheck.html#isForgeVersionCorrect-java.lang.String-">isForgeVersionCorrect(String)</a></span> - Static method in class de.griefed.ServerPackCreator.<a href="de/griefed/ServerPackCreator/ConfigCheck.html" title="class in de.griefed.ServerPackCreator">ConfigCheck</a></dt> +<dd> +<div class="block">Checks Forge version for errors (basically for its availability in Forge manifest)</div> +</dd> +<dt><span class="memberNameLink"><a href="de/griefed/ServerPackCreator/ConfigCheck.html#isMinecraftVersionCorrect-java.lang.String-">isMinecraftVersionCorrect(String)</a></span> - Static method in class de.griefed.ServerPackCreator.<a href="de/griefed/ServerPackCreator/ConfigCheck.html" title="class in de.griefed.ServerPackCreator">ConfigCheck</a></dt> +<dd> +<div class="block">Check the specified Minecraft version against Mojang's version manifest to validate the version.</div> +</dd> +</dl> +<a name="I:J"> +<!-- --> +</a> +<h2 class="title">J</h2> +<dl> +<dt><span class="memberNameLink"><a href="de/griefed/ServerPackCreator/Reference.html#javaPath">javaPath</a></span> - Static variable in class de.griefed.ServerPackCreator.<a href="de/griefed/ServerPackCreator/Reference.html" title="class in de.griefed.ServerPackCreator">Reference</a></dt> +<dd> </dd> +</dl> +<a name="I:L"> +<!-- --> +</a> +<h2 class="title">L</h2> +<dl> +<dt><span class="memberNameLink"><a href="de/griefed/ServerPackCreator/Reference.html#LANG_ARGUMENT">LANG_ARGUMENT</a></span> - Static variable in class de.griefed.ServerPackCreator.<a href="de/griefed/ServerPackCreator/Reference.html" title="class in de.griefed.ServerPackCreator">Reference</a></dt> +<dd> </dd> +<dt><span class="memberNameLink"><a href="de/griefed/ServerPackCreator/Reference.html#langPropertiesFile">langPropertiesFile</a></span> - Static variable in class de.griefed.ServerPackCreator.<a href="de/griefed/ServerPackCreator/Reference.html" title="class in de.griefed.ServerPackCreator">Reference</a></dt> +<dd> </dd> +<dt><span class="memberNameLink"><a href="de/griefed/ServerPackCreator/i18n/LocalizationManager.html#LANGUAGE_MAP_PATH">LANGUAGE_MAP_PATH</a></span> - Static variable in class de.griefed.ServerPackCreator.i18n.<a href="de/griefed/ServerPackCreator/i18n/LocalizationManager.html" title="class in de.griefed.ServerPackCreator.i18n">LocalizationManager</a></dt> +<dd> +<div class="block">Keys that used for current language mapping.</div> +</dd> +<dt><span class="memberNameLink"><a href="de/griefed/ServerPackCreator/ServerUtilities.html#latestFabricInstaller-java.lang.String-">latestFabricInstaller(String)</a></span> - Static method in class de.griefed.ServerPackCreator.<a href="de/griefed/ServerPackCreator/ServerUtilities.html" title="class in de.griefed.ServerPackCreator">ServerUtilities</a></dt> +<dd> +<div class="block">Returns the latest installer version for the Fabric installer to be used in ServerSetup.installServer.</div> +</dd> +<dt><span class="memberNameLink"><a href="de/griefed/ServerPackCreator/ConfigCheck.html#latestFabricLoader-java.lang.String-">latestFabricLoader(String)</a></span> - Static method in class de.griefed.ServerPackCreator.<a href="de/griefed/ServerPackCreator/ConfigCheck.html" title="class in de.griefed.ServerPackCreator">ConfigCheck</a></dt> +<dd> +<div class="block">Returns the latest installer version for the Fabric installer to be used in ServerSetup.installServer.</div> +</dd> +<dt><span class="memberNameLink"><a href="de/griefed/ServerPackCreator/i18n/LocalizationManager.html#localeResources">localeResources</a></span> - Static variable in class de.griefed.ServerPackCreator.i18n.<a href="de/griefed/ServerPackCreator/i18n/LocalizationManager.html" title="class in de.griefed.ServerPackCreator.i18n">LocalizationManager</a></dt> +<dd> +<div class="block">Localized strings that application uses.</div> +</dd> +<dt><a href="de/griefed/ServerPackCreator/i18n/LocalizationManager.html" title="class in de.griefed.ServerPackCreator.i18n"><span class="typeNameLink">LocalizationManager</span></a> - Class in <a href="de/griefed/ServerPackCreator/i18n/package-summary.html">de.griefed.ServerPackCreator.i18n</a></dt> +<dd> +<div class="block">This class is localization manager for your application.</div> +</dd> +<dt><span class="memberNameLink"><a href="de/griefed/ServerPackCreator/i18n/LocalizationManager.html#LocalizationManager--">LocalizationManager()</a></span> - Constructor for class de.griefed.ServerPackCreator.i18n.<a href="de/griefed/ServerPackCreator/i18n/LocalizationManager.html" title="class in de.griefed.ServerPackCreator.i18n">LocalizationManager</a></dt> +<dd> </dd> +<dt><span class="memberNameLink"><a href="de/griefed/ServerPackCreator/i18n/LocalizationManager.html#logger">logger</a></span> - Static variable in class de.griefed.ServerPackCreator.i18n.<a href="de/griefed/ServerPackCreator/i18n/LocalizationManager.html" title="class in de.griefed.ServerPackCreator.i18n">LocalizationManager</a></dt> +<dd> </dd> +</dl> +<a name="I:M"> +<!-- --> +</a> +<h2 class="title">M</h2> +<dl> +<dt><a href="de/griefed/ServerPackCreator/Main.html" title="class in de.griefed.ServerPackCreator"><span class="typeNameLink">Main</span></a> - Class in <a href="de/griefed/ServerPackCreator/package-summary.html">de.griefed.ServerPackCreator</a></dt> +<dd> </dd> +<dt><span class="memberNameLink"><a href="de/griefed/ServerPackCreator/Main.html#Main--">Main()</a></span> - Constructor for class de.griefed.ServerPackCreator.<a href="de/griefed/ServerPackCreator/Main.html" title="class in de.griefed.ServerPackCreator">Main</a></dt> +<dd> </dd> +<dt><span class="memberNameLink"><a href="de/griefed/ServerPackCreator/Main.html#main-java.lang.String:A-">main(String[])</a></span> - Static method in class de.griefed.ServerPackCreator.<a href="de/griefed/ServerPackCreator/Main.html" title="class in de.griefed.ServerPackCreator">Main</a></dt> +<dd> +<div class="block">Main class makes the calls to every other class where the actual magic is happening.</div> +</dd> +<dt><a href="de/griefed/ServerPackCreator/CurseForgeModpack/Minecraft.html" title="class in de.griefed.ServerPackCreator.CurseForgeModpack"><span class="typeNameLink">Minecraft</span></a> - Class in <a href="de/griefed/ServerPackCreator/CurseForgeModpack/package-summary.html">de.griefed.ServerPackCreator.CurseForgeModpack</a></dt> +<dd> </dd> +<dt><span class="memberNameLink"><a href="de/griefed/ServerPackCreator/CurseForgeModpack/Minecraft.html#Minecraft--">Minecraft()</a></span> - Constructor for class de.griefed.ServerPackCreator.CurseForgeModpack.<a href="de/griefed/ServerPackCreator/CurseForgeModpack/Minecraft.html" title="class in de.griefed.ServerPackCreator.CurseForgeModpack">Minecraft</a></dt> +<dd> </dd> +<dt><span class="memberNameLink"><a href="de/griefed/ServerPackCreator/CurseForgeModpack/Modpack.html#minecraft">minecraft</a></span> - Variable in class de.griefed.ServerPackCreator.CurseForgeModpack.<a href="de/griefed/ServerPackCreator/CurseForgeModpack/Modpack.html" title="class in de.griefed.ServerPackCreator.CurseForgeModpack">Modpack</a></dt> +<dd> </dd> +<dt><span class="memberNameLink"><a href="de/griefed/ServerPackCreator/Reference.html#MINECRAFT_MANIFEST_URL">MINECRAFT_MANIFEST_URL</a></span> - Static variable in class de.griefed.ServerPackCreator.<a href="de/griefed/ServerPackCreator/Reference.html" title="class in de.griefed.ServerPackCreator">Reference</a></dt> +<dd> </dd> +<dt><span class="memberNameLink"><a href="de/griefed/ServerPackCreator/Reference.html#minecraftVersion">minecraftVersion</a></span> - Static variable in class de.griefed.ServerPackCreator.<a href="de/griefed/ServerPackCreator/Reference.html" title="class in de.griefed.ServerPackCreator">Reference</a></dt> +<dd> </dd> +<dt><span class="memberNameLink"><a href="de/griefed/ServerPackCreator/Reference.html#modLoader">modLoader</a></span> - Static variable in class de.griefed.ServerPackCreator.<a href="de/griefed/ServerPackCreator/Reference.html" title="class in de.griefed.ServerPackCreator">Reference</a></dt> +<dd> </dd> +<dt><span class="memberNameLink"><a href="de/griefed/ServerPackCreator/CurseForgeModpack/Minecraft.html#modLoaders">modLoaders</a></span> - Variable in class de.griefed.ServerPackCreator.CurseForgeModpack.<a href="de/griefed/ServerPackCreator/CurseForgeModpack/Minecraft.html" title="class in de.griefed.ServerPackCreator.CurseForgeModpack">Minecraft</a></dt> +<dd> </dd> +<dt><a href="de/griefed/ServerPackCreator/CurseForgeModpack/ModLoaders.html" title="class in de.griefed.ServerPackCreator.CurseForgeModpack"><span class="typeNameLink">ModLoaders</span></a> - Class in <a href="de/griefed/ServerPackCreator/CurseForgeModpack/package-summary.html">de.griefed.ServerPackCreator.CurseForgeModpack</a></dt> +<dd> </dd> +<dt><span class="memberNameLink"><a href="de/griefed/ServerPackCreator/CurseForgeModpack/ModLoaders.html#ModLoaders--">ModLoaders()</a></span> - Constructor for class de.griefed.ServerPackCreator.CurseForgeModpack.<a href="de/griefed/ServerPackCreator/CurseForgeModpack/ModLoaders.html" title="class in de.griefed.ServerPackCreator.CurseForgeModpack">ModLoaders</a></dt> +<dd> </dd> +<dt><span class="memberNameLink"><a href="de/griefed/ServerPackCreator/Reference.html#modLoaderVersion">modLoaderVersion</a></span> - Static variable in class de.griefed.ServerPackCreator.<a href="de/griefed/ServerPackCreator/Reference.html" title="class in de.griefed.ServerPackCreator">Reference</a></dt> +<dd> </dd> +<dt><a href="de/griefed/ServerPackCreator/CurseForgeModpack/Modpack.html" title="class in de.griefed.ServerPackCreator.CurseForgeModpack"><span class="typeNameLink">Modpack</span></a> - Class in <a href="de/griefed/ServerPackCreator/CurseForgeModpack/package-summary.html">de.griefed.ServerPackCreator.CurseForgeModpack</a></dt> +<dd> </dd> +<dt><span class="memberNameLink"><a href="de/griefed/ServerPackCreator/CurseForgeModpack/Modpack.html#Modpack--">Modpack()</a></span> - Constructor for class de.griefed.ServerPackCreator.CurseForgeModpack.<a href="de/griefed/ServerPackCreator/CurseForgeModpack/Modpack.html" title="class in de.griefed.ServerPackCreator.CurseForgeModpack">Modpack</a></dt> +<dd> </dd> +<dt><span class="memberNameLink"><a href="de/griefed/ServerPackCreator/Reference.html#modpackDir">modpackDir</a></span> - Static variable in class de.griefed.ServerPackCreator.<a href="de/griefed/ServerPackCreator/Reference.html" title="class in de.griefed.ServerPackCreator">Reference</a></dt> +<dd> </dd> +</dl> +<a name="I:N"> +<!-- --> +</a> +<h2 class="title">N</h2> +<dl> +<dt><span class="memberNameLink"><a href="de/griefed/ServerPackCreator/CurseForgeModpack/Modpack.html#name">name</a></span> - Variable in class de.griefed.ServerPackCreator.CurseForgeModpack.<a href="de/griefed/ServerPackCreator/CurseForgeModpack/Modpack.html" title="class in de.griefed.ServerPackCreator.CurseForgeModpack">Modpack</a></dt> +<dd> </dd> +<dt><span class="memberNameLink"><a href="de/griefed/ServerPackCreator/CurseForgeModpack/CreateModpack.html#newFile-java.io.File-java.util.zip.ZipEntry-">newFile(File, ZipEntry)</a></span> - Static method in class de.griefed.ServerPackCreator.CurseForgeModpack.<a href="de/griefed/ServerPackCreator/CurseForgeModpack/CreateModpack.html" title="class in de.griefed.ServerPackCreator.CurseForgeModpack">CreateModpack</a></dt> +<dd> +<div class="block">Helper-Method for unzipArchive.</div> +</dd> +</dl> +<a name="I:O"> +<!-- --> +</a> +<h2 class="title">O</h2> +<dl> +<dt><span class="memberNameLink"><a href="de/griefed/ServerPackCreator/Reference.html#oldConfigFile">oldConfigFile</a></span> - Static variable in class de.griefed.ServerPackCreator.<a href="de/griefed/ServerPackCreator/Reference.html" title="class in de.griefed.ServerPackCreator">Reference</a></dt> +<dd> </dd> +</dl> +<a name="I:P"> +<!-- --> +</a> +<h2 class="title">P</h2> +<dl> +<dt><span class="memberNameLink"><a href="de/griefed/ServerPackCreator/ConfigCheck.html#printConfig-java.lang.String-java.util.List-java.util.List-boolean-java.lang.String-java.lang.String-java.lang.String-java.lang.String-boolean-boolean-boolean-boolean-">printConfig(String, List<String>, List<String>, boolean, String, String, String, String, boolean, boolean, boolean, boolean)</a></span> - Static method in class de.griefed.ServerPackCreator.<a href="de/griefed/ServerPackCreator/ConfigCheck.html" title="class in de.griefed.ServerPackCreator">ConfigCheck</a></dt> +<dd> +<div class="block">Prints the configuration.</div> +</dd> +<dt><span class="memberNameLink"><a href="de/griefed/ServerPackCreator/Reference.html#projectFileID">projectFileID</a></span> - Static variable in class de.griefed.ServerPackCreator.<a href="de/griefed/ServerPackCreator/Reference.html" title="class in de.griefed.ServerPackCreator">Reference</a></dt> +<dd> </dd> +<dt><span class="memberNameLink"><a href="de/griefed/ServerPackCreator/CurseForgeModpack/Files.html#projectID">projectID</a></span> - Variable in class de.griefed.ServerPackCreator.CurseForgeModpack.<a href="de/griefed/ServerPackCreator/CurseForgeModpack/Files.html" title="class in de.griefed.ServerPackCreator.CurseForgeModpack">Files</a></dt> +<dd> </dd> +<dt><span class="memberNameLink"><a href="de/griefed/ServerPackCreator/Reference.html#projectID">projectID</a></span> - Static variable in class de.griefed.ServerPackCreator.<a href="de/griefed/ServerPackCreator/Reference.html" title="class in de.griefed.ServerPackCreator">Reference</a></dt> +<dd> </dd> +<dt><span class="memberNameLink"><a href="de/griefed/ServerPackCreator/CurseForgeModpack/CreateModpack.html#projectName">projectName</a></span> - Static variable in class de.griefed.ServerPackCreator.CurseForgeModpack.<a href="de/griefed/ServerPackCreator/CurseForgeModpack/CreateModpack.html" title="class in de.griefed.ServerPackCreator.CurseForgeModpack">CreateModpack</a></dt> +<dd> </dd> +<dt><span class="memberNameLink"><a href="de/griefed/ServerPackCreator/Reference.html#propertiesFile">propertiesFile</a></span> - Static variable in class de.griefed.ServerPackCreator.<a href="de/griefed/ServerPackCreator/Reference.html" title="class in de.griefed.ServerPackCreator">Reference</a></dt> +<dd> </dd> +</dl> +<a name="I:R"> +<!-- --> +</a> +<h2 class="title">R</h2> +<dl> +<dt><span class="memberNameLink"><a href="de/griefed/ServerPackCreator/CLISetup.html#readBoolean--">readBoolean()</a></span> - Static method in class de.griefed.ServerPackCreator.<a href="de/griefed/ServerPackCreator/CLISetup.html" title="class in de.griefed.ServerPackCreator">CLISetup</a></dt> +<dd> +<div class="block">A helper method for config setup.</div> +</dd> +<dt><span class="memberNameLink"><a href="de/griefed/ServerPackCreator/CLISetup.html#readStringArray--">readStringArray()</a></span> - Static method in class de.griefed.ServerPackCreator.<a href="de/griefed/ServerPackCreator/CLISetup.html" title="class in de.griefed.ServerPackCreator">CLISetup</a></dt> +<dd> +<div class="block">A helper method for config setup.</div> +</dd> +<dt><a href="de/griefed/ServerPackCreator/Reference.html" title="class in de.griefed.ServerPackCreator"><span class="typeNameLink">Reference</span></a> - Class in <a href="de/griefed/ServerPackCreator/package-summary.html">de.griefed.ServerPackCreator</a></dt> +<dd> </dd> +<dt><span class="memberNameLink"><a href="de/griefed/ServerPackCreator/Reference.html#Reference--">Reference()</a></span> - Constructor for class de.griefed.ServerPackCreator.<a href="de/griefed/ServerPackCreator/Reference.html" title="class in de.griefed.ServerPackCreator">Reference</a></dt> +<dd> </dd> +<dt><span class="memberNameLink"><a href="de/griefed/ServerPackCreator/CurseForgeModpack/Splines.html#reticulating">reticulating</a></span> - Static variable in class de.griefed.ServerPackCreator.CurseForgeModpack.<a href="de/griefed/ServerPackCreator/CurseForgeModpack/Splines.html" title="class in de.griefed.ServerPackCreator.CurseForgeModpack">Splines</a></dt> +<dd> </dd> +</dl> +<a name="I:S"> +<!-- --> +</a> +<h2 class="title">S</h2> +<dl> +<dt><a href="de/griefed/ServerPackCreator/ServerSetup.html" title="class in de.griefed.ServerPackCreator"><span class="typeNameLink">ServerSetup</span></a> - Class in <a href="de/griefed/ServerPackCreator/package-summary.html">de.griefed.ServerPackCreator</a></dt> +<dd> </dd> +<dt><span class="memberNameLink"><a href="de/griefed/ServerPackCreator/ServerSetup.html#ServerSetup--">ServerSetup()</a></span> - Constructor for class de.griefed.ServerPackCreator.<a href="de/griefed/ServerPackCreator/ServerSetup.html" title="class in de.griefed.ServerPackCreator">ServerSetup</a></dt> +<dd> </dd> +<dt><a href="de/griefed/ServerPackCreator/ServerUtilities.html" title="class in de.griefed.ServerPackCreator"><span class="typeNameLink">ServerUtilities</span></a> - Class in <a href="de/griefed/ServerPackCreator/package-summary.html">de.griefed.ServerPackCreator</a></dt> +<dd> </dd> +<dt><span class="memberNameLink"><a href="de/griefed/ServerPackCreator/ServerUtilities.html#ServerUtilities--">ServerUtilities()</a></span> - Constructor for class de.griefed.ServerPackCreator.<a href="de/griefed/ServerPackCreator/ServerUtilities.html" title="class in de.griefed.ServerPackCreator">ServerUtilities</a></dt> +<dd> </dd> +<dt><span class="memberNameLink"><a href="de/griefed/ServerPackCreator/CurseForgeModpack/Modpack.html#setAuthor-java.lang.String-">setAuthor(String)</a></span> - Method in class de.griefed.ServerPackCreator.CurseForgeModpack.<a href="de/griefed/ServerPackCreator/CurseForgeModpack/Modpack.html" title="class in de.griefed.ServerPackCreator.CurseForgeModpack">Modpack</a></dt> +<dd> </dd> +<dt><span class="memberNameLink"><a href="de/griefed/ServerPackCreator/CurseForgeModpack/Files.html#setFileID-java.lang.String-">setFileID(String)</a></span> - Method in class de.griefed.ServerPackCreator.CurseForgeModpack.<a href="de/griefed/ServerPackCreator/CurseForgeModpack/Files.html" title="class in de.griefed.ServerPackCreator.CurseForgeModpack">Files</a></dt> +<dd> </dd> +<dt><span class="memberNameLink"><a href="de/griefed/ServerPackCreator/CurseForgeModpack/Modpack.html#setFiles-java.util.List-">setFiles(List<Files>)</a></span> - Method in class de.griefed.ServerPackCreator.CurseForgeModpack.<a href="de/griefed/ServerPackCreator/CurseForgeModpack/Modpack.html" title="class in de.griefed.ServerPackCreator.CurseForgeModpack">Modpack</a></dt> +<dd> </dd> +<dt><span class="memberNameLink"><a href="de/griefed/ServerPackCreator/CurseForgeModpack/ModLoaders.html#setId-java.lang.String-">setId(String)</a></span> - Method in class de.griefed.ServerPackCreator.CurseForgeModpack.<a href="de/griefed/ServerPackCreator/CurseForgeModpack/ModLoaders.html" title="class in de.griefed.ServerPackCreator.CurseForgeModpack">ModLoaders</a></dt> +<dd> </dd> +<dt><span class="memberNameLink"><a href="de/griefed/ServerPackCreator/CurseForgeModpack/Modpack.html#setMinecraft-java.util.List-">setMinecraft(List<Minecraft>)</a></span> - Method in class de.griefed.ServerPackCreator.CurseForgeModpack.<a href="de/griefed/ServerPackCreator/CurseForgeModpack/Modpack.html" title="class in de.griefed.ServerPackCreator.CurseForgeModpack">Modpack</a></dt> +<dd> </dd> +<dt><span class="memberNameLink"><a href="de/griefed/ServerPackCreator/ConfigCheck.html#setModloader-java.lang.String-">setModloader(String)</a></span> - Static method in class de.griefed.ServerPackCreator.<a href="de/griefed/ServerPackCreator/ConfigCheck.html" title="class in de.griefed.ServerPackCreator">ConfigCheck</a></dt> +<dd> +<div class="block">Standardize the specified modloader.</div> +</dd> +<dt><span class="memberNameLink"><a href="de/griefed/ServerPackCreator/CurseForgeModpack/CreateModpack.html#setModloader-java.lang.String-">setModloader(String)</a></span> - Static method in class de.griefed.ServerPackCreator.CurseForgeModpack.<a href="de/griefed/ServerPackCreator/CurseForgeModpack/CreateModpack.html" title="class in de.griefed.ServerPackCreator.CurseForgeModpack">CreateModpack</a></dt> +<dd> +<div class="block">Standardize the specified modloader.</div> +</dd> +<dt><span class="memberNameLink"><a href="de/griefed/ServerPackCreator/CurseForgeModpack/Minecraft.html#setModLoaders-java.util.List-">setModLoaders(List<ModLoaders>)</a></span> - Method in class de.griefed.ServerPackCreator.CurseForgeModpack.<a href="de/griefed/ServerPackCreator/CurseForgeModpack/Minecraft.html" title="class in de.griefed.ServerPackCreator.CurseForgeModpack">Minecraft</a></dt> +<dd> </dd> +<dt><span class="memberNameLink"><a href="de/griefed/ServerPackCreator/CurseForgeModpack/Modpack.html#setName-java.lang.String-">setName(String)</a></span> - Method in class de.griefed.ServerPackCreator.CurseForgeModpack.<a href="de/griefed/ServerPackCreator/CurseForgeModpack/Modpack.html" title="class in de.griefed.ServerPackCreator.CurseForgeModpack">Modpack</a></dt> +<dd> </dd> +<dt><span class="memberNameLink"><a href="de/griefed/ServerPackCreator/CurseForgeModpack/Files.html#setProjectID-java.lang.String-">setProjectID(String)</a></span> - Method in class de.griefed.ServerPackCreator.CurseForgeModpack.<a href="de/griefed/ServerPackCreator/CurseForgeModpack/Files.html" title="class in de.griefed.ServerPackCreator.CurseForgeModpack">Files</a></dt> +<dd> </dd> +<dt><span class="memberNameLink"><a href="de/griefed/ServerPackCreator/CurseForgeModpack/Splines.html#setSplines--">setSplines()</a></span> - Static method in class de.griefed.ServerPackCreator.CurseForgeModpack.<a href="de/griefed/ServerPackCreator/CurseForgeModpack/Splines.html" title="class in de.griefed.ServerPackCreator.CurseForgeModpack">Splines</a></dt> +<dd> </dd> +<dt><span class="memberNameLink"><a href="de/griefed/ServerPackCreator/CLISetup.html#setup--">setup()</a></span> - Static method in class de.griefed.ServerPackCreator.<a href="de/griefed/ServerPackCreator/CLISetup.html" title="class in de.griefed.ServerPackCreator">CLISetup</a></dt> +<dd> +<div class="block">CLI for config file generation.</div> +</dd> +<dt><span class="memberNameLink"><a href="de/griefed/ServerPackCreator/CurseForgeModpack/Minecraft.html#setVersion-java.lang.String-">setVersion(String)</a></span> - Method in class de.griefed.ServerPackCreator.CurseForgeModpack.<a href="de/griefed/ServerPackCreator/CurseForgeModpack/Minecraft.html" title="class in de.griefed.ServerPackCreator.CurseForgeModpack">Minecraft</a></dt> +<dd> </dd> +<dt><span class="memberNameLink"><a href="de/griefed/ServerPackCreator/CurseForgeModpack/Modpack.html#setVersion-java.lang.String-">setVersion(String)</a></span> - Method in class de.griefed.ServerPackCreator.CurseForgeModpack.<a href="de/griefed/ServerPackCreator/CurseForgeModpack/Modpack.html" title="class in de.griefed.ServerPackCreator.CurseForgeModpack">Modpack</a></dt> +<dd> </dd> +<dt><a href="de/griefed/ServerPackCreator/CurseForgeModpack/Splines.html" title="class in de.griefed.ServerPackCreator.CurseForgeModpack"><span class="typeNameLink">Splines</span></a> - Class in <a href="de/griefed/ServerPackCreator/CurseForgeModpack/package-summary.html">de.griefed.ServerPackCreator.CurseForgeModpack</a></dt> +<dd> </dd> +<dt><span class="memberNameLink"><a href="de/griefed/ServerPackCreator/CurseForgeModpack/Splines.html#Splines--">Splines()</a></span> - Constructor for class de.griefed.ServerPackCreator.CurseForgeModpack.<a href="de/griefed/ServerPackCreator/CurseForgeModpack/Splines.html" title="class in de.griefed.ServerPackCreator.CurseForgeModpack">Splines</a></dt> +<dd> </dd> +<dt><span class="memberNameLink"><a href="de/griefed/ServerPackCreator/ConfigCheck.html#splitString-java.lang.String-">splitString(String)</a></span> - Static method in class de.griefed.ServerPackCreator.<a href="de/griefed/ServerPackCreator/ConfigCheck.html" title="class in de.griefed.ServerPackCreator">ConfigCheck</a></dt> +<dd> +<div class="block">Splits a string into an array with the separator being ",".</div> +</dd> +<dt><span class="memberNameLink"><a href="de/griefed/ServerPackCreator/ConfigCheck.html#suggestCopyDirs-java.lang.String-">suggestCopyDirs(String)</a></span> - Static method in class de.griefed.ServerPackCreator.<a href="de/griefed/ServerPackCreator/ConfigCheck.html" title="class in de.griefed.ServerPackCreator">ConfigCheck</a></dt> +<dd> +<div class="block">Creates a list of suggested directories to include in server pack which is later on written to a new configuration file.</div> +</dd> +<dt><span class="memberNameLink"><a href="de/griefed/ServerPackCreator/Reference.html#SUPPORTED_LANGUAGES">SUPPORTED_LANGUAGES</a></span> - Static variable in class de.griefed.ServerPackCreator.<a href="de/griefed/ServerPackCreator/Reference.html" title="class in de.griefed.ServerPackCreator">Reference</a></dt> +<dd> </dd> +</dl> +<a name="I:T"> +<!-- --> +</a> +<h2 class="title">T</h2> +<dl> +<dt><span class="memberNameLink"><a href="de/griefed/ServerPackCreator/CurseForgeModpack/Files.html#toString--">toString()</a></span> - Method in class de.griefed.ServerPackCreator.CurseForgeModpack.<a href="de/griefed/ServerPackCreator/CurseForgeModpack/Files.html" title="class in de.griefed.ServerPackCreator.CurseForgeModpack">Files</a></dt> +<dd> </dd> +<dt><span class="memberNameLink"><a href="de/griefed/ServerPackCreator/CurseForgeModpack/Minecraft.html#toString--">toString()</a></span> - Method in class de.griefed.ServerPackCreator.CurseForgeModpack.<a href="de/griefed/ServerPackCreator/CurseForgeModpack/Minecraft.html" title="class in de.griefed.ServerPackCreator.CurseForgeModpack">Minecraft</a></dt> +<dd> </dd> +<dt><span class="memberNameLink"><a href="de/griefed/ServerPackCreator/CurseForgeModpack/ModLoaders.html#toString--">toString()</a></span> - Method in class de.griefed.ServerPackCreator.CurseForgeModpack.<a href="de/griefed/ServerPackCreator/CurseForgeModpack/ModLoaders.html" title="class in de.griefed.ServerPackCreator.CurseForgeModpack">ModLoaders</a></dt> +<dd> </dd> +<dt><span class="memberNameLink"><a href="de/griefed/ServerPackCreator/CurseForgeModpack/Modpack.html#toString--">toString()</a></span> - Method in class de.griefed.ServerPackCreator.CurseForgeModpack.<a href="de/griefed/ServerPackCreator/CurseForgeModpack/Modpack.html" title="class in de.griefed.ServerPackCreator.CurseForgeModpack">Modpack</a></dt> +<dd> </dd> +</dl> +<a name="I:U"> +<!-- --> +</a> +<h2 class="title">U</h2> +<dl> +<dt><span class="memberNameLink"><a href="de/griefed/ServerPackCreator/CurseForgeModpack/CreateModpack.html#unzipArchive-java.lang.String-java.lang.String-">unzipArchive(String, String)</a></span> - Static method in class de.griefed.ServerPackCreator.CurseForgeModpack.<a href="de/griefed/ServerPackCreator/CurseForgeModpack/CreateModpack.html" title="class in de.griefed.ServerPackCreator.CurseForgeModpack">CreateModpack</a></dt> +<dd> +<div class="block">With help from: https://www.baeldung.com/java-compress-and-uncompress + Unzips the downloaded modpack archive to a directory.</div> +</dd> +</dl> +<a name="I:V"> +<!-- --> +</a> +<h2 class="title">V</h2> +<dl> +<dt><span class="memberNameLink"><a href="de/griefed/ServerPackCreator/CurseForgeModpack/Minecraft.html#version">version</a></span> - Variable in class de.griefed.ServerPackCreator.CurseForgeModpack.<a href="de/griefed/ServerPackCreator/CurseForgeModpack/Minecraft.html" title="class in de.griefed.ServerPackCreator.CurseForgeModpack">Minecraft</a></dt> +<dd> </dd> +<dt><span class="memberNameLink"><a href="de/griefed/ServerPackCreator/CurseForgeModpack/Modpack.html#version">version</a></span> - Variable in class de.griefed.ServerPackCreator.CurseForgeModpack.<a href="de/griefed/ServerPackCreator/CurseForgeModpack/Modpack.html" title="class in de.griefed.ServerPackCreator.CurseForgeModpack">Modpack</a></dt> +<dd> </dd> +</dl> +<a name="I:W"> +<!-- --> +</a> +<h2 class="title">W</h2> +<dl> +<dt><span class="memberNameLink"><a href="de/griefed/ServerPackCreator/FilesSetup.html#writeConfigToFile-java.lang.String-java.lang.String-java.lang.String-boolean-java.lang.String-java.lang.String-java.lang.String-java.lang.String-boolean-boolean-boolean-boolean-">writeConfigToFile(String, String, String, boolean, String, String, String, String, boolean, boolean, boolean, boolean)</a></span> - Static method in class de.griefed.ServerPackCreator.<a href="de/griefed/ServerPackCreator/FilesSetup.html" title="class in de.griefed.ServerPackCreator">FilesSetup</a></dt> +<dd> +<div class="block">Writes a new configuration file with the parameters passed to it.</div> +</dd> +<dt><span class="memberNameLink"><a href="de/griefed/ServerPackCreator/FilesSetup.html#writeLocaleToFile-java.lang.String-">writeLocaleToFile(String)</a></span> - Static method in class de.griefed.ServerPackCreator.<a href="de/griefed/ServerPackCreator/FilesSetup.html" title="class in de.griefed.ServerPackCreator">FilesSetup</a></dt> +<dd> </dd> +</dl> +<a name="I:Z"> +<!-- --> +</a> +<h2 class="title">Z</h2> +<dl> +<dt><span class="memberNameLink"><a href="de/griefed/ServerPackCreator/ServerSetup.html#zipBuilder-java.lang.String-java.lang.String-java.lang.Boolean-">zipBuilder(String, String, Boolean)</a></span> - Static method in class de.griefed.ServerPackCreator.<a href="de/griefed/ServerPackCreator/ServerSetup.html" title="class in de.griefed.ServerPackCreator">ServerSetup</a></dt> +<dd> +<div class="block">Create a zip-archive of the serverpack, excluding Mojang's minecraft_server.jar.</div> +</dd> +</dl> +<a href="#I:A">A</a> <a href="#I:B">B</a> <a href="#I:C">C</a> <a href="#I:D">D</a> <a href="#I:E">E</a> <a href="#I:F">F</a> <a href="#I:G">G</a> <a href="#I:I">I</a> <a href="#I:J">J</a> <a href="#I:L">L</a> <a href="#I:M">M</a> <a href="#I:N">N</a> <a href="#I:O">O</a> <a href="#I:P">P</a> <a href="#I:R">R</a> <a href="#I:S">S</a> <a href="#I:T">T</a> <a href="#I:U">U</a> <a href="#I:V">V</a> <a href="#I:W">W</a> <a href="#I:Z">Z</a> </div> +<!-- ======= START OF BOTTOM NAVBAR ====== --> +<div class="bottomNav"><a name="navbar.bottom"> +<!-- --> +</a> +<div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div> +<a name="navbar.bottom.firstrow"> +<!-- --> +</a> +<ul class="navList" title="Navigation"> +<li><a href="overview-summary.html">Overview</a></li> +<li>Package</li> +<li>Class</li> +<li><a href="overview-tree.html">Tree</a></li> +<li><a href="deprecated-list.html">Deprecated</a></li> +<li class="navBarCell1Rev">Index</li> +<li><a href="help-doc.html">Help</a></li> +</ul> +</div> +<div class="subNav"> +<ul class="navList"> +<li>Prev</li> +<li>Next</li> +</ul> +<ul class="navList"> +<li><a href="index.html?index-all.html" target="_top">Frames</a></li> +<li><a href="index-all.html" target="_top">No Frames</a></li> +</ul> +<ul class="navList" id="allclasses_navbar_bottom"> +<li><a href="allclasses-noframe.html">All Classes</a></li> +</ul> +<div> +<script type="text/javascript"><!-- + allClassesLink = document.getElementById("allclasses_navbar_bottom"); + if(window==top) { + allClassesLink.style.display = "block"; + } + else { + allClassesLink.style.display = "none"; + } + //--> +</script> +</div> +<a name="skip.navbar.bottom"> +<!-- --> +</a></div> +<!-- ======== END OF BOTTOM NAVBAR ======= --> +</body> +</html> diff --git a/docs/docs/javadoc/index.html b/docs/docs/javadoc/index.html new file mode 100644 index 000000000..1cc7f4e9a --- /dev/null +++ b/docs/docs/javadoc/index.html @@ -0,0 +1,75 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Frameset//EN" "http://www.w3.org/TR/html4/frameset.dtd"> +<!-- NewPage --> +<html lang="de"> +<head> +<!-- Generated by javadoc --> +<title>ServerPackCreator API</title> +<script type="text/javascript"> + tmpTargetPage = "" + window.location.search; + if (tmpTargetPage != "" && tmpTargetPage != "undefined") + tmpTargetPage = tmpTargetPage.substring(1); + if (tmpTargetPage.indexOf(":") != -1 || (tmpTargetPage != "" && !validURL(tmpTargetPage))) + tmpTargetPage = "undefined"; + targetPage = tmpTargetPage; + function validURL(url) { + try { + url = decodeURIComponent(url); + } + catch (error) { + return false; + } + var pos = url.indexOf(".html"); + if (pos == -1 || pos != url.length - 5) + return false; + var allowNumber = false; + var allowSep = false; + var seenDot = false; + for (var i = 0; i < url.length - 5; i++) { + var ch = url.charAt(i); + if ('a' <= ch && ch <= 'z' || + 'A' <= ch && ch <= 'Z' || + ch == '$' || + ch == '_' || + ch.charCodeAt(0) > 127) { + allowNumber = true; + allowSep = true; + } else if ('0' <= ch && ch <= '9' + || ch == '-') { + if (!allowNumber) + return false; + } else if (ch == '/' || ch == '.') { + if (!allowSep) + return false; + allowNumber = false; + allowSep = false; + if (ch == '.') + seenDot = true; + if (ch == '/' && seenDot) + return false; + } else { + return false; + } + } + return true; + } + function loadFrames() { + if (targetPage != "" && targetPage != "undefined") + top.classFrame.location = top.targetPage; + } +</script> +</head> +<frameset cols="20%,80%" title="Documentation frame" onload="top.loadFrames()"> +<frameset rows="30%,70%" title="Left frames" onload="top.loadFrames()"> +<frame src="overview-frame.html" name="packageListFrame" title="All Packages"> +<frame src="allclasses-frame.html" name="packageFrame" title="All classes and interfaces (except non-static nested types)"> +</frameset> +<frame src="overview-summary.html" name="classFrame" title="Package, class and interface descriptions" scrolling="yes"> +<noframes> +<noscript> +<div>JavaScript is disabled on your browser.</div> +</noscript> +<h2>Frame Alert</h2> +<p>This document is designed to be viewed using the frames feature. If you see this message, you are using a non-frame-capable web client. Link to <a href="overview-summary.html">Non-frame version</a>.</p> +</noframes> +</frameset> +</html> diff --git a/docs/docs/javadoc/overview-frame.html b/docs/docs/javadoc/overview-frame.html new file mode 100644 index 000000000..1cbee433d --- /dev/null +++ b/docs/docs/javadoc/overview-frame.html @@ -0,0 +1,22 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> +<!-- NewPage --> +<html lang="de"> +<head> +<!-- Generated by javadoc --> +<title>Overview List (ServerPackCreator API)</title> +<link rel="stylesheet" type="text/css" href="stylesheet.css" title="Style"> +<script type="text/javascript" src="script.js"></script> +</head> +<body> +<div class="indexHeader"><span><a href="allclasses-frame.html" target="packageFrame">All Classes</a></span></div> +<div class="indexContainer"> +<h2 title="Packages">Packages</h2> +<ul title="Packages"> +<li><a href="de/griefed/ServerPackCreator/package-frame.html" target="packageFrame">de.griefed.ServerPackCreator</a></li> +<li><a href="de/griefed/ServerPackCreator/CurseForgeModpack/package-frame.html" target="packageFrame">de.griefed.ServerPackCreator.CurseForgeModpack</a></li> +<li><a href="de/griefed/ServerPackCreator/i18n/package-frame.html" target="packageFrame">de.griefed.ServerPackCreator.i18n</a></li> +</ul> +</div> +<p> </p> +</body> +</html> diff --git a/docs/docs/javadoc/overview-summary.html b/docs/docs/javadoc/overview-summary.html new file mode 100644 index 000000000..a305fee6b --- /dev/null +++ b/docs/docs/javadoc/overview-summary.html @@ -0,0 +1,143 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> +<!-- NewPage --> +<html lang="de"> +<head> +<!-- Generated by javadoc --> +<title>Overview (ServerPackCreator API)</title> +<link rel="stylesheet" type="text/css" href="stylesheet.css" title="Style"> +<script type="text/javascript" src="script.js"></script> +</head> +<body> +<script type="text/javascript"><!-- + try { + if (location.href.indexOf('is-external=true') == -1) { + parent.document.title="Overview (ServerPackCreator API)"; + } + } + catch(err) { + } +//--> +</script> +<noscript> +<div>JavaScript is disabled on your browser.</div> +</noscript> +<!-- ========= START OF TOP NAVBAR ======= --> +<div class="topNav"><a name="navbar.top"> +<!-- --> +</a> +<div class="skipNav"><a href="#skip.navbar.top" title="Skip navigation links">Skip navigation links</a></div> +<a name="navbar.top.firstrow"> +<!-- --> +</a> +<ul class="navList" title="Navigation"> +<li class="navBarCell1Rev">Overview</li> +<li>Package</li> +<li>Class</li> +<li><a href="overview-tree.html">Tree</a></li> +<li><a href="deprecated-list.html">Deprecated</a></li> +<li><a href="index-all.html">Index</a></li> +<li><a href="help-doc.html">Help</a></li> +</ul> +</div> +<div class="subNav"> +<ul class="navList"> +<li>Prev</li> +<li>Next</li> +</ul> +<ul class="navList"> +<li><a href="index.html?overview-summary.html" target="_top">Frames</a></li> +<li><a href="overview-summary.html" target="_top">No Frames</a></li> +</ul> +<ul class="navList" id="allclasses_navbar_top"> +<li><a href="allclasses-noframe.html">All Classes</a></li> +</ul> +<div> +<script type="text/javascript"><!-- + allClassesLink = document.getElementById("allclasses_navbar_top"); + if(window==top) { + allClassesLink.style.display = "block"; + } + else { + allClassesLink.style.display = "none"; + } + //--> +</script> +</div> +<a name="skip.navbar.top"> +<!-- --> +</a></div> +<!-- ========= END OF TOP NAVBAR ========= --> +<div class="header"> +<h1 class="title">ServerPackCreator API</h1> +</div> +<div class="contentContainer"> +<table class="overviewSummary" border="0" cellpadding="3" cellspacing="0" summary="Packages table, listing packages, and an explanation"> +<caption><span>Packages</span><span class="tabEnd"> </span></caption> +<tr> +<th class="colFirst" scope="col">Package</th> +<th class="colLast" scope="col">Description</th> +</tr> +<tbody> +<tr class="altColor"> +<td class="colFirst"><a href="de/griefed/ServerPackCreator/package-summary.html">de.griefed.ServerPackCreator</a></td> +<td class="colLast"> </td> +</tr> +<tr class="rowColor"> +<td class="colFirst"><a href="de/griefed/ServerPackCreator/CurseForgeModpack/package-summary.html">de.griefed.ServerPackCreator.CurseForgeModpack</a></td> +<td class="colLast"> </td> +</tr> +<tr class="altColor"> +<td class="colFirst"><a href="de/griefed/ServerPackCreator/i18n/package-summary.html">de.griefed.ServerPackCreator.i18n</a></td> +<td class="colLast"> </td> +</tr> +</tbody> +</table> +</div> +<!-- ======= START OF BOTTOM NAVBAR ====== --> +<div class="bottomNav"><a name="navbar.bottom"> +<!-- --> +</a> +<div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div> +<a name="navbar.bottom.firstrow"> +<!-- --> +</a> +<ul class="navList" title="Navigation"> +<li class="navBarCell1Rev">Overview</li> +<li>Package</li> +<li>Class</li> +<li><a href="overview-tree.html">Tree</a></li> +<li><a href="deprecated-list.html">Deprecated</a></li> +<li><a href="index-all.html">Index</a></li> +<li><a href="help-doc.html">Help</a></li> +</ul> +</div> +<div class="subNav"> +<ul class="navList"> +<li>Prev</li> +<li>Next</li> +</ul> +<ul class="navList"> +<li><a href="index.html?overview-summary.html" target="_top">Frames</a></li> +<li><a href="overview-summary.html" target="_top">No Frames</a></li> +</ul> +<ul class="navList" id="allclasses_navbar_bottom"> +<li><a href="allclasses-noframe.html">All Classes</a></li> +</ul> +<div> +<script type="text/javascript"><!-- + allClassesLink = document.getElementById("allclasses_navbar_bottom"); + if(window==top) { + allClassesLink.style.display = "block"; + } + else { + allClassesLink.style.display = "none"; + } + //--> +</script> +</div> +<a name="skip.navbar.bottom"> +<!-- --> +</a></div> +<!-- ======== END OF BOTTOM NAVBAR ======= --> +</body> +</html> diff --git a/docs/docs/javadoc/overview-tree.html b/docs/docs/javadoc/overview-tree.html new file mode 100644 index 000000000..46d18eb78 --- /dev/null +++ b/docs/docs/javadoc/overview-tree.html @@ -0,0 +1,159 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> +<!-- NewPage --> +<html lang="de"> +<head> +<!-- Generated by javadoc --> +<title>Class Hierarchy (ServerPackCreator API)</title> +<link rel="stylesheet" type="text/css" href="stylesheet.css" title="Style"> +<script type="text/javascript" src="script.js"></script> +</head> +<body> +<script type="text/javascript"><!-- + try { + if (location.href.indexOf('is-external=true') == -1) { + parent.document.title="Class Hierarchy (ServerPackCreator API)"; + } + } + catch(err) { + } +//--> +</script> +<noscript> +<div>JavaScript is disabled on your browser.</div> +</noscript> +<!-- ========= START OF TOP NAVBAR ======= --> +<div class="topNav"><a name="navbar.top"> +<!-- --> +</a> +<div class="skipNav"><a href="#skip.navbar.top" title="Skip navigation links">Skip navigation links</a></div> +<a name="navbar.top.firstrow"> +<!-- --> +</a> +<ul class="navList" title="Navigation"> +<li><a href="overview-summary.html">Overview</a></li> +<li>Package</li> +<li>Class</li> +<li class="navBarCell1Rev">Tree</li> +<li><a href="deprecated-list.html">Deprecated</a></li> +<li><a href="index-all.html">Index</a></li> +<li><a href="help-doc.html">Help</a></li> +</ul> +</div> +<div class="subNav"> +<ul class="navList"> +<li>Prev</li> +<li>Next</li> +</ul> +<ul class="navList"> +<li><a href="index.html?overview-tree.html" target="_top">Frames</a></li> +<li><a href="overview-tree.html" target="_top">No Frames</a></li> +</ul> +<ul class="navList" id="allclasses_navbar_top"> +<li><a href="allclasses-noframe.html">All Classes</a></li> +</ul> +<div> +<script type="text/javascript"><!-- + allClassesLink = document.getElementById("allclasses_navbar_top"); + if(window==top) { + allClassesLink.style.display = "block"; + } + else { + allClassesLink.style.display = "none"; + } + //--> +</script> +</div> +<a name="skip.navbar.top"> +<!-- --> +</a></div> +<!-- ========= END OF TOP NAVBAR ========= --> +<div class="header"> +<h1 class="title">Hierarchy For All Packages</h1> +<span class="packageHierarchyLabel">Package Hierarchies:</span> +<ul class="horizontal"> +<li><a href="de/griefed/ServerPackCreator/package-tree.html">de.griefed.ServerPackCreator</a>, </li> +<li><a href="de/griefed/ServerPackCreator/CurseForgeModpack/package-tree.html">de.griefed.ServerPackCreator.CurseForgeModpack</a>, </li> +<li><a href="de/griefed/ServerPackCreator/i18n/package-tree.html">de.griefed.ServerPackCreator.i18n</a></li> +</ul> +</div> +<div class="contentContainer"> +<h2 title="Class Hierarchy">Class Hierarchy</h2> +<ul> +<li type="circle">java.lang.Object +<ul> +<li type="circle">de.griefed.ServerPackCreator.<a href="de/griefed/ServerPackCreator/CLISetup.html" title="class in de.griefed.ServerPackCreator"><span class="typeNameLink">CLISetup</span></a></li> +<li type="circle">de.griefed.ServerPackCreator.<a href="de/griefed/ServerPackCreator/ConfigCheck.html" title="class in de.griefed.ServerPackCreator"><span class="typeNameLink">ConfigCheck</span></a></li> +<li type="circle">de.griefed.ServerPackCreator.<a href="de/griefed/ServerPackCreator/CopyFiles.html" title="class in de.griefed.ServerPackCreator"><span class="typeNameLink">CopyFiles</span></a></li> +<li type="circle">de.griefed.ServerPackCreator.CurseForgeModpack.<a href="de/griefed/ServerPackCreator/CurseForgeModpack/CreateModpack.html" title="class in de.griefed.ServerPackCreator.CurseForgeModpack"><span class="typeNameLink">CreateModpack</span></a></li> +<li type="circle">de.griefed.ServerPackCreator.CurseForgeModpack.<a href="de/griefed/ServerPackCreator/CurseForgeModpack/Files.html" title="class in de.griefed.ServerPackCreator.CurseForgeModpack"><span class="typeNameLink">Files</span></a></li> +<li type="circle">de.griefed.ServerPackCreator.<a href="de/griefed/ServerPackCreator/FilesSetup.html" title="class in de.griefed.ServerPackCreator"><span class="typeNameLink">FilesSetup</span></a></li> +<li type="circle">de.griefed.ServerPackCreator.i18n.<a href="de/griefed/ServerPackCreator/i18n/LocalizationManager.html" title="class in de.griefed.ServerPackCreator.i18n"><span class="typeNameLink">LocalizationManager</span></a></li> +<li type="circle">de.griefed.ServerPackCreator.<a href="de/griefed/ServerPackCreator/Main.html" title="class in de.griefed.ServerPackCreator"><span class="typeNameLink">Main</span></a></li> +<li type="circle">de.griefed.ServerPackCreator.CurseForgeModpack.<a href="de/griefed/ServerPackCreator/CurseForgeModpack/Minecraft.html" title="class in de.griefed.ServerPackCreator.CurseForgeModpack"><span class="typeNameLink">Minecraft</span></a></li> +<li type="circle">de.griefed.ServerPackCreator.CurseForgeModpack.<a href="de/griefed/ServerPackCreator/CurseForgeModpack/ModLoaders.html" title="class in de.griefed.ServerPackCreator.CurseForgeModpack"><span class="typeNameLink">ModLoaders</span></a></li> +<li type="circle">de.griefed.ServerPackCreator.CurseForgeModpack.<a href="de/griefed/ServerPackCreator/CurseForgeModpack/Modpack.html" title="class in de.griefed.ServerPackCreator.CurseForgeModpack"><span class="typeNameLink">Modpack</span></a></li> +<li type="circle">de.griefed.ServerPackCreator.<a href="de/griefed/ServerPackCreator/Reference.html" title="class in de.griefed.ServerPackCreator"><span class="typeNameLink">Reference</span></a></li> +<li type="circle">de.griefed.ServerPackCreator.<a href="de/griefed/ServerPackCreator/ServerSetup.html" title="class in de.griefed.ServerPackCreator"><span class="typeNameLink">ServerSetup</span></a></li> +<li type="circle">de.griefed.ServerPackCreator.<a href="de/griefed/ServerPackCreator/ServerUtilities.html" title="class in de.griefed.ServerPackCreator"><span class="typeNameLink">ServerUtilities</span></a></li> +<li type="circle">de.griefed.ServerPackCreator.CurseForgeModpack.<a href="de/griefed/ServerPackCreator/CurseForgeModpack/Splines.html" title="class in de.griefed.ServerPackCreator.CurseForgeModpack"><span class="typeNameLink">Splines</span></a></li> +<li type="circle">java.lang.Throwable (implements java.io.Serializable) +<ul> +<li type="circle">java.lang.Exception +<ul> +<li type="circle">de.griefed.ServerPackCreator.i18n.<a href="de/griefed/ServerPackCreator/i18n/IncorrectLanguageException.html" title="class in de.griefed.ServerPackCreator.i18n"><span class="typeNameLink">IncorrectLanguageException</span></a></li> +</ul> +</li> +</ul> +</li> +</ul> +</li> +</ul> +</div> +<!-- ======= START OF BOTTOM NAVBAR ====== --> +<div class="bottomNav"><a name="navbar.bottom"> +<!-- --> +</a> +<div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div> +<a name="navbar.bottom.firstrow"> +<!-- --> +</a> +<ul class="navList" title="Navigation"> +<li><a href="overview-summary.html">Overview</a></li> +<li>Package</li> +<li>Class</li> +<li class="navBarCell1Rev">Tree</li> +<li><a href="deprecated-list.html">Deprecated</a></li> +<li><a href="index-all.html">Index</a></li> +<li><a href="help-doc.html">Help</a></li> +</ul> +</div> +<div class="subNav"> +<ul class="navList"> +<li>Prev</li> +<li>Next</li> +</ul> +<ul class="navList"> +<li><a href="index.html?overview-tree.html" target="_top">Frames</a></li> +<li><a href="overview-tree.html" target="_top">No Frames</a></li> +</ul> +<ul class="navList" id="allclasses_navbar_bottom"> +<li><a href="allclasses-noframe.html">All Classes</a></li> +</ul> +<div> +<script type="text/javascript"><!-- + allClassesLink = document.getElementById("allclasses_navbar_bottom"); + if(window==top) { + allClassesLink.style.display = "block"; + } + else { + allClassesLink.style.display = "none"; + } + //--> +</script> +</div> +<a name="skip.navbar.bottom"> +<!-- --> +</a></div> +<!-- ======== END OF BOTTOM NAVBAR ======= --> +</body> +</html> diff --git a/docs/docs/javadoc/package-list b/docs/docs/javadoc/package-list new file mode 100644 index 000000000..2b15f2922 --- /dev/null +++ b/docs/docs/javadoc/package-list @@ -0,0 +1,3 @@ +de.griefed.ServerPackCreator +de.griefed.ServerPackCreator.CurseForgeModpack +de.griefed.ServerPackCreator.i18n diff --git a/docs/docs/javadoc/script.js b/docs/docs/javadoc/script.js new file mode 100644 index 000000000..b34635693 --- /dev/null +++ b/docs/docs/javadoc/script.js @@ -0,0 +1,30 @@ +function show(type) +{ + count = 0; + for (var key in methods) { + var row = document.getElementById(key); + if ((methods[key] & type) != 0) { + row.style.display = ''; + row.className = (count++ % 2) ? rowColor : altColor; + } + else + row.style.display = 'none'; + } + updateTabs(type); +} + +function updateTabs(type) +{ + for (var value in tabs) { + var sNode = document.getElementById(tabs[value][0]); + var spanNode = sNode.firstChild; + if (value == type) { + sNode.className = activeTableTab; + spanNode.innerHTML = tabs[value][1]; + } + else { + sNode.className = tableTab; + spanNode.innerHTML = "<a href=\"javascript:show("+ value + ");\">" + tabs[value][1] + "</a>"; + } + } +} diff --git a/docs/docs/javadoc/serialized-form.html b/docs/docs/javadoc/serialized-form.html new file mode 100644 index 000000000..fcff029fe --- /dev/null +++ b/docs/docs/javadoc/serialized-form.html @@ -0,0 +1,134 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> +<!-- NewPage --> +<html lang="de"> +<head> +<!-- Generated by javadoc --> +<title>Serialized Form (ServerPackCreator API)</title> +<link rel="stylesheet" type="text/css" href="stylesheet.css" title="Style"> +<script type="text/javascript" src="script.js"></script> +</head> +<body> +<script type="text/javascript"><!-- + try { + if (location.href.indexOf('is-external=true') == -1) { + parent.document.title="Serialized Form (ServerPackCreator API)"; + } + } + catch(err) { + } +//--> +</script> +<noscript> +<div>JavaScript is disabled on your browser.</div> +</noscript> +<!-- ========= START OF TOP NAVBAR ======= --> +<div class="topNav"><a name="navbar.top"> +<!-- --> +</a> +<div class="skipNav"><a href="#skip.navbar.top" title="Skip navigation links">Skip navigation links</a></div> +<a name="navbar.top.firstrow"> +<!-- --> +</a> +<ul class="navList" title="Navigation"> +<li><a href="overview-summary.html">Overview</a></li> +<li>Package</li> +<li>Class</li> +<li><a href="overview-tree.html">Tree</a></li> +<li><a href="deprecated-list.html">Deprecated</a></li> +<li><a href="index-all.html">Index</a></li> +<li><a href="help-doc.html">Help</a></li> +</ul> +</div> +<div class="subNav"> +<ul class="navList"> +<li>Prev</li> +<li>Next</li> +</ul> +<ul class="navList"> +<li><a href="index.html?serialized-form.html" target="_top">Frames</a></li> +<li><a href="serialized-form.html" target="_top">No Frames</a></li> +</ul> +<ul class="navList" id="allclasses_navbar_top"> +<li><a href="allclasses-noframe.html">All Classes</a></li> +</ul> +<div> +<script type="text/javascript"><!-- + allClassesLink = document.getElementById("allclasses_navbar_top"); + if(window==top) { + allClassesLink.style.display = "block"; + } + else { + allClassesLink.style.display = "none"; + } + //--> +</script> +</div> +<a name="skip.navbar.top"> +<!-- --> +</a></div> +<!-- ========= END OF TOP NAVBAR ========= --> +<div class="header"> +<h1 title="Serialized Form" class="title">Serialized Form</h1> +</div> +<div class="serializedFormContainer"> +<ul class="blockList"> +<li class="blockList"> +<h2 title="Package">Package de.griefed.ServerPackCreator.i18n</h2> +<ul class="blockList"> +<li class="blockList"><a name="de.griefed.ServerPackCreator.i18n.IncorrectLanguageException"> +<!-- --> +</a> +<h3>Class <a href="de/griefed/ServerPackCreator/i18n/IncorrectLanguageException.html" title="class in de.griefed.ServerPackCreator.i18n">de.griefed.ServerPackCreator.i18n.IncorrectLanguageException</a> extends java.lang.Exception implements Serializable</h3> +</li> +</ul> +</li> +</ul> +</div> +<!-- ======= START OF BOTTOM NAVBAR ====== --> +<div class="bottomNav"><a name="navbar.bottom"> +<!-- --> +</a> +<div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div> +<a name="navbar.bottom.firstrow"> +<!-- --> +</a> +<ul class="navList" title="Navigation"> +<li><a href="overview-summary.html">Overview</a></li> +<li>Package</li> +<li>Class</li> +<li><a href="overview-tree.html">Tree</a></li> +<li><a href="deprecated-list.html">Deprecated</a></li> +<li><a href="index-all.html">Index</a></li> +<li><a href="help-doc.html">Help</a></li> +</ul> +</div> +<div class="subNav"> +<ul class="navList"> +<li>Prev</li> +<li>Next</li> +</ul> +<ul class="navList"> +<li><a href="index.html?serialized-form.html" target="_top">Frames</a></li> +<li><a href="serialized-form.html" target="_top">No Frames</a></li> +</ul> +<ul class="navList" id="allclasses_navbar_bottom"> +<li><a href="allclasses-noframe.html">All Classes</a></li> +</ul> +<div> +<script type="text/javascript"><!-- + allClassesLink = document.getElementById("allclasses_navbar_bottom"); + if(window==top) { + allClassesLink.style.display = "block"; + } + else { + allClassesLink.style.display = "none"; + } + //--> +</script> +</div> +<a name="skip.navbar.bottom"> +<!-- --> +</a></div> +<!-- ======== END OF BOTTOM NAVBAR ======= --> +</body> +</html> diff --git a/docs/docs/javadoc/stylesheet.css b/docs/docs/javadoc/stylesheet.css new file mode 100644 index 000000000..98055b22d --- /dev/null +++ b/docs/docs/javadoc/stylesheet.css @@ -0,0 +1,574 @@ +/* Javadoc style sheet */ +/* +Overall document style +*/ + +@import url('resources/fonts/dejavu.css'); + +body { + background-color:#ffffff; + color:#353833; + font-family:'DejaVu Sans', Arial, Helvetica, sans-serif; + font-size:14px; + margin:0; +} +a:link, a:visited { + text-decoration:none; + color:#4A6782; +} +a:hover, a:focus { + text-decoration:none; + color:#bb7a2a; +} +a:active { + text-decoration:none; + color:#4A6782; +} +a[name] { + color:#353833; +} +a[name]:hover { + text-decoration:none; + color:#353833; +} +pre { + font-family:'DejaVu Sans Mono', monospace; + font-size:14px; +} +h1 { + font-size:20px; +} +h2 { + font-size:18px; +} +h3 { + font-size:16px; + font-style:italic; +} +h4 { + font-size:13px; +} +h5 { + font-size:12px; +} +h6 { + font-size:11px; +} +ul { + list-style-type:disc; +} +code, tt { + font-family:'DejaVu Sans Mono', monospace; + font-size:14px; + padding-top:4px; + margin-top:8px; + line-height:1.4em; +} +dt code { + font-family:'DejaVu Sans Mono', monospace; + font-size:14px; + padding-top:4px; +} +table tr td dt code { + font-family:'DejaVu Sans Mono', monospace; + font-size:14px; + vertical-align:top; + padding-top:4px; +} +sup { + font-size:8px; +} +/* +Document title and Copyright styles +*/ +.clear { + clear:both; + height:0px; + overflow:hidden; +} +.aboutLanguage { + float:right; + padding:0px 21px; + font-size:11px; + z-index:200; + margin-top:-9px; +} +.legalCopy { + margin-left:.5em; +} +.bar a, .bar a:link, .bar a:visited, .bar a:active { + color:#FFFFFF; + text-decoration:none; +} +.bar a:hover, .bar a:focus { + color:#bb7a2a; +} +.tab { + background-color:#0066FF; + color:#ffffff; + padding:8px; + width:5em; + font-weight:bold; +} +/* +Navigation bar styles +*/ +.bar { + background-color:#4D7A97; + color:#FFFFFF; + padding:.8em .5em .4em .8em; + height:auto;/*height:1.8em;*/ + font-size:11px; + margin:0; +} +.topNav { + background-color:#4D7A97; + color:#FFFFFF; + float:left; + padding:0; + width:100%; + clear:right; + height:2.8em; + padding-top:10px; + overflow:hidden; + font-size:12px; +} +.bottomNav { + margin-top:10px; + background-color:#4D7A97; + color:#FFFFFF; + float:left; + padding:0; + width:100%; + clear:right; + height:2.8em; + padding-top:10px; + overflow:hidden; + font-size:12px; +} +.subNav { + background-color:#dee3e9; + float:left; + width:100%; + overflow:hidden; + font-size:12px; +} +.subNav div { + clear:left; + float:left; + padding:0 0 5px 6px; + text-transform:uppercase; +} +ul.navList, ul.subNavList { + float:left; + margin:0 25px 0 0; + padding:0; +} +ul.navList li{ + list-style:none; + float:left; + padding: 5px 6px; + text-transform:uppercase; +} +ul.subNavList li{ + list-style:none; + float:left; +} +.topNav a:link, .topNav a:active, .topNav a:visited, .bottomNav a:link, .bottomNav a:active, .bottomNav a:visited { + color:#FFFFFF; + text-decoration:none; + text-transform:uppercase; +} +.topNav a:hover, .bottomNav a:hover { + text-decoration:none; + color:#bb7a2a; + text-transform:uppercase; +} +.navBarCell1Rev { + background-color:#F8981D; + color:#253441; + margin: auto 5px; +} +.skipNav { + position:absolute; + top:auto; + left:-9999px; + overflow:hidden; +} +/* +Page header and footer styles +*/ +.header, .footer { + clear:both; + margin:0 20px; + padding:5px 0 0 0; +} +.indexHeader { + margin:10px; + position:relative; +} +.indexHeader span{ + margin-right:15px; +} +.indexHeader h1 { + font-size:13px; +} +.title { + color:#2c4557; + margin:10px 0; +} +.subTitle { + margin:5px 0 0 0; +} +.header ul { + margin:0 0 15px 0; + padding:0; +} +.footer ul { + margin:20px 0 5px 0; +} +.header ul li, .footer ul li { + list-style:none; + font-size:13px; +} +/* +Heading styles +*/ +div.details ul.blockList ul.blockList ul.blockList li.blockList h4, div.details ul.blockList ul.blockList ul.blockListLast li.blockList h4 { + background-color:#dee3e9; + border:1px solid #d0d9e0; + margin:0 0 6px -8px; + padding:7px 5px; +} +ul.blockList ul.blockList ul.blockList li.blockList h3 { + background-color:#dee3e9; + border:1px solid #d0d9e0; + margin:0 0 6px -8px; + padding:7px 5px; +} +ul.blockList ul.blockList li.blockList h3 { + padding:0; + margin:15px 0; +} +ul.blockList li.blockList h2 { + padding:0px 0 20px 0; +} +/* +Page layout container styles +*/ +.contentContainer, .sourceContainer, .classUseContainer, .serializedFormContainer, .constantValuesContainer { + clear:both; + padding:10px 20px; + position:relative; +} +.indexContainer { + margin:10px; + position:relative; + font-size:12px; +} +.indexContainer h2 { + font-size:13px; + padding:0 0 3px 0; +} +.indexContainer ul { + margin:0; + padding:0; +} +.indexContainer ul li { + list-style:none; + padding-top:2px; +} +.contentContainer .description dl dt, .contentContainer .details dl dt, .serializedFormContainer dl dt { + font-size:12px; + font-weight:bold; + margin:10px 0 0 0; + color:#4E4E4E; +} +.contentContainer .description dl dd, .contentContainer .details dl dd, .serializedFormContainer dl dd { + margin:5px 0 10px 0px; + font-size:14px; + font-family:'DejaVu Sans Mono',monospace; +} +.serializedFormContainer dl.nameValue dt { + margin-left:1px; + font-size:1.1em; + display:inline; + font-weight:bold; +} +.serializedFormContainer dl.nameValue dd { + margin:0 0 0 1px; + font-size:1.1em; + display:inline; +} +/* +List styles +*/ +ul.horizontal li { + display:inline; + font-size:0.9em; +} +ul.inheritance { + margin:0; + padding:0; +} +ul.inheritance li { + display:inline; + list-style:none; +} +ul.inheritance li ul.inheritance { + margin-left:15px; + padding-left:15px; + padding-top:1px; +} +ul.blockList, ul.blockListLast { + margin:10px 0 10px 0; + padding:0; +} +ul.blockList li.blockList, ul.blockListLast li.blockList { + list-style:none; + margin-bottom:15px; + line-height:1.4; +} +ul.blockList ul.blockList li.blockList, ul.blockList ul.blockListLast li.blockList { + padding:0px 20px 5px 10px; + border:1px solid #ededed; + background-color:#f8f8f8; +} +ul.blockList ul.blockList ul.blockList li.blockList, ul.blockList ul.blockList ul.blockListLast li.blockList { + padding:0 0 5px 8px; + background-color:#ffffff; + border:none; +} +ul.blockList ul.blockList ul.blockList ul.blockList li.blockList { + margin-left:0; + padding-left:0; + padding-bottom:15px; + border:none; +} +ul.blockList ul.blockList ul.blockList ul.blockList li.blockListLast { + list-style:none; + border-bottom:none; + padding-bottom:0; +} +table tr td dl, table tr td dl dt, table tr td dl dd { + margin-top:0; + margin-bottom:1px; +} +/* +Table styles +*/ +.overviewSummary, .memberSummary, .typeSummary, .useSummary, .constantsSummary, .deprecatedSummary { + width:100%; + border-left:1px solid #EEE; + border-right:1px solid #EEE; + border-bottom:1px solid #EEE; +} +.overviewSummary, .memberSummary { + padding:0px; +} +.overviewSummary caption, .memberSummary caption, .typeSummary caption, +.useSummary caption, .constantsSummary caption, .deprecatedSummary caption { + position:relative; + text-align:left; + background-repeat:no-repeat; + color:#253441; + font-weight:bold; + clear:none; + overflow:hidden; + padding:0px; + padding-top:10px; + padding-left:1px; + margin:0px; + white-space:pre; +} +.overviewSummary caption a:link, .memberSummary caption a:link, .typeSummary caption a:link, +.useSummary caption a:link, .constantsSummary caption a:link, .deprecatedSummary caption a:link, +.overviewSummary caption a:hover, .memberSummary caption a:hover, .typeSummary caption a:hover, +.useSummary caption a:hover, .constantsSummary caption a:hover, .deprecatedSummary caption a:hover, +.overviewSummary caption a:active, .memberSummary caption a:active, .typeSummary caption a:active, +.useSummary caption a:active, .constantsSummary caption a:active, .deprecatedSummary caption a:active, +.overviewSummary caption a:visited, .memberSummary caption a:visited, .typeSummary caption a:visited, +.useSummary caption a:visited, .constantsSummary caption a:visited, .deprecatedSummary caption a:visited { + color:#FFFFFF; +} +.overviewSummary caption span, .memberSummary caption span, .typeSummary caption span, +.useSummary caption span, .constantsSummary caption span, .deprecatedSummary caption span { + white-space:nowrap; + padding-top:5px; + padding-left:12px; + padding-right:12px; + padding-bottom:7px; + display:inline-block; + float:left; + background-color:#F8981D; + border: none; + height:16px; +} +.memberSummary caption span.activeTableTab span { + white-space:nowrap; + padding-top:5px; + padding-left:12px; + padding-right:12px; + margin-right:3px; + display:inline-block; + float:left; + background-color:#F8981D; + height:16px; +} +.memberSummary caption span.tableTab span { + white-space:nowrap; + padding-top:5px; + padding-left:12px; + padding-right:12px; + margin-right:3px; + display:inline-block; + float:left; + background-color:#4D7A97; + height:16px; +} +.memberSummary caption span.tableTab, .memberSummary caption span.activeTableTab { + padding-top:0px; + padding-left:0px; + padding-right:0px; + background-image:none; + float:none; + display:inline; +} +.overviewSummary .tabEnd, .memberSummary .tabEnd, .typeSummary .tabEnd, +.useSummary .tabEnd, .constantsSummary .tabEnd, .deprecatedSummary .tabEnd { + display:none; + width:5px; + position:relative; + float:left; + background-color:#F8981D; +} +.memberSummary .activeTableTab .tabEnd { + display:none; + width:5px; + margin-right:3px; + position:relative; + float:left; + background-color:#F8981D; +} +.memberSummary .tableTab .tabEnd { + display:none; + width:5px; + margin-right:3px; + position:relative; + background-color:#4D7A97; + float:left; + +} +.overviewSummary td, .memberSummary td, .typeSummary td, +.useSummary td, .constantsSummary td, .deprecatedSummary td { + text-align:left; + padding:0px 0px 12px 10px; +} +th.colOne, th.colFirst, th.colLast, .useSummary th, .constantsSummary th, +td.colOne, td.colFirst, td.colLast, .useSummary td, .constantsSummary td{ + vertical-align:top; + padding-right:0px; + padding-top:8px; + padding-bottom:3px; +} +th.colFirst, th.colLast, th.colOne, .constantsSummary th { + background:#dee3e9; + text-align:left; + padding:8px 3px 3px 7px; +} +td.colFirst, th.colFirst { + white-space:nowrap; + font-size:13px; +} +td.colLast, th.colLast { + font-size:13px; +} +td.colOne, th.colOne { + font-size:13px; +} +.overviewSummary td.colFirst, .overviewSummary th.colFirst, +.useSummary td.colFirst, .useSummary th.colFirst, +.overviewSummary td.colOne, .overviewSummary th.colOne, +.memberSummary td.colFirst, .memberSummary th.colFirst, +.memberSummary td.colOne, .memberSummary th.colOne, +.typeSummary td.colFirst{ + width:25%; + vertical-align:top; +} +td.colOne a:link, td.colOne a:active, td.colOne a:visited, td.colOne a:hover, td.colFirst a:link, td.colFirst a:active, td.colFirst a:visited, td.colFirst a:hover, td.colLast a:link, td.colLast a:active, td.colLast a:visited, td.colLast a:hover, .constantValuesContainer td a:link, .constantValuesContainer td a:active, .constantValuesContainer td a:visited, .constantValuesContainer td a:hover { + font-weight:bold; +} +.tableSubHeadingColor { + background-color:#EEEEFF; +} +.altColor { + background-color:#FFFFFF; +} +.rowColor { + background-color:#EEEEEF; +} +/* +Content styles +*/ +.description pre { + margin-top:0; +} +.deprecatedContent { + margin:0; + padding:10px 0; +} +.docSummary { + padding:0; +} + +ul.blockList ul.blockList ul.blockList li.blockList h3 { + font-style:normal; +} + +div.block { + font-size:14px; + font-family:'DejaVu Serif', Georgia, "Times New Roman", Times, serif; +} + +td.colLast div { + padding-top:0px; +} + + +td.colLast a { + padding-bottom:3px; +} +/* +Formatting effect styles +*/ +.sourceLineNo { + color:green; + padding:0 30px 0 0; +} +h1.hidden { + visibility:hidden; + overflow:hidden; + font-size:10px; +} +.block { + display:block; + margin:3px 10px 2px 0px; + color:#474747; +} +.deprecatedLabel, .descfrmTypeLabel, .memberNameLabel, .memberNameLink, +.overrideSpecifyLabel, .packageHierarchyLabel, .paramLabel, .returnLabel, +.seeLabel, .simpleTagLabel, .throwsLabel, .typeNameLabel, .typeNameLink { + font-weight:bold; +} +.deprecationComment, .emphasizedPhrase, .interfaceName { + font-style:italic; +} + +div.block div.block span.deprecationComment, div.block div.block span.emphasizedPhrase, +div.block div.block span.interfaceName { + font-style:normal; +} + +div.contentContainer ul.blockList li.blockList h2{ + padding-bottom:0px; +} -- GitLab