METHOD AND SYSTEM FOR PLATFORM-INDEPENDENT FILE SYSTEM INTERACTION
First Claim
1. A method for accessing and manipulating file specifications in a cross-platform development environment, comprising:
- configuring an application development environment on a computer system to instantiate a magic class file string object when a bit string of a first encoding is received, 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 bit string of 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.
11 Assignments
0 Petitions
Accused Products
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.
13 Citations
20 Claims
-
1. A method for accessing and manipulating file specifications in a cross-platform development environment, comprising:
-
configuring an application development environment on a computer system to instantiate a magic class file string object when a bit string of a first encoding is received, 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 bit string of 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. - View Dependent Claims (2, 3, 4, 5, 6, 7)
-
-
8. A computer program product comprising at least one computer readable storage medium storing instructions translatable by a processor to perform:
-
instantiating a magic class file string object when a bit string of a first encoding is received in an application development environment running on a computer system, 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 bit string of 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. - View Dependent Claims (9, 10, 11, 12, 13, 14)
-
-
15. A system, comprising:
-
a computer system running an application development environment and having at least one 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 when a bit string of a first encoding is received in the application development environment, 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 bit string of 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. - View Dependent Claims (16, 17, 18, 19, 20)
-
Specification