Java String Decode decodeText(String encodeText)

Here you can find the source of decodeText(String encodeText)

Description

decode Text

License

Apache License

Declaration

public static String decodeText(String encodeText)
        throws UnsupportedEncodingException 

Method Source Code

//package com.java2s;
//License from project: Apache License 

import javax.mail.internet.MimeUtility;
import java.io.*;

public class Main {

    public static String decodeText(String encodeText)
            throws UnsupportedEncodingException {
        if (encodeText == null || "".equals(encodeText)) {
            return "";
        } else {//from   w w  w. j ava2s .c  o  m
            return MimeUtility.decodeText(encodeText);
        }
    }
}

Related

  1. decodeString(String str)
  2. decodeString(String str)
  3. decodeString(StringReader in)
  4. decodeStringFromByteArray(byte[] data)
  5. decodeStrings(byte[] stringBytes)
  6. decodeText(String s)
  7. decodeText(String str)
  8. decodeTextQuietly(String input)