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

  • Descarregar
  • Adicionar aos meus manuais
  • Imprimir
  • Página
    / 304
  • Índice
  • MARCADORES
  • Avaliado. / 5. Com base em avaliações de clientes
Vista de página 57
CHAPTER 3: File System Access Folder object 58
Folder class functions
These functions are available as a static methods of the Folder class. It is not necessary to create an
instance in order to call them.
decode()
Folder.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()
Folder.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()
Folder.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.
selectDialog()
Folder.selectDialog ([prompt])
prompt
Optional. A string containing the prompt text, if the dialog allows a prompt.
Opens the built-in platform-specific file-browsing dialog, and creates a new
File or Folder object
for the selected file or folder. Differs from the object method
selectDlg() in that it does not
preselect a folder.
If the user clicks OK, returns a
File or Folder object for the selected file or folder. If the user
cancels, returns
null.
Vista de página 57
1 2 ... 53 54 55 56 57 58 59 60 61 62 63 ... 303 304

Comentários a estes Manuais

Sem comentários