Last active
March 23, 2017 19:18
-
-
Save rokon12/716684f24e6a49aaa7b4668dd7a5d328 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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