[2178] in java-interest

home help back first fref pref prev next nref lref last post

gets, fgets equivalents

daemon@ATHENA.MIT.EDU (Elliotte Rusty Harold)
Tue Sep 26 16:38:56 1995

From: "Elliotte Rusty Harold" <Elliotte@blackstar.com>
To: java-interest@java.sun.com
Date:          Tue, 26 Sep 1995 12:21:12 EST
Reply-To: Elliotte@blackstar.com

Does java have any equivalent to C's gets or fgets?  Or do I need to 
just read a series of bytes into an array and just convert it into a 
string? If the latter do the bytes in the standard input stream come 
in as ASCII or as Unicode?  Does anyone have sample code to do this?
Thanks.

--
Elliotte Rusty Harold    Black Star Publishing Co., Inc.
elliotte@blackstar.com   116 East 27th Street
elharo@escape.com        NY NY 10016
-
Note to Sun employees: this is an EXTERNAL mailing list!
Info: send 'help' to java-interest-request@java.sun.com

home help back first fref pref prev next nref lref last post