Uses of Class
com.ultikits.ultitools.entities.Language
Packages that use Language
Package
Description
-
Uses of Language in com.ultikits.ultitools
Fields in com.ultikits.ultitools declared as LanguageMethods in com.ultikits.ultitools that return LanguageModifier and TypeMethodDescriptionprivate LanguageUltiTools.readBundledLanguage(String code) Reads the official cataloguelang/<code>.jsonfrom the framework jar as UTF-8. -
Uses of Language in com.ultikits.ultitools.abstracts
Fields in com.ultikits.ultitools.abstracts declared as LanguageModifier and TypeFieldDescriptionprivate final LanguageUltiToolsPlugin.CustomCatalogue.languageprivate LanguageUltiToolsPlugin.languageFields in com.ultikits.ultitools.abstracts with type parameters of type LanguageModifier and TypeFieldDescriptionUltiToolsPlugin.shippedCataloguesThe language catalogues the module's jar ships, read once on first use (seeUltiToolsPlugin.shippedCatalogueTexts(java.lang.String)).Methods in com.ultikits.ultitools.abstracts that return LanguageModifier and TypeMethodDescriptionprivate LanguageUltiToolsPlugin.applyPlaceholderArityOverride(File file, byte[] jarBytes, String extension, String resourcePath) Builds the disk language for the "operator customisation" branches (2 and 4 inUltiToolsPlugin.resolveLanguageWithProvenance(java.lang.String, java.io.File, java.lang.String, java.lang.String)): the disk dictionary stays authoritative for every key, except a key the jar's value proves has LOST a placeholder relative to the disk value -- that key is overridden to the jar's value and warned about once, naming the module, the file and the key but never either value (T-16-04-02).private LanguageUltiToolsPlugin.createLanguageFromPath(String folderPath) Creates the language from the given resource folder: the operator's custom language file when one is selected and present, falling back key by key to the official language it is based on -- the official file on disk, falling back to the jar's copy (#608).private LanguageUltiToolsPlugin.createOfficialLanguage(String folderPath, String resolvedCode, boolean warnIfMissing) Resolves the official languageresolvedCodefrom disk and jar, as before #608.private LanguageUltiToolsPlugin.customCatalogue(File langDir, File file, Set<String> shippedCodes) The parsed custom filefile, ornullwhen it is not a custom language file or not readable.final LanguageUltiToolsPlugin.getLanguage()private LanguageUltiToolsPlugin.initializeLanguage()Resolves this module's language during construction without writing anything (#460): no language file is refreshed, replaced or backed up, no provenance is recorded, and nothing is logged.private LanguageUltiToolsPlugin.jarCopyAsIfExtracted(String resourcePath, String extension) The language alang/file would hold once extracted: the jar's copy ofresourcePath, parsed asUltiToolsPlugin.readLanguageFile(java.io.File, java.lang.String)parses the extracted file;nullwhen the jar does not ship it (#567 item 1).private LanguageUltiToolsPlugin.loadLanguageFromDisk(String folderPath, String code, String extension) Reads<folderPath>/lang/<code><extension>if it exists, elsenull.private LanguageUltiToolsPlugin.loadLanguageFromJar(String code, String extension) private static LanguageUltiToolsPlugin.parseCustomCatalogue(File file, String extension) private static LanguageUltiToolsPlugin.parseLanguageResource(BufferedReader reader, String extension) Parses alang/*resource already opened as aBufferedReader-- shared by both the on-disk (exploded directory) and in-jar branches ofUltiToolsPlugin.loadLanguageFromJar(String, String)so the two stay in sync.private LanguageUltiToolsPlugin.readCustomLanguageFile(String folderPath, String name, String officialCode) Reads the operator's custom language file<folderPath>/lang/<name><extension>, trying each ofUltiToolsPlugin.LANGUAGE_EXTENSIONSin order (#608).private LanguageUltiToolsPlugin.readLanguageFile(File file, String extension) Reads an on-disk language file exactly as the pre-#441loadLanguageFromDiskdid -- extracted unchanged so both provenance branches that keep the disk file's own parse (branches 1 and 3 inUltiToolsPlugin.resolveLanguageWithProvenance(java.lang.String, java.io.File, java.lang.String, java.lang.String)) share the same reading logic the jar-absent short-circuit also uses.private LanguageUltiToolsPlugin.resolveDiskLanguage(String folderPath, String code) Resolves the on-disk language catalogue forcode, trying each ofUltiToolsPlugin.LANGUAGE_EXTENSIONSin order and returning the first that exists -- independently of whichever extensionUltiToolsPlugin.resolveJarLanguage(String)resolves for the same code (13-REVIEW round 5, own deep review of0ddc95f, finding 1).private LanguageUltiToolsPlugin.resolveJarLanguage(String code) Resolves the jar-bundled language catalogue forcode, trying each ofUltiToolsPlugin.LANGUAGE_EXTENSIONSin order and returning the first that exists -- independently of whichever extensionUltiToolsPlugin.resolveDiskLanguage(String, String)resolves for the same code (13-REVIEW round 5, own deep review of0ddc95f, finding 1).private LanguageUltiToolsPlugin.resolveLanguageWithProvenance(String folderPath, File file, String resourcePath, String extension) Applies the D-05/D-06 recorded-provenance decision to a single on-disk language file.private LanguageUltiToolsPlugin.resolveNeverTouchedSinceExtraction(File file, byte[] jarBytes, String jarHash, String diskHash, File resourceFolder, String resourcePath, String extension) Branch 1 ofUltiToolsPlugin.resolveLanguageWithProvenance(java.lang.String, java.io.File, java.lang.String, java.lang.String): the recorded hash equals the disk file's current hash -- the operator has never touched this file since it was extracted, so it is safe to overwrite from the current jar.private LanguageUltiToolsPlugin.restoreOfficialLanguageFile(File file, byte[] jarBytes, File resourceFolder, String resourcePath, String extension) Branches 2 and 4 ofUltiToolsPlugin.resolveLanguageWithProvenance(java.lang.String, java.io.File, java.lang.String, java.lang.String): an official language file whose bytes differ from the jar's copy -- an unrecorded one (#459, maintainer 2026-09-29, question 3 option 2) or one edited in place after it was recorded (#608, maintainer decision 2026-10-04: official language files are framework-owned and restored at every start) -- is replaced by the jar's copy and recorded; the previous file is kept as a backup beside it and one catalogue line names both and tells the operator to copy, rename and select a custom file instead.Methods in com.ultikits.ultitools.abstracts that return types with arguments of type LanguageConstructors in com.ultikits.ultitools.abstracts with parameters of type LanguageModifierConstructorDescriptionprivateCustomCatalogue(long modified, long length, Language language) -
Uses of Language in com.ultikits.ultitools.entities
Fields in com.ultikits.ultitools.entities declared as LanguageMethods in com.ultikits.ultitools.entities that return LanguageModifier and TypeMethodDescriptionstatic LanguageBuilds aLanguagefrom a YAML language file.Language.withFallback(Language fallback) Returns aLanguagethat answers from this dictionary first and, for any key this dictionary lacks, fromfallbackinstead of immediately returning the raw key.Methods in com.ultikits.ultitools.entities with parameters of type LanguageModifier and TypeMethodDescriptionLanguage.withFallback(Language fallback) Returns aLanguagethat answers from this dictionary first and, for any key this dictionary lacks, fromfallbackinstead of immediately returning the raw key.Constructors in com.ultikits.ultitools.entities with parameters of type Language -
Uses of Language in com.ultikits.ultitools.utils
Methods in com.ultikits.ultitools.utils that return LanguageModifier and TypeMethodDescriptionstatic LanguageOfficialLanguageFiles.readFrameworkCustomFile(File dataFolder, String name, String officialCode, ClassLoader loader, Logger logger) Reads the operator's custom framework language file<dataFolder>/lang/<name>.json(#608).