Advertisement

[java] streams

Started by July 15, 2000 01:11 PM
0 comments, last by Hitman 24 years, 5 months ago
This may sound like a dumb question, but can I associate a stream with a string variable so that things that need to write to a stream can be captured in a string and then I can do other things with them? Any help would be appreciated. Thanks, Bret Update: I found my answer, thanks anyways for the help. If all else fails, check the documentation Edited by - Hitman on 7/15/00 1:14:20 PM
Did you look into the java.io.PrintWriter? It takes character stream data and writes it to a StringBuffer.

If this doesn''t help you, I''m not sure what your trying to do.

ManaSink

This topic is closed to new replies.

Advertisement