urlIsReadable()

Tests whether a URL is readable. This method checks that a URL exists and that the engine is able to read from it.

Syntax

Boolean urlIsReadable(String url)
  1. url is the URL to check.

Usage

Returns TRUE if the URL exists and is readable. Returns FALSE if the URL does not exist or cannot be read.

Note:

The result of this method is immediately outdated. There is no guarantee that a subsequent attempt to open the URL will succeed.