public String dumpAsString(String charset) throws IOException {
        StringBuilder sb = new StringBuilder();
        OutputStream ops = new StringOutputStream(sb, charset);
        dump(ops);
        return sb.toString();
    }
public String dumpAsString(String charset) throws IOException {
        StringBuilder sb = new StringBuilder();
        OutputStream ops = new StringOutputStream(sb, charset);
        dump(ops);
        return sb.toString();
    }
public String dumpAsString ( String charset ) throws IOException { StringBuilder sb = new StringBuilder ( ) ; OutputStream ops = new StringOutputStream ( sb , charset ) ; dump ( ops ) ; return sb . toString ( ) ; }
将标记的内容 Dump 成一个字符串

@return 字符串

@throws IOException
将标记的内容 Dump 成一个字符串