Method and system for platform-independent file system interaction
    1.
    发明授权
    Method and system for platform-independent file system interaction 有权
    平台无关文件系统交互的方法和系统

    公开(公告)号:US07672955B2

    公开(公告)日:2010-03-02

    申请号:US10947868

    申请日:2004-09-23

    Applicant: Eric White

    Inventor: Eric White

    CPC classification number: G06F17/3012 Y10S707/99942 Y10S707/99945

    Abstract: A method and system are disclosed for platform-independent file system interaction that can abstract the system-level idiosyncrasies associated with multi-platform, multi-language, multi-encoding file system interactions. One embodiment of the method of this invention can comprise instantiating a string object via a development environment coded calling process and setting a file name and a file path, having an easily-identifiable format, for the string object with the calling process. The string object can determine the encoding of the file name and the file path and the calling process can forward the string object and an associated file operation to an operating system level file system interface handler. The operating system level file system interface handler can call an operating system naming function to format the string object. The string object naming function can be compiled along with an encoding marker indicating the target operating system for the desired file operation. The file name and the file path can be transcoded, based on the encoding marker value, to the encoding of the target operating system. The transcoded file name and file path can be returned to the development environment (e.g., to a developer's application) by the string object naming function. The operating system level file system interface handler can then execute the file operation.

    Abstract translation: 公开了一种用于平台无关文件系统交互的方法和系统,其可以抽象与多平台,多语言,多编码文件系统交互相关联的系统级特征。 本发明方法的一个实施例可以包括通过开发环境编码的调用过程来实例化字符串对象,并且通过调用过程为字符串对象设置具有易于识别的格式的文件名和文件路径。 字符串对象可以确定文件名和文件路径的编码,并且调用进程可以将字符串对象和相关联的文件操作转发到操作系统级文件系统接口处理程序。 操作系统级文件系统接口处理程序可以调用操作系统命名功能来格式化字符串对象。 字符串对象命名功能可以与指示所需文件操作的目标操作系统的编码标记一起编译。 可以将文件名和文件路径基于编码标记值转码为目标操作系统的编码。 代码转换的文件名和文件路径可以通过字符串对象命名功能返回到开发环境(例如,到开发人员的应用程序)。 操作系统级文件系统接口处理程序可以执行文件操作。

Patent Agency Ranking