public final class License extends Object
| Constructor and Description |
|---|
License(String name,
String url,
String text)
Constructs an License.
|
public License(String name, String url, String text) throws IllegalArgumentException
null otherwise an IllegalArgumentException is
thrownname - the name of the licenseurl - the link to the page about the licensetext - the natural language text defining the licenseIllegalArgumentException - if all three parameters are
null or empty stringsCopyright © 2010-2014 The Apache Software Foundation. All Rights Reserved.