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 Language -
Uses of Language in com.ultikits.ultitools.abstracts
Fields in com.ultikits.ultitools.abstracts declared as LanguageMethods 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 a Language object from the given resource folder pathfinal LanguageUltiToolsPlugin.getLanguage()private LanguageUltiToolsPlugin.initializeLanguage()Initializes the language objectprivate 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.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.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. -
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