Adobe 12040118 Using Help - Page 62
File Class, File() Class method
UPC - 718659361808
View all Adobe 12040118 manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 62 highlights
Help Using Help Reference Back 62 Type Floating-point value; time, in seconds. Read/write. File Class The File Class contains methods and attributes common to File objects. A File object corresponds to a disk file. Also included in this class are all attributes and methods within the FileSystem class, as those apply to Files as well as Folders. Note that the difference between the File Class and File object is that the class attributes and methods require no specific instance of a File, whereas class methods and attributes do. Class attributes inherited from FileSource object (see "FileSource object" on page 71) Class attribute fs Methods Reference see "FileSystem fs class attribute" on page 74 Description name of the file system; read-only Method File() new File() openDialog() saveDialog() Reference see "File() Class method" on page 62 Description constructs a new File object see "File openDialog() Class method" on opens the built-in operating-system dialog to page 67 select an existing file to open see "File saveDialog() Class method" on opens the built-in operating-system dialog to page 69 select a file name to save a file into Class methods inherited from FileSource object (see "FileSource object" on page 71) Class method decode() encode() Reference Description see "FileSystem decode() class method" decodes the input string from UTF-8 on page 73 see "FileSystem encode() class method" encodes the input string in UTF-8 on page 73 File() Class method File(path) new File(path) Description This function constructs a new File object. If the given path name refers to an already existing folder, a Folder object is returned instead. The CRLF sequence is preset to the system default, and the encoding is preset to the default system encoding. Using Help Back 62