org.codehaus.mojo.license
Class LicenseDownloader

java.lang.Object
  extended by org.codehaus.mojo.license.LicenseDownloader

public class LicenseDownloader
extends Object

Utilities for downloading remote license files.

Since:
1.0
Author:
pgier

Field Summary
static int DEFAULT_CONNECTION_TIMEOUT
          Defines the connection timeout in milliseconds when attempting to download license files.
 
Constructor Summary
LicenseDownloader()
           
 
Method Summary
static void downloadLicense(String licenseUrlString, File outputFile)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

DEFAULT_CONNECTION_TIMEOUT

public static final int DEFAULT_CONNECTION_TIMEOUT
Defines the connection timeout in milliseconds when attempting to download license files.

See Also:
Constant Field Values
Constructor Detail

LicenseDownloader

public LicenseDownloader()
Method Detail

downloadLicense

public static void downloadLicense(String licenseUrlString,
                                   File outputFile)
                            throws IOException
Throws:
IOException


Copyright © 2010-2012 The Kuali Foundation. All Rights Reserved.