Fastest way to copy files in Java

后端 未结 6 1033
萌比男神i
萌比男神i 2021-02-07 01:32

What ist the fastest way to copy a big number of files in Java. So far I have used file streams and nio. Overall streams seem to be faster than nio. What experiences did you mak

6条回答
  •  渐次进展
    2021-02-07 01:57

    Have java fork off an OS batch script that copies the files. Your code might have to write the batch script.

提交回复
热议问题