Re: [JAVA] Unbuffered access to stdin
From: Gordon Beaton (not_at_for.email)
Date: 03/05/05
- Next message: Basil Fawlty: "Re: Help: Input Dialog Box"
- Previous message: viator: "Re: tomcat 5.5.7 autoDeploy/reload trouble"
- In reply to: Max Rabkin: "[JAVA] Unbuffered access to stdin"
- Next in thread: Max: "Re: [JAVA] Unbuffered access to stdin"
- Reply: Max: "Re: [JAVA] Unbuffered access to stdin"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: 5 Mar 2005 19:05:31 +0100
On Sat, 05 Mar 2005 13:36:22 +0200, Max Rabkin wrote:
> While java's System.in is, according to the javadocs, an InputStream, it
> is in fact an instance of java.io.BufferedInputStream. Is there any way
> to have unbuffered access to it without hacking the JRE? (I can do it on
> my own computer, simply changing FilterInputStream's "in" field from
> "protected" to "public", but then I can't distribute my program).
AFAIK no.
However if you said why you think you need to do this, maybe someone
could suggest an alternative solution.
/gordon
-- [ do not email me copies of your followups ] g o r d o n + n e w s @ b a l d e r 1 3 . s e
- Next message: Basil Fawlty: "Re: Help: Input Dialog Box"
- Previous message: viator: "Re: tomcat 5.5.7 autoDeploy/reload trouble"
- In reply to: Max Rabkin: "[JAVA] Unbuffered access to stdin"
- Next in thread: Max: "Re: [JAVA] Unbuffered access to stdin"
- Reply: Max: "Re: [JAVA] Unbuffered access to stdin"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|
|