Skip to content

Instantly share code, notes, and snippets.

@rokon12
Last active March 23, 2017 19:18
Show Gist options
  • Save rokon12/716684f24e6a49aaa7b4668dd7a5d328 to your computer and use it in GitHub Desktop.
Save rokon12/716684f24e6a49aaa7b4668dd7a5d328 to your computer and use it in GitHub Desktop.
public class CopyThread extends Thread {
private String from;
private String to;
public CopyThread(String from, String to) {
this.from = from;
this.to = to;
}
@Override
public void run() {
Copier copier = new Copier();
copier.copy(from, to);
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment