Class Transliteration

java.lang.Object
net.mcreator.io.Transliteration

public class Transliteration extends Object
  • Constructor Details

    • Transliteration

      public Transliteration()
  • Method Details

    • transliterateString

      @Nonnull public static String transliterateString(@Nonnull String source)
      This method transliterates string if required. If not, source String is returned. It uses Junidecode library, but strips failed transliterated characters away.
      Parameters:
      source - Source string
      Returns:
      Transliterated string or original if transliteration is not required