摘要:
public class XmlStringer { public XmlStringer() { builder=new StringBuilder(); } private StringBuilder builder; public XmlStringer startNode(String name){ builder.append("<"+name+">"); return this... 阅读全文
摘要:
private static String inputStream2String ( InputStream in, String encoding ) throws IOException { StringBuilder sb = new StringBuilder(); InputStreamReader is... 阅读全文