IP Library Granted Patent US 8,079,024
Granted Patent B2
US 8,079,024 · App. 12/703,402 · Granted Dec 13, 2011

Method and system for platform-independent file system interaction

View Patent ↗
Loading inventors, assignments & file history…
Monitor This Case
Get email alerts when status or documents change.
Order Certified Copies
Most orders are placed with the USPTO same day — all within 24 business hours.
Order via The Patent Place →
Pre-filled with this patent's details
Quick Facts
Patent No.
US 8,079,024
App. No.
12/703,402
Granted
Dec 13, 2011
Kind
B2
Abstract

Embodiments disclosed can provide a simple, singular programmatic interface for application developers to access and manipulate ASCII and non-ASCII file specifications in a cross-platform development environment regardless of operating system encoding capabilities or of the nature of the original file specification encoding. An application development environment is configured on a computer system such that a magic class file string object is instantiated when a bit string of a first encoding is received. The bit string represents a file specification of a file containing application code written by an application developer. The magic class file string object automatically determines what target operating system is being called by a function call in the application code, automatically transcodes the bit string from the first encoding into a second encoding of the target operating system, and automatically makes a correct file system API call specific to the target operating system.

Claims (32)

1. A method for accessing and manipulating file specifications in a cross-platform development environment, comprising:

in an application development environment on a computer system, instantiating a magic class file string object to represent a bit string;

determining a first encoding of a file name and file path associated with the magic class file string object, wherein the magic class file string object performs the determining, wherein the magic class file string object contains pieces of code programmed to make one or more automatic determinations at compile time, wherein the bit string represents a file specification of a file, wherein the file contains application code, and wherein the application code comprises a function call;

automatically determining a target operating system that is being called by the function call, wherein the magic class file string object performs the automatic determining;

automatically transcoding the file name and file path from the first encoding into a second encoding of the target operating system, wherein the magic class file string object performs the automatic transcoding; and

automatically making a file system application program interface (API) call specific to the target operating system, wherein the magic class file string object performs the automatic API call and wherein the pieces of code comprise a set of conditional logic for determining which one or more file system specific API calls are to make.

2. The method according to claim 1 , wherein the file specifications include American Standard Code for Information Interchange (ASCII) encoded file specifications and non-ASCII encoded file specifications.

3. The method according to claim 1 , wherein the automatically determining further comprises automatically determining the target operating system's file system API capabilities.

4. The method according to claim 1 , further comprising:

forwarding the magic class file string object to the target operating system's file system to initiate a write to disk when the file associated with the bit string is to be written to disk.

5. The method according to claim 1 , wherein the pieces of code comprise an instruction for turning on at compile time a switch to link to a library through which all system input/output requests are processed.

6. A computer program product comprising at least one non-transitory computer readable storage medium storing instructions translatable by a processor to perform:

in an application development environment on a computer system, instantiating a magic class file string object to represent a bit string;

determining a first encoding of a file name and file path associated with the magic class file string object, wherein the magic class file string object contains pieces of code programmed to make one or more automatic determinations at compile time, wherein the bit string represents a file specification of a file, wherein the file contains application code, and wherein the application code comprises a function call;

automatically determining a target operating system that is being called by the function call;

automatically transcoding the file name and file path from the first encoding into a second encoding of the target operating system; and

automatically making a file system application program interface (API) call specific to the target operating system, wherein the pieces of code comprise a set of conditional logic for determining which one or more file system specific API calls are to make.

7. The computer program product of claim 6 , wherein the file specifications include American Standard Code for Information Interchange (ASCII) encoded file specifications and non-ASCII encoded file specifications.

8. The computer program product of claim 6 , wherein the instructions are further translatable by the processor to automatically determine the target operating system's file system API capabilities.

9. The computer program product of claim 6 , wherein the instructions are further translatable by the processor to forward the magic class file string object to the target operating system's file system to initiate a write to disk when the file associated with the bit string is to be written to disk.

10. The computer program product of claim 6 , wherein the pieces of code comprise an instruction for turning on at compile time a switch to link to a library through which all system input/output requests are processed.

11. A system, comprising:

a computer system running an application development environment and having at least one non-transitory computer readable storage medium and a processor, wherein the at least one computer readable storage medium stores instructions translatable by the processor to perform:

instantiating a magic class file string object to represent a bit string;

determining a first encoding of a file name and file path associated with the magic class file string object, wherein the magic class file string object contains pieces of code programmed to make one or more automatic determinations at compile time, wherein the bit string represents a file specification of a file, wherein the file contains application code, and wherein the application code comprises a function call;

automatically determining a target operating system that is being called by the function call;

automatically transcoding the file name and file path from the first encoding into a second encoding of the target operating system; and

automatically making a file system application program interface (API) call specific to the target operating system, wherein the pieces of code comprise a set of conditional logic for determining which one or more file system specific API calls are to make.

12. The system of claim 11 , wherein the file specifications include American Standard Code for Information Interchange (ASCII) encoded file specifications and non-ASCII encoded file specifications.

13. The system of claim 11 , wherein the instructions are further translatable by the processor to automatically determine the target operating system's file system API capabilities.

14. The system of claim 11 , wherein the instructions are further translatable by the processor to forward the magic class file string object to the target operating system's file system to initiate a write to disk when the file associated with the bit string is to be written to disk.

15. The system of claim 11 , wherein the instructions comprise an instruction for turning on at compile time a switch to link to a library through which all system input/output requests are processed.

Assignments (7)
CERTIFICATE OF CONTINUANCE Recorded Sep 13, 2016
From: OP IP SUB, LLC
To: IP OT SUB ULC
Reel/Frame 040019/0500 →
IP BUSINESS SALE AGREEMENT Recorded Sep 13, 2016
From: OPEN TEXT S.A.
To: OT IP SUB, LLC
Reel/Frame 040019/0627 →
CERTIFICATE OF AMALGAMATION Recorded Sep 13, 2016
From: IP OT SUB ULC
To: OPEN TEXT SA ULC
Reel/Frame 040019/0578 →
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Dec 19, 2011
From: VIGNETTE PARTNERSHIP, LP
To: OPEN TEXT S.A.
Reel/Frame 027483/0205 →
CERTIFICATE OF CONVERSION Recorded Oct 14, 2011
From: VIGNETTE OPERATING, LLC
To: VIGNETTE PARTNERSHIP, LP
Reel/Frame 027066/0773 →
CERTIFICATE OF CONVERSION Recorded Oct 13, 2011
From: VIGNETTE CORPORATION
To: VIGNETTE OPERATING, LLC
Reel/Frame 027091/0009 →
MERGER Recorded Oct 12, 2011
From: VIGNETTE SOFTWARE, LLC
To: VIGNETTE CORPORATION
Reel/Frame 027077/0423 →