org.sonatype.gshell.branding
Class LicenseSupport
java.lang.Object
org.sonatype.gshell.branding.LicenseSupport
- All Implemented Interfaces:
- License
public class LicenseSupport
- extends Object
- implements License
Support for {@link License) implementations.
- Since:
- 2.5
- Author:
- Jason Dillon
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
LicenseSupport
public LicenseSupport(String name,
URL url)
LicenseSupport
public LicenseSupport(String name,
String url)
getName
public String getName()
- Specified by:
getName in interface License
getUrl
public URL getUrl()
- Specified by:
getUrl in interface License
getContent
public String getContent()
throws IOException
- Specified by:
getContent in interface License
- Throws:
IOException
Copyright © 2008-2011 Sonatype. All Rights Reserved.