org.tinygroup.convert.textxml.simple
Class XmlToText
java.lang.Object
org.tinygroup.convert.textxml.simple.XmlToText
- All Implemented Interfaces:
- Converter<String,String>
public class XmlToText
- extends Object
- implements Converter<String,String>
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
XmlToText
public XmlToText(Map<String,String> titleMap,
List<String> fieldList,
String rootNodeName,
String rowNodeName,
String lineSplit,
String fieldSplit)
- 文本转换为Xml
- Parameters:
rootNodeName - 根节点名称rowNodeName - 行节点名称lineSplit - 行分隔附fieldSplit - 字段分隔符
convert
public String convert(String inputData)
throws ConvertException
- Specified by:
convert in interface Converter<String,String>
- Throws:
ConvertException
Copyright © 2006–2015 TinyGroup. All rights reserved.