BBjClientFile::canRead

Description

In BBj 7.0 and higher, this BBjClientFile method returns whether the client file can be read.

Syntax

Return Value

Method

boolean

canRead()

Parameters

None.

Return Value

Returns true (1) if the file exists and is readable, or false (0) if it doesn't exist or is not readable.

Remarks

In the BUI client, this method is only meaningful if the BBjClientFile was created from the server (createNewFile, setContents, copyToClient), or was  selected on the client by the user, as shown in BBjClientFile Example 1. See BUI: Interacting with client files for a detailed discussion of the BUI BBjClientFile.

Example

See Also

BBjAPI

BBjThinClient

BBjClientFileSystem

BBjClientFile

See the BBj Object Diagram for an illustration of the relationship between BBj Objects.



______________________________________________________________________________________

Copyright BASIS International Ltd. BBj®, Visual PRO/5®, PRO/5®, and BBx® are registered trademarks.