Class Spdx3Example

java.lang.Object
org.spdx.example.Spdx3Example

public class Spdx3Example extends Object
Example which creates an SBOM from scratch

NOTE: Snippets from this file are used in the GETTING_STARTED.md file - any changes to this file should update the GETTING_STARTED.md file

  • Constructor Details

    • Spdx3Example

      public Spdx3Example()
  • Method Details

    • createSbomFromScratch

      public static org.spdx.library.model.v3_0_1.software.Sbom createSbomFromScratch() throws org.spdx.core.InvalidSPDXAnalysisException
      Throws:
      org.spdx.core.InvalidSPDXAnalysisException