Uses of Class
org.spdx.rdfparser.model.SpdxFile
| Package | Description |
|---|---|
| org.spdx.compare | |
| org.spdx.html | |
| org.spdx.merge | |
| org.spdx.rdfparser | |
| org.spdx.rdfparser.model |
Model for the SPDX 2.0+ specification.
|
| org.spdx.spdxspreadsheet |
-
Uses of SpdxFile in org.spdx.compare
Methods in org.spdx.compare that return SpdxFile Modifier and Type Method Description protected SpdxFile[]SpdxComparer. collectAllFiles(SpdxDocument spdxDocument)Collect all of the files present in the SPDX document including files within documents and files embedded in packagesSpdxFileSpdxFileComparer. getFile(SpdxDocument spdxDocument)SpdxFile[]SpdxComparer. getUniqueFiles(int docindex1, int docindex2)Return any files which are in spdx document index 1 but not in spdx document index 2SpdxFile[]SpdxPackageComparer. getUniqueFiles(SpdxDocument docA, SpdxDocument docB)Return any unique files by name which are in docA but not in docBSpdxFileSpdxSnippetComparer. getUniqueSnippetFromFile(SpdxDocument docA, SpdxDocument docB)Get an SpdxFile that only exists in docA but not docBMethods in org.spdx.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 filesstatic String[]SpdxFileComparer. filesToFileNames(SpdxFile[] files)Extracts out the file names into a string arrayvoidAbstractFileCompareSheet. importCompareResults(SpdxComparer comparer, SpdxFile[][] files, String[] docNames)Constructors in org.spdx.compare with parameters of type SpdxFile Constructor Description SpdxFileDifference(SpdxFile fileA, SpdxFile fileB, boolean concludedLicensesEqual, boolean seenLicensesEqual, AnyLicenseInfo[] uniqueSeenLicensesA, AnyLicenseInfo[] uniqueSeenLicensesB, boolean artifactOfsEquals, DoapProject[] uniqueArtifactOfA2, DoapProject[] uniqueArtifactOfB2, boolean checksumsEquals, Checksum[] uniqueChecksumsA, Checksum[] uniqueChecksumsB, boolean relationshipsEquals, Relationship[] uniqueRelationshipA, Relationship[] uniqueRelationshipB, boolean annotationsEquals, Annotation[] uniqueAnnotationsA, Annotation[] uniqueAnnotationsB) -
Uses of SpdxFile in org.spdx.html
Methods in org.spdx.html with parameters of type SpdxFile Modifier and Type Method Description static Map<String,Object>MustacheMap. buildDocFileMustacheMap(SpdxDocument doc, SpdxFile[] files, Map<String,String> spdxIdToUrl, Map<String,List<SpdxSnippet>> fileIdToSnippets)Constructors in org.spdx.html with parameters of type SpdxFile Constructor Description FileContext(SpdxFile SpdxFile, Map<String,String> spdxIdToUrl, Map<String,List<SpdxSnippet>> fileIdToSnippets) -
Uses of SpdxFile in org.spdx.merge
Methods in org.spdx.merge that return SpdxFile Modifier and Type Method Description SpdxFile[]SpdxFileInfoMerger. cloneList(List<SpdxFile> filesList)SpdxFile[]SpdxFileInfoMerger. mergeFileInfo(SpdxDocument[] subDocs)SpdxFileSpdxLicenseMapper. replaceNonStdLicInFile(SpdxDocument spdxDoc, SpdxFile subFileInfo)a method gets a sub SPDX document and its file information.Methods in org.spdx.merge that return types with arguments of type SpdxFile Modifier and Type Method Description List<SpdxFile>SpdxFileInfoMerger. cloneFiles(List<SpdxFile> filesArray)Methods in org.spdx.merge with parameters of type SpdxFile Modifier and Type Method Description booleanSpdxFileInfoMerger. checkDoapProject(SpdxFile spdxFile)List<SpdxPackage>SpdxPackageInfoMerger. mergePackagesInfo(SpdxFile[] fileMergeResult)A method to merge all packages' information from sub list documents into master documentSpdxFileSpdxLicenseMapper. replaceNonStdLicInFile(SpdxDocument spdxDoc, SpdxFile subFileInfo)a method gets a sub SPDX document and its file information. -
Uses of SpdxFile in org.spdx.rdfparser
Methods in org.spdx.rdfparser that return SpdxFile Modifier and Type Method Description SpdxFile[]SpdxDocumentContainer. getFileReferences()get all file references contained within the containerMethods in org.spdx.rdfparser that return types with arguments of type SpdxFile Modifier and Type Method Description List<SpdxFile>SpdxDocumentContainer. findAllFiles()Methods in org.spdx.rdfparser with parameters of type SpdxFile Modifier and Type Method Description SpdxPackageVerificationCodeVerificationCodeGenerator. generatePackageVerificationCode(SpdxFile[] spdxFiles, String[] skippedFilePaths)Generate the SPDX Package Verification Code from an array of SPDXFiles -
Uses of SpdxFile in org.spdx.rdfparser.model
Methods in org.spdx.rdfparser.model that return SpdxFile Modifier and Type Method Description SpdxFileSpdxFile. clone()SpdxFileSpdxFile. clone(Map<String,SpdxElement> clonedElementIds)SpdxFile[]SpdxFile. cloneFileDependencies(Map<String,SpdxElement> clonedElementIds)SpdxFile[]SpdxFile. getFileDependencies()Deprecated.SpdxFile[]SpdxPackage. getFiles()SpdxFile[]SpdxPackage. getFiles(boolean checkRelationships)SpdxFileSpdxSnippet. getSnippetFromFile()Methods in org.spdx.rdfparser.model with parameters of type SpdxFile Modifier and Type Method Description voidSpdxPackage. addFile(SpdxFile file)Add a file to the list of files attached to this packageintSpdxFile. compareTo(SpdxFile file)This method is used for sorting a list of SPDX filesprotected static org.apache.jena.rdf.model.ResourceSpdxFile. findFileResource(IModelContainer modelContainer, SpdxFile spdxFile)Finds the resource for an existing file in the modelvoidSpdxFile. setFileDependencies(SpdxFile[] fileDependencies)Deprecated.voidSpdxPackage. setFiles(SpdxFile[] files)voidSpdxSnippet. setSnippetFromFile(SpdxFile snippetFromFile)Constructors in org.spdx.rdfparser.model with parameters of type SpdxFile Constructor Description SpdxPackage(String name, String comment, Annotation[] annotations, Relationship[] relationships, AnyLicenseInfo licenseConcluded, AnyLicenseInfo[] licenseInfosFromFiles, String copyrightText, String licenseComment, AnyLicenseInfo licenseDeclared, Checksum[] checksums, String description, String downloadLocation, SpdxFile[] files, String homepage, String originator, String packageFileName, SpdxPackageVerificationCode packageVerificationCode, String sourceInfo, String summary, String supplier, String versionInfo)SpdxPackage(String name, String comment, Annotation[] annotations, Relationship[] relationships, AnyLicenseInfo licenseConcluded, AnyLicenseInfo[] licenseInfosFromFiles, String copyrightText, String licenseComment, AnyLicenseInfo licenseDeclared, Checksum[] checksums, String description, String downloadLocation, SpdxFile[] files, String homepage, String originator, String packageFileName, SpdxPackageVerificationCode packageVerificationCode, String sourceInfo, String summary, String supplier, String versionInfo, boolean filesAnalyzed, ExternalRef[] externalRefs)SpdxPackage(String name, String comment, Annotation[] annotations, Relationship[] relationships, AnyLicenseInfo licenseConcluded, AnyLicenseInfo[] licenseInfosFromFiles, String copyrightText, String licenseComment, AnyLicenseInfo licenseDeclared, Checksum[] checksums, String description, String downloadLocation, SpdxFile[] files, String homepage, String originator, String packageFileName, SpdxPackageVerificationCode packageVerificationCode, String sourceInfo, String summary, String supplier, String versionInfo, boolean filesAnalyzed, ExternalRef[] externalRefs, String[] attributionText)SpdxPackage(String name, AnyLicenseInfo licenseConcluded, AnyLicenseInfo[] licenseInfosFromFiles, String copyrightText, AnyLicenseInfo licenseDeclared, String downloadLocation, SpdxFile[] files, SpdxPackageVerificationCode packageVerificationCode)SpdxSnippet(String name, String comment, Annotation[] annotations, Relationship[] relationships, AnyLicenseInfo licenseConcluded, AnyLicenseInfo[] licenseInfoInFile, String copyrightText, String licenseComment, SpdxFile snippetFromFile, StartEndPointer byteRange, StartEndPointer lineRange) -
Uses of SpdxFile in org.spdx.spdxspreadsheet
Methods in org.spdx.spdxspreadsheet that return SpdxFile Modifier and Type Method Description SpdxFilePerFileSheetV1d2. findFileByName(String fileName, SpdxDocumentContainer container)Finds an SPDX file by name by searching through the rows for a matching file nameSpdxFilePerFileSheetV2d0. findFileByName(String fileName, SpdxDocumentContainer container)Finds an SPDX file by name by searching through the rows for a matching file nameSpdxFilePerFileSheetV2d2. findFileByName(String fileName, SpdxDocumentContainer container)Finds an SPDX file by name by searching through the rows for a matching file nameabstract SpdxFilePerFileSheet. getFileInfo(int rowNum, SpdxDocumentContainer container)Get the file information for a row in the PerFileSheetSpdxFilePerFileSheetV09d3. getFileInfo(int rowNum, SpdxDocumentContainer container)SpdxFilePerFileSheetV1d1. getFileInfo(int rowNum, SpdxDocumentContainer container)SpdxFilePerFileSheetV1d2. getFileInfo(int rowNum, SpdxDocumentContainer container)SpdxFilePerFileSheetV2d0. getFileInfo(int rowNum, SpdxDocumentContainer container)SpdxFilePerFileSheetV2d2. getFileInfo(int rowNum, SpdxDocumentContainer container)Methods in org.spdx.spdxspreadsheet with parameters of type SpdxFile Modifier and Type Method Description abstract voidPerFileSheet. add(SpdxFile file, String pkgIds)Add the file to the spreadsheetvoidPerFileSheetV09d3. add(SpdxFile fileInfo, String packageIds)voidPerFileSheetV1d1. add(SpdxFile fileInfo, String pkgId)voidPerFileSheetV1d2. add(SpdxFile fileInfo, String pkgId)voidPerFileSheetV2d0. add(SpdxFile fileInfo, String pkgId)voidPerFileSheetV2d2. add(SpdxFile fileInfo, String pkgId)