private static String decodeAttribute(String s, Charset charset) {
        try {
            return QueryStringDecoder.decodeComponent(s, charset);
        } catch (IllegalArgumentException e) {
            throw new ErrorDataDecoderException("Bad string: '" + s + '\'', e);
        }
    }
private static String decodeAttribute ( String s , Charset charset ) { try { return QueryStringDecoder . decodeComponent ( s , charset ) ; } catch ( IllegalArgumentException e ) { throw new ErrorDataDecoderException ( "Bad string: '" + s + '\'' , e ) ; } }
Decode component

@return the decoded component