public static String decodeString(String s) {

        try {
            return new String(CODEC.decode(s), "UTF-8");
        } catch (UnsupportedEncodingException e) {
            // shouldn't happen
            return null;
        }
    }
public static String decodeString ( String s ) { try { return new String ( CODEC . decode ( s ) , "UTF-8" ) ; } catch ( UnsupportedEncodingException e ) { return null ; } }
Decodes a string.<p>

@param s the encoded string
@return the decoded string