[5415] in java-interest
Re: Is there a readToDelimitor() ?
daemon@ATHENA.MIT.EDU (Greg Ewing)
Thu Feb 8 08:01:37 1996
Date: Thu, 8 Feb 1996 15:32:35 +1100
From: grege@optimation.com.au (Greg Ewing)
To: java-interest@java.sun.com
Cc: dorfmeister@tad.eds.com
> From NewsGroup_comp-lang-java Wed Feb 7 08:32 EST 1996
> From: NewsGroup_comp-lang-java
> >From: dorfmeister@tad.eds.com (Steve Dorfmeister)
> Subject: Is there a readToDelimitor() ?
> Date: 6 Feb 1996 14:10:02 GMT
> Nntp-Posting-Host: dorf.tad.eds.com
> Mime-Version: 1.0
> X-Newsreader: WinVN 0.99.5
>
> I have just started playing with java.io and I was looking for a read method
> that would read into a buffer the contents between a delimitor. Am I missing
> something or is there not a method to do that ?? In other C++ class libs it is
> a familiar method -- String readToDelim(stream theFile, String theDelimitor){}
>
> Obviously it is easy to write but I was hoping there would be one in the lib
> already.
>
> Steve Dorfmeister
> (dorfmeister@tad.eds.com)
>
Steve,
Check out java.io.StreamTokenizer.
GREG
grege@optimation.com.au
-
This message was sent to the java-interest mailing list
Info: send 'help' to java-interest-request@java.sun.com