[Java] Class TextUtilities