100分求翻译一段java代码,翻译成delphi可以用的 ( 积分: 100 )

  • 主题发起人 主题发起人 走来走去
  • 开始时间 开始时间

走来走去

Unregistered / Unconfirmed
GUEST, unregistred user!
private StringBuffer xml2Table(String s)
{
StringBuffer stringbuffer = new StringBuffer();
Object obj = null;
try
{
do
cumentBuilderFactorydo
cumentbuilderfactory =do
cumentBuilderFactory.newInstance();
do
cumentBuilderdo
cumentbuilder =do
cumentbuilderfactory.newDocumentBuilder();
do
cumentdo
cument =do
cumentbuilder.parse(new BufferedInputStream(new ByteArrayInputStream(s.getBytes("gb2312"))));
org.w3c.dom.Element element =do
cument.getDocumentElement();
if(element.getNodeType() == 1 &&
"root".equals(element.getNodeName()))
stringbuffer.append("代码。。。。");
}
return stringbuffer;
}
 
后退
顶部