Home > Contents > Index >
Expanded TOC | Accordion TOC | Annotated TOC | Index
Utilities.readByteURL
Reads the passed URL, and returns its bytes.
Syntax
public static final byte[] readByteURL(String url)Parameters
url
- The URL to read; for example, "
http://www.fatwire.com/
".
Returns
The contents of the URL in a byte array, or null.
Example
The following example reads the URL
http://www.fatwire.com
:
byte byteArray[] = Utilities.readByteURL("http://www.fatwire.com/");
Home > Contents > Index > ![]()
FatWire JAVA Reference
Copyright 2005,2006,2007 by FatWire Software
All rights reserved.