public class URLCopier
extends java.lang.Object
| Constructor and Description |
|---|
URLCopier() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
copyDirectoryRecursive(java.net.URL source, java.net.URL destination) |
void |
copyURL(java.net.URL source, java.net.URL destination)
Currently implements for File URLs only, but can be expanded to other types later.
|
public void copyURL(java.net.URL source,
java.net.URL destination)
throws java.io.IOException
source - the source for copying.destination - the destination to be copied to.java.io.IOException
protected void copyDirectoryRecursive(java.net.URL source,
java.net.URL destination)
throws java.io.IOException
java.io.IOException