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

 

Utilities.readByteFile

Reads in the file indicated by the passed file path, and returns the bytes.

Syntax

Parameters

spec
The path and file name of the file to read.

Description

The readByteFile method reads in the file indicated by the passed file path, and returns the bytes. The path is internally converted by osSafeSpec().

Returns

A byte array of the files contents or null.

See Also

osSafeSpec

 

   Home > Contents > Index >

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