Home > Contents > Index >
Expanded TOC   |    Accordion TOC   |    Annotated TOC   |    Index

 

Utilities.readURL

Reads the passed URL, and returns its contents as a string.

Syntax

Parameters

url
The URL to read, for example, "http://www.fatwire.com/".

Description

The readURL method reads the passed URL, and returns its contents as a string. This method strips out characters returned by Character.isIdentifierIgnorable().

Returns

The contents of the URL in a string, or null.

Example

The following code writes the contents of www.fatwire.com into variable strURL:

See Also

 

  Home > Contents > Index >

FatWire JAVA Reference
Copyright 2005 by FatWire Software
All rights reserved.