Uses of Class
org.spdx.library.model.SpdxFile
| Package | Description |
|---|---|
| org.spdx.library.model |
Copyright (c) 2019 Source Auditor Inc.
|
| org.spdx.utility.compare |
Utility classes for comparing SPDX model objects
|
| org.spdx.utility.verificationcode |
-
Uses of SpdxFile in org.spdx.library.model
Methods in org.spdx.library.model that return SpdxFile Modifier and Type Method Description SpdxFileSpdxFile.SpdxFileBuilder. build()SpdxFileSpdxSnippet. getSnippetFromFile()SpdxFileSpdxFile. setCopyrightText(String copyrightText)SpdxFileSpdxFile. setLicenseComments(String licenseComments)SpdxFileSpdxFile. setLicenseConcluded(AnyLicenseInfo license)SpdxFileSpdxFile. setName(String name)SpdxFileSpdxFile. setNoticeText(String noticeText)Methods in org.spdx.library.model that return types with arguments of type SpdxFile Modifier and Type Method Description Collection<SpdxFile>SpdxFile. getFileDependency()Deprecated.Collection<SpdxFile>SpdxPackage. getFiles()Methods in org.spdx.library.model with parameters of type SpdxFile Modifier and Type Method Description SpdxPackageSpdxPackage. addFile(SpdxFile file)Add a file to the collection of files attached to this packageSpdxPackage.SpdxPackageBuilderSpdxPackage.SpdxPackageBuilder. addFile(SpdxFile file)intSpdxFile. compareTo(SpdxFile o)SpdxSnippet.SpdxSnippetBuilderModelObject. 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 fileSpdxSnippetSpdxSnippet. setSnippetFromFile(SpdxFile snippetFromFile)Method parameters in org.spdx.library.model with type arguments of type SpdxFile Modifier and Type Method Description SpdxPackage.SpdxPackageBuilderSpdxPackage.SpdxPackageBuilder. setFiles(Collection<SpdxFile> files)Constructors in org.spdx.library.model with parameters of type SpdxFile Constructor Description SpdxSnippetBuilder(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 SpdxFile Modifier and Type Method Description SpdxFileSpdxFileComparer. getFile(SpdxDocument spdxDocument)SpdxFileSpdxSnippetComparer. 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 SpdxFile Modifier and Type Method Description List<SpdxFile>SpdxComparer. collectAllFiles(SpdxDocument spdxDocument)Collect all of the files present in the SPDX document including files within documents and files embedded in packagesList<SpdxFile>SpdxComparer. getUniqueFiles(int docindex1, int docindex2)Return any files which are in spdx document index 1 but not in spdx document index 2List<SpdxFile>SpdxPackageComparer. 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 SpdxFile Modifier and Type Method Description voidSpdxFileComparer. 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 SpdxFile Constructor Description SpdxFileDifference(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 SpdxFile Modifier and Type Method Description SpdxPackageVerificationCodeVerificationCodeGenerator. generatePackageVerificationCode(SpdxFile[] spdxFiles, String[] skippedFilePaths, IModelStore modelStore, String documentUri)Generate the SPDX Package Verification Code from an array of SPDXFiles