public class MarkdownTable extends Object
| Constructor and Description |
|---|
MarkdownTable(String licenseListVersion) |
| Modifier and Type | Method and Description |
|---|---|
void |
addException(org.spdx.rdfparser.license.LicenseException exception,
boolean deprecated)
Add an exception to be added to the markdown table of contents
|
void |
addLicense(org.spdx.rdfparser.license.SpdxListedLicense license,
boolean deprecated)
Add a license to be included in the markdown table of contents
|
void |
writeTOC(Writer writer)
Write the text for all of the added licenses and exceptions in the form of a MarkDown formatted table
|
void |
writeToFile(File file)
Write the markdown table of contents to an existing file.
|
public MarkdownTable(String licenseListVersion)
public void addException(org.spdx.rdfparser.license.LicenseException exception,
boolean deprecated)
exception - deprecated - public void addLicense(org.spdx.rdfparser.license.SpdxListedLicense license,
boolean deprecated)
license - deprecated - public void writeToFile(File file) throws IOException
file - IOExceptionpublic void writeTOC(Writer writer) throws IOException
writer - IOExceptionCopyright © 2018 Linux Foundation. All Rights Reserved.