Class TextFactorySpigot
java.lang.Object
nl.pim16aap2.animatedarchitecture.spigot.core.implementations.TextFactorySpigot
- All Implemented Interfaces:
ITextFactory
Implementation of
ITextFactory for the Spigot platform.-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from interface ITextFactory
ITextFactory.SimpleTextFactory -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionnewText(@Nullable PersonalizedLocalizer personalizedLocalizer) Creates a newTextinstance.Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface ITextFactory
newText
-
Constructor Details
-
TextFactorySpigot
@Inject public TextFactorySpigot()
-
-
Method Details
-
newText
Description copied from interface:ITextFactoryCreates a newTextinstance.- Specified by:
newTextin interfaceITextFactory- Parameters:
personalizedLocalizer- the string localizer to use for this text.- Returns:
- The new text instance.
-