Hacker News new | past | comments | ask | show | jobs | submit login

Of course you could. It was an awful api: http://docs.oracle.com/javase/6/docs/api/java/io/File.html

This is why people used Apache FileUtils: http://commons.apache.org/io/apidocs/org/apache/commons/io/F...

On java 7 a better api is only part of the standard library.




No it could not copy directly until Java7. Sure there was a million helper class could do this. but not the main SDK.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: