Microsoft SDK for Java

read

This method of the StringInputStream class reads the next byte of data from this input stream.

Syntax

public int read() throws IOException;

Return Value

Returns the next byte of data, or -1 if the end of the stream is reached.

Exceptions

Throws IOException if an I/O error occurs.

© 1999 Microsoft Corporation. All rights reserved. Terms of use.