![]() |
![]() Some of the Java InputStream functions are slightly different in Resin than a strict translation following Resins Bean reflection. Resin changes InputStream to make its interface sensible for JavaScript.
Reads a single byte from the stream and returns it as a number.
It returns -1 on end of file.
Reads
characters from the stream and returns them as a
string. If is omitted, reads a single character.
It returns
Reads a line from the stream and returns a string. Lines are
delimited by a linefeed ('\n'). The trailing cr-lf is stripped from
the string.
Returns
Returns the number of bytes available. The only guarantee is that if
there are bytes to be read available will be non-zero.
Reflection of InputStream's
mark function.
Reflection of InputStream's
markSupported function.
Reflection of InputStream's
reset function.
Reflection of InputStream's
skip function.
Closes the stream.
|