摘要
在基于Java语言的网络图形平台中导入通用图形交换文件DXF时,组织了一系列适用于DXF结构的Java方法,给出了清晰的接口程序框架。并针对若干的关键点给出了可行的方案和具体函数,如Java语言中采用的单代码与常用的ASCII码之间的转换,中文信息在Java平台中显示为乱码的避免,图形平台中对多种线型与颜色的考虑等。最后结果是一个实用的文件导入接口程序。
In order to import DXF in an online computer aided instruction software based on Java, a series of Java functions that are fit for DXF are organized, and an explicit frame of interface is given. Besides there is a workable project and several specific functions aiming for the critical problems about importing DXF, such as the switching between the UNICODE and ASCII, methods for avoiding error in displaying Chinese in the Java software and considering different line types and colors. And then a practicable interface is given.
出处
《工程图学学报》
CSCD
2002年第2期48-53,共6页
Journal of Engineering Graphics
基金
教育部基金资助项目(144100051)