Re: Simple type conversion question
From: Tony Morris (not_at_telling.you)
Date: 09/29/04
- Previous message: steve: "Re: Obtaining derived classes"
- In reply to: Dfenestr8: "Simple type conversion question"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Tue, 28 Sep 2004 23:41:39 GMT
You don't "convert a sequence of variables of type int to a String" without
providing proper context.
Since you didn't state your problem clearly, assumptions must be made.
You're reading off a java.io.InputStream using the read() method and wish to
convert the raw data to a String.
You do this by using a java.io.InputStreamReader to convert the raw data to
character data.
Then you might consider writing the character data to a java.io.StringWriter
or a java.lang.StringBuffer.
If this assumption is incorrect, state your problem clearly.
-- Tony Morris http://xdweb.net/~dibblego/
- Previous message: steve: "Re: Obtaining derived classes"
- In reply to: Dfenestr8: "Simple type conversion question"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|