public static String decodeText(String word) throws UnsupportedEncodingException {  return word;
public static String decodeText(String text) throws UnsupportedEncodingException {   if (text.indexOf("=?") < 0) { return text; }   if (!SessionUtil.getBooleanProperty(MIME_DECODE_TEXT_STRICT, true)) { return decodeTextNonStrict(text); }  int offset = 0; int endOffset = text.length();  int startWhiteSpace = -1; int endWhiteSpace = -1;  StringBuffer decodedText = new StringBuffer(text.length());  boolean previousTokenEncoded = false;  while (offset < endOffset) { char ch = text.charAt(offset);   if (linearWhiteSpace.indexOf(ch) != -1) { startWhiteSpace = offset; while (offset < endOffset) {  ch = text.charAt(offset); if (linearWhiteSpace.indexOf(ch) != -1) { offset++; } else {   endWhiteSpace = offset; break; } } } else {  int wordStart = offset;  while (offset < endOffset) {  ch = text.charAt(offset); if (linearWhiteSpace.indexOf(ch) == -1) { offset++; } else { break; }   }  String word = text.substring(wordStart, offset);  if (word.startsWith("=?")) { try {  String decodedWord = decodeWord(word);   if (!previousTokenEncoded) { if (startWhiteSpace != -1) { decodedText.append(text.substring(startWhiteSpace, endWhiteSpace)); startWhiteSpace = -1; } }  previousTokenEncoded = true;  decodedText.append(decodedWord);   continue;  } catch (ParseException e) { } }   if (startWhiteSpace != -1) { decodedText.append(text.substring(startWhiteSpace, endWhiteSpace)); startWhiteSpace = -1; }  previousTokenEncoded = false; decodedText.append(word); } }  return decodedText.toString();
    public static String decodeText(String word) throws UnsupportedEncodingException {        // TODO - take account of encoding        return word;    }