简体   繁体   English

使用FlatWorm写入平面文件

[英]Using FlatWorm to Write a Flat File

Good Afternoon in my timezone. 我所在时区的下午好。

In my current web project, i have to write a flat file(with some fixed rules).After a web research i found a library which is called FlatWorm that help's me write flat files in a easy way.The problem is that there is a lack of information regarding the XML definition file.I have the FlatWorm API, but there is nothing related with the XML definition file and all the tags and attributes that build it. 在我当前的Web项目中,我必须编写一个平面文件(有一些固定的规则)。经过网络研究,我发现了一个名为FlatWorm的库,该库可以帮助我以一种简单的方式编写平面文件。问题是缺少有关XML定义文件的信息。我有FlatWorm API,但是与XML定义文件以及构建它的所有标记和属性没有任何关系。

Anyone that use and knows about this framework can give me a clue ? 使用并了解此框架的任何人都可以给我一个提示?

With best regards. 最诚挚的问候。

Thanks in advance 提前致谢

I would start by RTFMing . 我将从RTFMing开始。 There appears to be a fair amount of information on there that should get you kick started, including some examples you could start by modifying. 那里似乎有很多信息可以帮助您入门,包括一些可以通过修改开始的示例。

Google suggests some other examples, such as, http://javaconfessions.com/2009/04/writing-flat-files-in-java-with.html and http://andreamoz.blogspot.com/2010/12/meet-flatworm.html Google提出了其他一些示例,例如http://javaconfessions.com/2009/04/writing-flat-files-in-java-with.htmlhttp://andreamoz.blogspot.com/2010/12/meet -flatworm.html

Unfortunately the DTD for the XML descriptor either never existed, or at least doesn't any more. 不幸的是,XML描述符的DTD要么不存在,要么至少不复存在。 If needed, I would look through the XML parsing source to see what the flatworm library actually makes use of. 如果需要,我将浏览XML解析源,以了解Flatworm库实际使用了什么。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM