Skip navigation links

Oracle Fusion Middleware Java API Reference for Oracle Extension SDK
11g Release 2 (11.1.2.2.0)

E17493-03


oracle.ide.util
Class URLCopier

java.lang.Object
  extended by oracle.ide.util.URLCopier

Direct Known Subclasses:
URLCopyUtil

public class URLCopier
extends java.lang.Object

A utility class for copying URLs.


Constructor Summary
URLCopier()
           

 

Method Summary
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.

 

Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

 

Constructor Detail

URLCopier

public URLCopier()

Method Detail

copyURL

public void copyURL(java.net.URL source,
                    java.net.URL destination)
             throws java.io.IOException
Currently implements for File URLs only, but can be expanded to other types later. Copies the source to destination. If the URL is a directory then it attempts to copy recursively.
Parameters:
source - the source for copying.
destination - the destination to be copied to.
Throws:
java.io.IOException

copyDirectoryRecursive

protected void copyDirectoryRecursive(java.net.URL source,
                                      java.net.URL destination)
                               throws java.io.IOException
Throws:
java.io.IOException

Skip navigation links

Oracle Fusion Middleware Java API Reference for Oracle Extension SDK
11g Release 2 (11.1.2.2.0)

E17493-03


Copyright © 1997, 2012, Oracle. All rights reserved.