File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes I/O and Streams and the fly likes Converting SequenceInputStream to File Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » I/O and Streams
Bookmark "Converting SequenceInputStream to File" Watch "Converting SequenceInputStream to File" New topic

Converting SequenceInputStream to File

Mary Taylor
Ranch Hand

Joined: Sep 11, 2000
Posts: 327
After creating a SequenceInputStream from several File(s), I now need to call a class sending this SequenceInputStream as a File. How do I convert the SequenceInputStream to a File?
Joe Ess

Joined: Oct 29, 2001
Posts: 9189

Invoke read() on the SequenceInputStream and invoke write() on the OutputStream of your choice. Consult the Java Tutorial for more information.

[How To Ask Questions On JavaRanch]
I agree. Here's the link:
subject: Converting SequenceInputStream to File
It's not a secret anymore!