forked from fanruan/finekit
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
33 lines
888 B
33 lines
888 B
package com.fanruan.api.xml; |
|
|
|
import com.fr.stable.xml.XMLReadable; |
|
import com.fr.stable.xml.XMLTools; |
|
import com.fr.stable.xml.XMLableReader; |
|
import com.fr.stable.xml.XMLPrintWriter; |
|
|
|
import java.io.InputStream; |
|
|
|
public class XmlKit { |
|
/** |
|
* 从输入流中读取对象 |
|
* @param xmlReadable xml读取对象 |
|
* @param inputStream xml输入流 |
|
* |
|
*/ |
|
public static class XMLFileManager extends com.fr.file.XMLFileManager { |
|
@Override |
|
public String fileName() { |
|
return ""; |
|
} |
|
@Override |
|
public void writeXML(XMLPrintWriter writer) { |
|
|
|
} |
|
@Override |
|
public void readXML(XMLableReader reader) { |
|
} |
|
} |
|
public static void readInputStreamXML(XMLReadable xmlReadable, InputStream inputStream) throws Exception { |
|
XMLTools.readInputStreamXML(xmlReadable, inputStream); |
|
} |
|
}
|
|
|