Index
All Classes and Interfaces|All Packages
A
- asProperties(InputStream) - Static method in class dk.lockfuglsang.minecraft.po.POParser
C
- clearCache() - Static method in enum class dk.lockfuglsang.minecraft.po.I18nUtil
-
Clears the I18n cache, forces a reload of the .po files the next time that
I18nUtil.getLocale()
is accessed.
D
- dk.lockfuglsang.minecraft.po - package dk.lockfuglsang.minecraft.po
G
- getI18n() - Static method in enum class dk.lockfuglsang.minecraft.po.I18nUtil
-
Gets the
I18nUtil.I18n
instance representing the configuredLocale
. - getLocale() - Static method in enum class dk.lockfuglsang.minecraft.po.I18nUtil
-
Returns the configured
Locale
or the default if unset. - getLocale() - Method in class dk.lockfuglsang.minecraft.po.I18nUtil.I18n
- getLocale(String) - Static method in enum class dk.lockfuglsang.minecraft.po.I18nUtil
I
- I18nUtil - Enum Class in dk.lockfuglsang.minecraft.po
-
Convenience util for supporting static imports.
- I18nUtil.I18n - Class in dk.lockfuglsang.minecraft.po
-
Proxy between uSkyBlock and org.xnap.commons.i18n.I18n
M
- marktr(String) - Static method in enum class dk.lockfuglsang.minecraft.po.I18nUtil
-
Marks the given
String
for translation for the .po files.
P
- POParser - Class in dk.lockfuglsang.minecraft.po
-
Parses a simple PO file, and returns the result as a Properties object.
- POParser() - Constructor for class dk.lockfuglsang.minecraft.po.POParser
- pre(String, Object...) - Static method in enum class dk.lockfuglsang.minecraft.po.I18nUtil
-
Formats the given
String
without translating.
R
- readPOAsProperties(InputStream) - Method in class dk.lockfuglsang.minecraft.po.POParser
S
- setDataFolder(File) - Static method in enum class dk.lockfuglsang.minecraft.po.I18nUtil
-
Sets the datafolder that is used to look for .po files.
- setLocale(Locale) - Static method in enum class dk.lockfuglsang.minecraft.po.I18nUtil
-
Sets the
Locale
.
T
- tr(String) - Static method in enum class dk.lockfuglsang.minecraft.po.I18nUtil
-
Translates the given
String
to the configured language. - tr(String, Object...) - Static method in enum class dk.lockfuglsang.minecraft.po.I18nUtil
-
Translates the given
String
to the configured language. - tr(String, Object...) - Method in class dk.lockfuglsang.minecraft.po.I18nUtil.I18n
V
- valueOf(String) - Static method in enum class dk.lockfuglsang.minecraft.po.I18nUtil
-
Returns the enum constant of this class with the specified name.
- values() - Static method in enum class dk.lockfuglsang.minecraft.po.I18nUtil
-
Returns an array containing the constants of this enum class, in the order they are declared.
All Classes and Interfaces|All Packages