BBjClientFile::isFile

Description

In BBj 7.0 and higher, this method returns whether this BBjClientFile represents a normal file.

Syntax

Return Value

Method

boolean

isFile()

Parameters

None.

Return Value

Returns true (1) if this file exists and is a regular file, otherwise false (0).

Remarks

This method will always return false (0) for a BBjClientFile representing a directory.

The client's operating system interprets "regular file" in a system-dependent way. If this method returns true , the file defined by this BBjClientFile exists and is not a directory. An example of a "non-regular file" would be a BBjClientFile that represents a named socket in a UNIX environment. Such an object would return false (0) from this method.

BUI logo

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.