将IBM Lotus Notes文件转换为文本 [英] Convert IBM Lotus Notes file to text

查看:381
本文介绍了将IBM Lotus Notes文件转换为文本的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如何将.nsf莲花文件转换为文本文件?我想编写一个Java程序来读取系统上的.nsf文件.我已经尝试过了,但是显示非英文字符是他们正常访问它们的任何方式.

How can I convert an .nsf lotus file to a text file? i want to write a java program to read .nsf file which is on my system. i have tried it simply but it is showing non english character is their any way to get access them normaly.

该代码在.net中,并且使用任何服务器的会话,我只想通过java读取.nsf文件,而无需创建任何服务器的会话,实际上我有.nsf数据库.我只想读取为文本文件.如果有一种方法可以用javacc解析.nsf,那就更好了……

That code is in .net and using any server's session, I just want to read .nsf file by java without creating any server's session in fact i have .nsf database. i just want to read as a text file.if there a way to parse .nsf with javacc,it would be better enough......

推荐答案

莲花笔记数据库中充满了专有设计组件.假设您只想导出数据,则需要编写一个代理(aka批处理),该代理将查看数据库中的所有文档,然后将所有字段导出到纯文本文件中.

lotus notes database is full of proprietary design components. Assuming you just want to export the data, you will need to write an agent, (aka batch process), that would look at all documents in the database and then export all the fields into a plain text file.

如果您使用XML,也可以以该格式导出数据,但是同样,您需要为此编写一个代理.

If you're into XML, you can export data in that format as well, but again, you will need to write an agent for that.

或者,Lotus Notes中有一些基本的内置机制可以导出数据,但这仅限于从视图运行它们.视图不一定会获取所有文档.您可以设计一个视图来做到这一点.

Alternatively, there are some basic builtin mechanisms in Lotus Notes to export data but this is restricted to running them from views. Views do no necessarily get all the documents. You can design a view to do that though.

如果数据库的大小不是很大(少于20万个文档),则可以创建列出要导出的所有列的视图,以及具有"Select @All"的视图公式,将为您提供所有文档.然后,可以找到这里使用简单的导出过程.

Providing the size of the database is not extremely large, (less than 200k documents), you can create view listing all the columns you want to export and a view formula that has "Select @All", will give you all documents. Then, the "quickest" way to get data out from a view can be found here using simple export procedure.

仍然存在导出富媒体的问题,您可以在此处查看为此.

There is still the issues of exporting rich media, you can have a look here for that.

这篇关于将IBM Lotus Notes文件转换为文本的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆