Hello all,
I am unable to understand the renameTo method of the File class in JAVA.It says that it renames the file denoted by this abstract pathname.
But in one of the application which we developed, we are using this method to transfer the file to a destination.So what we do is , we encrypt the file and send that file to the destination which can be any path .
So can anyone clear my doubts on the same?
Thanks in advance,
Saurabh
I am unable to understand the renameTo method of the File class in JAVA.It says that it renames the file denoted by this abstract pathname.
But in one of the application which we developed, we are using this method to transfer the file to a destination.So what we do is , we encrypt the file and send that file to the destination which can be any path .
So can anyone clear my doubts on the same?
Thanks in advance,
Saurabh