/ Published in: Java
Expand |
Embed | Plain Text
if (sourceLocation.isDirectory()) { if (!targetLocation.exists()) { targetLocation.mkdir(); } for (int i=0; i<children.length; i++) { } } else { // Copy the bits from instream to outstream byte[] buf = new byte[1024]; int len; while ((len = in.read(buf)) > 0) { out.write(buf, 0, len); } in.close(); out.close(); } }
You need to login to post a comment.
