Class AbstractExtractedLicenseInfo

    • Constructor Detail

      • AbstractExtractedLicenseInfo

        public AbstractExtractedLicenseInfo​(String id)
                                     throws org.spdx.core.InvalidSPDXAnalysisException
        Create a new ExtractedLicenseInfo using the ID
        Parameters:
        id - identifier for the license
        Throws:
        org.spdx.core.InvalidSPDXAnalysisException
      • AbstractExtractedLicenseInfo

        public AbstractExtractedLicenseInfo​(org.spdx.storage.IModelStore modelStore,
                                            String documentUri,
                                            String id,
                                            org.spdx.core.IModelCopyManager copyManager,
                                            boolean create)
                                     throws org.spdx.core.InvalidSPDXAnalysisException
        Create a new ExtractedLicenseInfo object
        Parameters:
        modelStore - container which includes the license
        documentUri - URI for the SPDX document containing the license
        id - identifier for the license
        copyManager - if non-null, allows for copying of any properties set which use other model stores or document URI's
        create - if true, create the license if it does not exist
        Throws:
        org.spdx.core.InvalidSPDXAnalysisException