EDOBE XDOM TAKE 6 IR - PRODUCTSHEET Especificações Página 48

  • Descarregar
  • Adicionar aos meus manuais
  • Imprimir
  • Página
    / 304
  • Índice
  • MARCADORES
  • Avaliado. / 5. Com base em avaliações de clientes
Vista de página 47
CHAPTER 3: File System Access File object 48
File class properties
This property is available as a static property of the File class. It is not necessary to create an instance to
access it.
File class functions
These functions are available as static methods of the File class. It is not necessary to create an instance to
call them.
fs
String The name of the file system. Read only. One of Windows, Macintosh, or Unix.
decode()
File.decode (uri)
uri
String. The encoded string to decode. All special characters must be encoded in
UTF-8 and stored as escaped characters starting with the percent sign followed by
two hexadecimal digits. For example, the string "
my%20file" is decoded as "my
file".
Special characters are those with a numeric value greater than 127, except the
following:
/ - _ . ! ~ * ' ( )
Decodes the specified string as required by RFC 2396.
Returns the decoded string.
encode()
File.encode (name)
name
String. The string to encode.
Encodes the specified string as required by RFC 2396. All special characters are encoded in UTF-8
and stored as escaped characters starting with the percent sign followed by two hexadecimal digits.
For example, the string "
my file" is encoded as "my%20file".
Special characters are those with a numeric value greater than 127, except the following:
/ - _ . ! ~ * ' ( )
Returns the encoded string.
isEncodingAvailable()
File.isEncodingAvailable (name)
name
String. The encoding name. Typical values are “ASCII,” “binary,” or “UTF-8.” See File-
and Folder-supported encoding names” on page 45.
Checks whether a given encoding is available.
Returns true if your system supports the specified encoding, false otherwise.
Vista de página 47
1 2 ... 43 44 45 46 47 48 49 50 51 52 53 ... 303 304

Comentários a estes Manuais

Sem comentários