Re: How do you _really_ get a PrintStream to flush all the time?
- From: Roedy Green <my_email_is_posted_on_my_website@xxxxxxxxxxxxxx>
- Date: Thu, 29 Sep 2005 16:14:37 GMT
On Thu, 29 Sep 2005 10:04:12 -0400, "Rob McDonald"
<robm@xxxxxxxxxxxxxxxxxxxxxx> wrote or quoted :
>Unfortunately, writing to the console isn't at all deterministic. Messages
>get trimmed. They are printed out of order, linefeeds don't happen.
>Generally, it is a mess. And no end of flush() does any good at all...
See http://mindprod.com/applets/fileio.html
Pour out your sorrows to it, and it will show you how to use
autoflush.
--
Canadian Mind Products, Roedy Green.
http://mindprod.com Again taking new Java programming contracts.
.
- Follow-Ups:
- Re: How do you _really_ get a PrintStream to flush all the time?
- From: Rob McDonald
- Re: How do you _really_ get a PrintStream to flush all the time?
- References:
- How do you _really_ get a PrintStream to flush all the time?
- From: Rob McDonald
- How do you _really_ get a PrintStream to flush all the time?
- Prev by Date: Re: Collection
- Next by Date: Re: Artificial Intelligence
- Previous by thread: Re: How do you _really_ get a PrintStream to flush all the time?
- Next by thread: Re: How do you _really_ get a PrintStream to flush all the time?
- Index(es):
Relevant Pages
|
|