public class LicenseManager
extends java.lang.Object
| Constructor and Description |
|---|
LicenseManager() |
| Modifier and Type | Method and Description |
|---|---|
static java.lang.String |
getDefaultSubmissionLicense()
Get the site-wide default license that submitters need to grant
|
static java.lang.String |
getLicenseText(java.lang.String licenseFile)
Get the License
|
static void |
writeLicenseFile(java.lang.String licenseFile,
java.lang.String newLicense)
Writes license to a text file.
|
public static void writeLicenseFile(java.lang.String licenseFile,
java.lang.String newLicense)
licenseFile - name for the file into which license will be written,
relative to the current directory.public static java.lang.String getLicenseText(java.lang.String licenseFile)
licenseFile - file namepublic static java.lang.String getDefaultSubmissionLicense()
Copyright © 2013 DuraSpace. All Rights Reserved.