aspose file tools*
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
Author

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
Bartender

Joined: Oct 29, 2001
Posts: 8997
    
    9

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: http://aspose.com/file-tools
 
subject: Converting SequenceInputStream to File