Important Notice: Our web hosting provider recently started charging us for additional visits, which was unexpected. In response, we're seeking donations. Depending on the situation, we may explore different monetization options for our Community and Expert Contributors. It's crucial to provide more returns for their expertise and offer more Expert Validated Answers or AI Validated Answers. Learn more about our hosting issue here.

as stated by the JDK documentation), and it does not contain the file itself. What if the file is not located on the same system?

0
Posted

as stated by the JDK documentation), and it does not contain the file itself. What if the file is not located on the same system?

0

Your solution it’s ok, just do not use java.io.File; Answer by kunal khanna I just used fileInput stream to read a file into a byte array,transmitted the array to a queue. The consumer reads this byte array and writes it to another file. It runs very well…

Related Questions

What is your question?

*Sadly, we had to bring back ads too. Hopefully more targeted.

Experts123