Microsoft SDK for Java

IReader.peek

Retrieves the next available character without actually reading it from the input stream.

Syntax

public int peek()

Return Value

Returns the next character to be read,  or returns -1 if no additional characters are available.

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