• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Converting SequenceInputStream to File

 
Mary Taylor
Ranch Hand
Posts: 327
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Pie
Posts: 9266
10
Linux Mac OS X Windows
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Invoke read() on the SequenceInputStream and invoke write() on the OutputStream of your choice. Consult the Java Tutorial for more information.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic