public class LicenseRDFAGenerator extends Object
| Constructor and Description |
|---|
LicenseRDFAGenerator() |
| Modifier and Type | Method and Description |
|---|---|
static List<String> |
generateLicenseData(File licenseXml,
File dir,
String version,
String releaseDate,
File testFileDir)
Generate license data
|
static void |
main(String[] args) |
public static void main(String[] args)
args - Arg 0 is either a license XML file or a directory of licenses in XML format, arg 1 is the directory for the output html filespublic static List<String> generateLicenseData(File licenseXml, File dir, String version, String releaseDate, File testFileDir) throws LicenseGeneratorException
licenseXml - License XML file or directory containing license XML filesdir - Output directory for the generated resultsversion - Version for the license lisereleaseDate - Release data string for the licensetestFileDir - Directory of license text to test the generated licenses againstLicenseGeneratorExceptionCopyright © 2019 Linux Foundation. All Rights Reserved.