Uses of Class
org.spdx.library.model.v2.SpdxFile
-
Packages that use SpdxFile Package Description org.spdx.library.model.v2 Model compatible with version 2 of the SPDX spec (2.0, 2.1, 2.2, and 2.3) -
-
Uses of SpdxFile in org.spdx.library.model.v2
Methods in org.spdx.library.model.v2 that return SpdxFile Modifier and Type Method Description SpdxFile
SpdxFile.SpdxFileBuilder. build()
SpdxFile
SpdxSnippet. getSnippetFromFile()
SpdxFile
SpdxFile. setCopyrightText(String copyrightText)
SpdxFile
SpdxFile. setLicenseComments(String licenseComments)
SpdxFile
SpdxFile. setLicenseConcluded(AnyLicenseInfo license)
SpdxFile
SpdxFile. setName(String name)
SpdxFile
SpdxFile. setNoticeText(String noticeText)
Methods in org.spdx.library.model.v2 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.v2 with parameters of type SpdxFile Modifier and Type Method Description SpdxPackage
SpdxPackage. addFile(SpdxFile file)
Add a file to the collection of files attached to this packageSpdxPackage.SpdxPackageBuilder
SpdxPackage.SpdxPackageBuilder. addFile(SpdxFile file)
int
SpdxFile. compareTo(SpdxFile o)
SpdxSnippet.SpdxSnippetBuilder
ModelObjectV2. 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
SpdxSnippet. setSnippetFromFile(SpdxFile snippetFromFile)
Method parameters in org.spdx.library.model.v2 with type arguments of type SpdxFile Modifier and Type Method Description SpdxPackage.SpdxPackageBuilder
SpdxPackage.SpdxPackageBuilder. setFiles(Collection<SpdxFile> files)
Constructors in org.spdx.library.model.v2 with parameters of type SpdxFile Constructor Description SpdxSnippetBuilder(org.spdx.storage.IModelStore modelStore, String documentUri, String id, org.spdx.core.IModelCopyManager copyManager, String name, AnyLicenseInfo concludedLicense, Collection<AnyLicenseInfo> licenseInfosFromFile, String copyrightText, SpdxFile snippetFromFile, int startByte, int endByte)
Build a snippet with the required parameters
-