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