Solved

Direct BufferedOutputStream to BufferedInputStream

Posted on 2002-05-01
3
312 Views
Last Modified: 2008-03-04
  I got two functions.
   First one will read input from somewhere and will return BufferedInputStream type, so that second function can call Function1 and process the InputStream.
   Is it possible to do it? If yes, then how?

   Guys, any idea?
0
Comment
Question by:realman1
  • 2
3 Comments
 
LVL 92

Accepted Solution

by:
objects earned 100 total points
ID: 6985129
Set up a pair of PipedInputStream/PipedOutputStream objects. Read the data from your bufferinputstream, process it, and write it to the pipedoutputstream.
Your other function can then read data from the pipedoutputstream.
0
 

Author Comment

by:realman1
ID: 6985762
That's the answer. :)
0
 
LVL 92

Expert Comment

by:objects
ID: 6987486
0

Featured Post

IT, Stop Being Called Into Every Meeting

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

For customizing the look of your lightweight component and making it look opaque like it was made of plastic.  This tip assumes your component to be of rectangular shape and completely opaque.   (CODE)
After being asked a question last year, I went into one of my moods where I did some research and code just for the fun and learning of it all.  Subsequently, from this journey, I put together this article on "Range Searching Using Visual Basic.NET …
Viewers learn about the third conditional statement “else if” and use it in an example program. Then additional information about conditional statements is provided, covering the topic thoroughly. Viewers learn about the third conditional statement …
Viewers will learn about if statements in Java and their use The if statement: The condition required to create an if statement: Variations of if statements: An example using if statements:

708 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

15 Experts available now in Live!

Get 1:1 Help Now