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

 

Utilities.readByteURL

Reads the passed URL, and returns its bytes.

Syntax

Parameters

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

Returns

The contents of the URL in a byte array, or null.

Example

The following example reads the URL http://www.oracle.com:

 

  Home > Contents > Index >

Oracle JAVA Reference
Copyright (c) 2013, 2016, Oracle and/or its affiliates. All rights reserved.