package prob-when copying files
I write a program to copy one file from one package to another package.
In eclipse, file need to claim the package it is in rigorously.
e.g. in Package A I have test.java:
package A;
public class test( ){
..
}
If I want to move to package B, I also need to change the package name manually to
package B;
public class test( ){
}
In my program that copies the file from one package to another one, how can I change the package name specified in the file automatically?
Many thanks

