net.mlw.util
Class NetUtils

java.lang.Object
  |
  +--net.mlw.util.NetUtils

public final class NetUtils
extends java.lang.Object

Version:
$Revision: 1.4 $ $Date: 2004/03/17 14:20:21 $
Author:
Matthew L. Wilson

Field Summary
static org.apache.commons.logging.Log LOGGER
          Commons Logger
 
Method Summary
static void copyFile(java.net.URL url, java.io.File local)
          Retrieves a file.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

LOGGER

public static final org.apache.commons.logging.Log LOGGER
Commons Logger

Method Detail

copyFile

public static void copyFile(java.net.URL url,
                            java.io.File local)
                     throws java.io.IOException
Retrieves a file.

Parameters:
url - The location of the file to retrieve.
local - The location to store the file locally.
Throws:
java.io.IOException - Thrown if thre is an issue saving the file.


Copyright © 2003-2004 mlavilson. All Rights Reserved.