Index
All Classes and Interfaces|All Packages
B
- broadcast() - Method in class net.caseif.rosetta.Localizable
-
Broadcasts this
Localizable
to all players on the server, applying the respective locale for each player. - broadcast(World...) - Method in class net.caseif.rosetta.Localizable
-
Broadcasts this
Localizable
to all players in the givenWorld
s.
G
- getDefaultLocale() - Method in class net.caseif.rosetta.LocaleManager
-
Gets the default locale of this
LocaleManager
. - getKey() - Method in class net.caseif.rosetta.Localizable
-
Gets the key associated with this
Localizable
's message. - getLocalizable(String) - Method in class net.caseif.rosetta.LocaleManager
-
Gets the
Localizable
associated with the given key. - getOwningPlugin() - Method in class net.caseif.rosetta.LocaleManager
-
Gets the plugin owning this
LocaleManager
. - getParent() - Method in class net.caseif.rosetta.Localizable
-
Gets the parent
LocaleManager
for thisLocalizable
.
L
- LocaleManager - Class in net.caseif.rosetta
-
Provides localization support for a particular
Plugin
. - LocaleManager(Plugin) - Constructor for class net.caseif.rosetta.LocaleManager
-
Constructs a new
LocaleManager
owned by the givenPlugin
. - Localizable - Class in net.caseif.rosetta
-
Represents an object which has the potential to be localized in one of multiple languages and returned as a string.
- localize() - Method in class net.caseif.rosetta.Localizable
-
Localizes this
Localizable
in the owningLocaleManager
's default locale. - localizeFor(CommandSender) - Method in class net.caseif.rosetta.Localizable
-
Localizes this
Localizable
for the givenCommandSender
. - localizeIn(String, String...) - Method in class net.caseif.rosetta.Localizable
-
Localizes this
Localizable
in the given locale.
N
- net.caseif.rosetta - package net.caseif.rosetta
S
- sendTo(CommandSender) - Method in class net.caseif.rosetta.Localizable
-
Sends this
Localizable
to the givenCommandSender
. - setDefaultLocale(String) - Method in class net.caseif.rosetta.LocaleManager
-
Sets the default locale of this
LocaleManager
.
W
- withPrefix(String) - Method in class net.caseif.rosetta.Localizable
-
Sets the prefix to prepend to this
Localizable
when it is localized. - withReplacements(String...) - Method in class net.caseif.rosetta.Localizable
-
Sets the replacements for placeholder sequences in this
Localizable
. - withReplacements(Localizable...) - Method in class net.caseif.rosetta.Localizable
-
Sets the replacements for placeholder sequences in this
Localizable
asLocalizable
objects. - withSuffix(String) - Method in class net.caseif.rosetta.Localizable
-
Sets the suffix to append to this
Localizable
when it is localized.
All Classes and Interfaces|All Packages