| Package | Description |
|---|---|
| org.spdx.compare | |
| org.spdx.rdfparser.model |
Model for the SPDX 2.0+ specification.
|
| Modifier and Type | Method and Description |
|---|---|
SpdxFile.FileType[] |
SpdxFileDifference.getFileTypeA() |
SpdxFile.FileType[] |
SpdxFileDifference.getFileTypeB() |
static SpdxFile.FileType[] |
CompareHelper.parseFileTypeString(String typeStr) |
| Modifier and Type | Method and Description |
|---|---|
static String |
CompareHelper.fileTypesToString(SpdxFile.FileType[] fileTypes) |
| Modifier and Type | Field and Description |
|---|---|
static Map<SpdxFile.FileType,String> |
SpdxFile.FILE_TYPE_TO_TAG
Deprecated.
|
static Map<String,SpdxFile.FileType> |
SpdxFile.TAG_TO_FILE_TYPE
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
static SpdxFile.FileType |
SpdxFile.FileType.fromTag(String tag) |
SpdxFile.FileType[] |
SpdxFile.getFileTypes() |
static SpdxFile.FileType |
SpdxFile.FileType.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static SpdxFile.FileType[] |
SpdxFile.FileType.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
| Modifier and Type | Method and Description |
|---|---|
void |
SpdxFile.addFileType(SpdxFile.FileType fileType)
Add a file type to this file
|
void |
SpdxFile.setFileTypes(SpdxFile.FileType[] fileTypes) |
| Constructor and Description |
|---|
SpdxFile(String fileName,
SpdxFile.FileType[] fileTypes,
String sha1Value,
AnyLicenseInfo licenseConcluded,
AnyLicenseInfo[] licenseInfoInFiles,
String licenseComment,
String copyrightText,
DoapProject[] artifactOfs,
String fileComment) |
SpdxFile(String name,
String comment,
Annotation[] annotations,
Relationship[] relationships,
AnyLicenseInfo licenseConcluded,
AnyLicenseInfo[] licenseInfoInFile,
String copyrightText,
String licenseComment,
SpdxFile.FileType[] fileTypes,
Checksum[] checksums,
String[] fileContributors,
String noticeText,
DoapProject[] artifactOf) |
Copyright © 2018 Linux Foundation. All Rights Reserved.