public class ExceptionTOCJSONFile extends Object
| 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
|
void |
writeToFile(File jsonFile) |
public 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 deprecatedpublic void writeToFile(File jsonFile) throws IOException
IOExceptionCopyright © 2016 Linux Foundation. All Rights Reserved.