public class ExceptionTOCJSONFile extends AbstractJsonFile
| Modifier and Type | Field and Description |
|---|---|
static String |
JSON_REFERENCE_FIELD |
| Constructor and Description |
|---|
ExceptionTOCJSONFile(String version,
String releaseDate) |
| Modifier and Type | Method and Description |
|---|---|
void |
addException(LicenseException exception,
String excHTMLReference,
String excJSONReference,
boolean deprecated)
Add a license to the JSON table of contents file
|
protected org.json.simple.JSONObject |
getJsonObject() |
writeToFilepublic static final String JSON_REFERENCE_FIELD
public void addException(LicenseException exception, String excHTMLReference, String excJSONReference, boolean deprecated)
exception - License Exception to be addedexcHTMLReference - file path to the exception file HTMLexcHTMLReference - file path to the exception file JSON detaildeprecated - true if the exception ID is deprecatedprotected org.json.simple.JSONObject getJsonObject()
getJsonObject in class AbstractJsonFileCopyright © 2018 Linux Foundation. All Rights Reserved.