Package net.mcreator.io
Class Transliteration
java.lang.Object
net.mcreator.io.Transliteration
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic String
transliterateString
(String source) This method transliterates string if required.
-
Constructor Details
-
Transliteration
public Transliteration()
-
-
Method Details
-
transliterateString
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
-