Java Queries Here..

quicky008

In the zone
Joined
Nov 27, 2007
Messages
2,157
Yes,after writing a custom copy method for copying the contents of 1 file to another,its working.It was stupid of me to assume that copy was referencing some built in copy function in java.I had confused it with Files.copy(),which is intended for a somewhat different usage.
 

TheSloth

The Slowest One
Joined
May 24, 2012
Messages
1,939
In case of doubts, always move the cursor over the class/method/identifier name to find out more info about it provided by IDE. Always read the stack trace carefully. Some basic pointers to debug your code quicker. I have overlooked details and wasted lot of times looking for solutions which were not even my problems and always hated myself for not looking into the errors in more details.
 
Top