public interface LicenseReader
Modifier and Type | Method and Description |
---|---|
void |
addLicenses(URL url)
Adds a URL to the set of files to be read.
|
SortedSet<String> |
approvedLicenseId()
Reads the configuration and extracts the list of approved licenses.
|
SortedSet<ILicenseFamily> |
readFamilies()
Reads the configuration and extracts instances of ILicenseFamily.
|
SortedSet<ILicense> |
readLicenses()
Reads the configuration and extracts instances of ILicense.
|
void |
setLog(Log log)
Sets the logger to use during parsing.
|
void addLicenses(URL url)
url
- the URL to read.SortedSet<ILicense> readLicenses()
SortedSet<ILicenseFamily> readFamilies()
SortedSet<String> approvedLicenseId()
void setLog(Log log)
log
- the log to use.Copyright © 2006–2024 Apache Software Foundation. All rights reserved.