Constructor and Description |
---|
BomParserImpl() |
Modifier and Type | Method and Description |
---|---|
List<AboutPagePanelModuleDescriptorImpl.Material> |
extractLgplMaterials(String bomContents)
Extracts LGPL information from a String.
|
public List<AboutPagePanelModuleDescriptorImpl.Material> extractLgplMaterials(String bomContents)
BomParser
The String should be csv formatted and may contain multiple lines. Each line should contain exactly 5 elements, separated by commas. Lines beginning with # should be treated as comments. Only lines containing the text GNU Lesser General Public License will be considered.
For example:
accepted
ignored as a comment
ignored
as a non-LGPL licenseignored as a non-LGPL license
ignored as no identifying library information is supplied
ignored due to insufficient number of elements
ignored due to too many elements
extractLgplMaterials
in interface BomParser
bomContents
- usually the complete contents of a bom.csv fileCopyright © 2002-2022 Atlassian. All Rights Reserved.