java - Method for copying bytes from Channels to Paths and vice versa? -
i found there 2 methods copying bytes between paths , input/outputstreams
files#copy(inputstream in, path target, copyoption... options) files#copy(path source, outputstream out)   are there methods using readable/writablebytechannels?
say,
copy(readablebytechannel in, path target, copyoption... options) copy(path source, writablebytechannel out)   ?
i know there handy methods changing streams , channels.
channels#newchannel(inputstream) channels#newchannel(outputstream)   thanks.
 
 
  
Comments
Post a Comment