@ExperimentalApi
public interface BomParser
Modifier and Type | Method and Description |
---|---|
List<AboutPagePanelModuleDescriptorImpl.Material> |
extractLgplMaterials(String bomContents)
Extracts LGPL information from a String.
|
List<AboutPagePanelModuleDescriptorImpl.Material> extractLgplMaterials(String bomContents)
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
bomContents
- usually the complete contents of a bom.csv fileCopyright © 2002-2017 Atlassian. All Rights Reserved.