Promotion background
Easter Season IS HERE!
10% off limited time offer!
Ends in
00
H
00
M
00
S
limited time offer SAVE 10% NOW →
Packages com.phoenixplugins.sdk.api locales translatable
com.phoenixplugins.sdk.api.locales.translatable

Interface Translation



  • public interface Translation
    • Method Summary

      Modifier and Type Method and Description
      Translation arguments(Object... arguments)
      Replaces the arguments in the translatable text.
      String asString()
      Converts the translatable object into a string representation.
      Translation colorless()
      Converts the translatable text to color less.
      boolean isEmpty()
      Checks if the translatable instance is empty.
      Translation lowercase()
      Converts the translatable text to lowercase.
      Translation postProcessor(Function<String,String> parser)
      Applies a post-processing function to the translatable text.
    • Method Detail

      • isEmpty

        boolean isEmpty()
        Checks if the translatable instance is empty.
        Returns:
        true if empty, otherwise false.
      • postProcessor

        Translation postProcessor(Function<String,String> parser)
        Applies a post-processing function to the translatable text.
        Parameters:
        parser - The function to modify the string representation.
        Returns:
        A new translatable instance with the modification applied.
      • arguments

        Translation arguments(Object... arguments)
        Replaces the arguments in the translatable text.
        Parameters:
        arguments - The arguments to replace in the translation.
        Returns:
        A new translatable instance with updated arguments.
      • colorless

        Translation colorless()
        Converts the translatable text to color less.
        Returns:
        A new translatable instance with colorless text.
      • lowercase

        Translation lowercase()
        Converts the translatable text to lowercase.
        Returns:
        A new translatable instance with lowercase text.
      • asString

        String asString()
        Converts the translatable object into a string representation.
        Returns:
        The string representation of the translatable text.
Last updated about 5 hours ago
My Cart (0 items)

Oops... looks like the spiders padded through here

Add products to your cart and remove them from here Lets buy
This site uses cookies to personalize content, enhance your experience. By continuing, you agree to our cookie use. Learn more