EDOBE XDOM TAKE 6 IR - PRODUCTSHEET Especificaciones Pagina 56

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 304
  • Tabla de contenidos
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de pagina 55
CHAPTER 3: File System Access Folder object 56
Folder object
Represents a file-system folder or directory in a platform-independent manner. All properties and
methods resolve file system aliases automatically and act on the original file unless otherwise noted.
Folder object constructors
To create a Folder object, use the Folder function or the new operator. The constructor accepts full or
partial path names, and returns the new object.
Folder ([path]); //can return a File object
new Folder ([path]); //always returns a Folder object
Folder class properties
These properties are available as static properties of the Folder class. It is not necessary to create an
instance to access them.
path
Optional. The absolute or relative path to the folder associated with this object, specified in URI
format; see
Specifying paths” on page 39. The value stored in the object is the absolute path.
The path need not refer to an existing folder. If not supplied, a temporary name is generated.
If the path refers to an existing file:
X The Folder function returns a File object instead of a Folder object.
X The new operator returns a Folder object for a nonexisting folder with the same name.
appData
Folder A Folder object for the folder that contains application data for all users. Read
only.
X In Windows, the value of %APPDATA% (by default, C:\Documents and
Settings\All Users\Application Data)
X In Mac OS, /Library/Application Support
appPackage
String In Mac OS, the Folder object for the folder that contains the bundle of the
running application. Read only.
commonFiles
Folder A Folder object for the folder that contains files common to all programs.
Read only.
X In Windows, the value of %CommonProgramFiles% (by default,
C:\Program Files\Common Files)
X In Mac OS,/Library/Application Support
current
Folder A Folder object for the current folder. Assign either a Folder object or a
string containing the new path name to set the current folder.
Vista de pagina 55
1 2 ... 51 52 53 54 55 56 57 58 59 60 61 ... 303 304

Comentarios a estos manuales

Sin comentarios