static void mergeInto ( List < Path > parts , OutputStream out ) throws IOException { for ( final Path part : parts ) { Files . copy ( part , out ) ; Files . delete ( part ) ; } }
Merge the given part files in order into an output stream . This deletes the parts .