Whitebeam Object Definition

Site Map
 
Home
 
Application Guide
Reference
  Installation
  Configuration
  XML Markup
  JavaScript Classes
  ROM
  Templates
  Environment
  Dev Process
  Tools
  External Links
  Example libraries
Community
Contact Whitebeam
To-Do
Download
Credits
Licence
Whitebeam Users
 
 
 

Whitebeam Object Definition

Method Description

Binary.stat()

Return the status of a file (path)

Syntax

Binary.fileInfo = Binary.stat(pathname)

Parameters

The 'Binary.stat' method takes 1 parameter:

Name Type/Value Range/Length Description
pathnamestring  Optional.

Used only for the class level method. The path for which the filesystem status is required.


Results

The 'Binary.stat' method returns structure:

Type/Value Range/Length Description
struct Binary.fileInfo see definition

Remarks

This exists as both a class and instance method.

Class method: takes a single parameter. Searches the file system (within this virtual host's document root) for the named object and returns status information.

Instance method: no parameters. Return information about the currently open file referenced by this object.

Whitebeam release 1.3.36
(loadtime : 9ms)