Solved

Direct BufferedOutputStream to BufferedInputStream

Posted on 2002-05-01
3
313 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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

For beginner Java programmers or at least those new to the Eclipse IDE, the following tutorial will show some (four) ways in which you can import your Java projects to your Eclipse workbench. Introduction While learning Java can be done with…
Introduction This article is the last of three articles that explain why and how the Experts Exchange QA Team does test automation for our web site. This article covers our test design approach and then goes through a simple test case example, how …
Viewers learn how to read error messages and identify possible mistakes that could cause hours of frustration. Coding is as much about debugging your code as it is about writing it. Define Error Message: Line Numbers: Type of Error: Break Down…
Viewers will learn how to properly install Eclipse with the necessary JDK, and will take a look at an introductory Java program. Download Eclipse installation zip file: Extract files from zip file: Download and install JDK 8: Open Eclipse and …

911 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

16 Experts available now in Live!

Get 1:1 Help Now