Uses of Class
org.spdx.library.model.SpdxFile
Packages that use SpdxFile
Package
Description
Copyright (c) 2019 Source Auditor Inc.
Utility classes for comparing SPDX model objects
-
Uses of SpdxFile in org.spdx.library.model
Methods in org.spdx.library.model that return SpdxFileModifier and TypeMethodDescriptionSpdxFile.SpdxFileBuilder.build()SpdxSnippet.getSnippetFromFile()SpdxFile.setCopyrightText(String copyrightText) SpdxFile.setLicenseComments(String licenseComments) SpdxFile.setLicenseConcluded(AnyLicenseInfo license) SpdxFile.setNoticeText(String noticeText) Methods in org.spdx.library.model that return types with arguments of type SpdxFileModifier and TypeMethodDescriptionSpdxFile.getFileDependency()Deprecated.SpdxPackage.getFiles()Methods in org.spdx.library.model with parameters of type SpdxFileModifier and TypeMethodDescriptionAdd a file to the collection of files attached to this packageintModelObject.createSpdxSnippet(String id, String name, AnyLicenseInfo concludedLicense, Collection<AnyLicenseInfo> seenLicense, String copyrightText, SpdxFile snippetFromFile, int startByte, int endByte) Create an SpdxSnippetBuilder with all of the required properties - the build() method will build the fileSpdxSnippet.setSnippetFromFile(SpdxFile snippetFromFile) Method parameters in org.spdx.library.model with type arguments of type SpdxFileModifier and TypeMethodDescriptionSpdxPackage.SpdxPackageBuilder.setFiles(Collection<SpdxFile> files) Constructors in org.spdx.library.model with parameters of type SpdxFileModifierConstructorDescriptionSpdxSnippetBuilder(IModelStore modelStore, String documentUri, String id, ModelCopyManager copyManager, String name, AnyLicenseInfo concludedLicense, Collection<AnyLicenseInfo> licenseInfosFromFile, String copyrightText, SpdxFile snippetFromFile, int startByte, int endByte) Build a snippet with the required parameters -
Uses of SpdxFile in org.spdx.utility.compare
Methods in org.spdx.utility.compare that return SpdxFileModifier and TypeMethodDescriptionSpdxFileComparer.getFile(SpdxDocument spdxDocument) SpdxSnippetComparer.getUniqueSnippetFromFile(SpdxDocument docA, SpdxDocument docB) Get an SpdxFile that only exists in docA but not docBMethods in org.spdx.utility.compare that return types with arguments of type SpdxFileModifier and TypeMethodDescriptionSpdxComparer.collectAllFiles(SpdxDocument spdxDocument) Collect all of the files present in the SPDX document including files within documents and files embedded in packagesSpdxComparer.getUniqueFiles(int docindex1, int docindex2) Return any files which are in spdx document index 1 but not in spdx document index 2SpdxPackageComparer.getUniqueFiles(SpdxDocument docA, SpdxDocument docB) Return any unique files by name which are in docA but not in docBMethods in org.spdx.utility.compare with parameters of type SpdxFileModifier and TypeMethodDescriptionvoidSpdxFileComparer.addDocumentFile(SpdxDocument spdxDocument, SpdxFile spdxFile) Add a file to the comparer and compare to the existing filesConstructors in org.spdx.utility.compare with parameters of type SpdxFileModifierConstructorDescriptionSpdxFileDifference(SpdxFile fileA, SpdxFile fileB, boolean concludedLicensesEqual, boolean seenLicensesEqual, List<AnyLicenseInfo> uniqueSeenLicensesA, List<AnyLicenseInfo> uniqueSeenLicensesB, boolean checksumsEquals, List<Checksum> uniqueChecksumsA, List<Checksum> uniqueChecksumsB, boolean relationshipsEquals, List<Relationship> uniqueRelationshipA, List<Relationship> uniqueRelationshipB, boolean annotationsEquals, List<Annotation> uniqueAnnotationsA, List<Annotation> uniqueAnnotationsB) -
Uses of SpdxFile in org.spdx.utility.verificationcode
Methods in org.spdx.utility.verificationcode with parameters of type SpdxFileModifier and TypeMethodDescriptionVerificationCodeGenerator.generatePackageVerificationCode(SpdxFile[] spdxFiles, String[] skippedFilePaths, IModelStore modelStore, String documentUri) Generate the SPDX Package Verification Code from an array of SPDXFiles