public interface ICpe extends Comparable
| Modifier and Type | Method and Description |
|---|---|
String |
getEdition()
Gets the edition for the CPE entry.
|
String |
getLanguage()
Gets the language for the CPE entry.
|
String |
getOther()
Gets the other component for the CPE entry.
|
Part |
getPart()
Gets the part for the CPE entry.
|
String |
getProduct()
Gets the product for the CPE entry.
|
String |
getSwEdition()
Gets the software edition for the CPE entry.
|
String |
getTargetHw()
Gets the target hardware environment for the CPE entry.
|
String |
getTargetSw()
Gets the target software environment for the CPE entry.
|
String |
getUpdate()
Gets the update for the CPE entry.
|
String |
getVendor()
Gets the vendor for the CPE entry.
|
String |
getVersion()
Gets the version for the CPE entry.
|
String |
getWellFormedEdition()
Gets the well formed formatted edition for the CPE entry.
|
String |
getWellFormedLanguage()
Gets the well formed formatted language for the CPE entry.
|
String |
getWellFormedOther()
Gets the well formed formatted other component for the CPE entry.
|
String |
getWellFormedProduct()
Gets the well formed formatted product for the CPE entry.
|
String |
getWellFormedSwEdition()
Gets the well formed formatted software edition for the CPE entry.
|
String |
getWellFormedTargetHw()
Gets the well formed formatted target hardware environment for the CPE
entry.
|
String |
getWellFormedTargetSw()
Gets the well formed formatted target software environment for the CPE
entry.
|
String |
getWellFormedUpdate()
Gets the well formed formatted update for the CPE entry.
|
String |
getWellFormedVendor()
Gets the well formed formatted vendor for the CPE entry.
|
String |
getWellFormedVersion()
Gets the well formed formatted version for the CPE entry.
|
boolean |
matchedBy(ICpe target)
Determines if the target CPE matches the CPE.
|
boolean |
matches(ICpe target)
Determines if the CPE matches the given target CPE.
|
String |
toCpe22Uri()
Converts the CPE into the CPE 2.2 URI format.
|
String |
toCpe23FS()
Converts the CPE into the CPE 2.3 Formatted String.
|
compareToPart getPart()
Gets the part for the CPE entry.
cpe:2.3:[part]:[vendor]:[product]:[version]:[update]:[edition]:[language]:[sw_edition]:[target_sw]:[target_hw]:[other]
String getVendor()
Gets the vendor for the CPE entry.
cpe:2.3:[part]:[vendor]:[product]:[version]:[update]:[edition]:[language]:[sw_edition]:[target_sw]:[target_hw]:[other]
String getProduct()
Gets the product for the CPE entry.
cpe:2.3:[part]:[vendor]:[product]:[version]:[update]:[edition]:[language]:[sw_edition]:[target_sw]:[target_hw]:[other]
String getVersion()
Gets the version for the CPE entry.
cpe:2.3:[part]:[vendor]:[product]:[version]:[update]:[edition]:[language]:[sw_edition]:[target_sw]:[target_hw]:[other]
String getUpdate()
Gets the update for the CPE entry.
cpe:2.3:[part]:[vendor]:[product]:[version]:[update]:[edition]:[language]:[sw_edition]:[target_sw]:[target_hw]:[other]
String getEdition()
Gets the edition for the CPE entry.
cpe:2.3:[part]:[vendor]:[product]:[version]:[update]:[edition]:[language]:[sw_edition]:[target_sw]:[target_hw]:[other]
String getLanguage()
Gets the language for the CPE entry.
cpe:2.3:[part]:[vendor]:[product]:[version]:[update]:[edition]:[language]:[sw_edition]:[target_sw]:[target_hw]:[other]
String getSwEdition()
Gets the software edition for the CPE entry.
cpe:2.3:[part]:[vendor]:[product]:[version]:[update]:[edition]:[language]:[sw_edition]:[target_sw]:[target_hw]:[other]
String getTargetSw()
Gets the target software environment for the CPE entry.
cpe:2.3:[part]:[vendor]:[product]:[version]:[update]:[edition]:[language]:[sw_edition]:[target_sw]:[target_hw]:[other]
String getTargetHw()
Gets the target hardware environment for the CPE entry.
cpe:2.3:[part]:[vendor]:[product]:[version]:[update]:[edition]:[language]:[sw_edition]:[target_sw]:[target_hw]:[other]
String getOther()
Gets the other component for the CPE entry.
cpe:2.3:[part]:[vendor]:[product]:[version]:[update]:[edition]:[language]:[sw_edition]:[target_sw]:[target_hw]:[other]
String getWellFormedVendor()
Gets the well formed formatted vendor for the CPE entry.
cpe:2.3:[part]:[vendor]:[product]:[version]:[update]:[edition]:[language]:[sw_edition]:[target_sw]:[target_hw]:[other]
String getWellFormedProduct()
Gets the well formed formatted product for the CPE entry.
cpe:2.3:[part]:[vendor]:[product]:[version]:[update]:[edition]:[language]:[sw_edition]:[target_sw]:[target_hw]:[other]
String getWellFormedVersion()
Gets the well formed formatted version for the CPE entry.
cpe:2.3:[part]:[vendor]:[product]:[version]:[update]:[edition]:[language]:[sw_edition]:[target_sw]:[target_hw]:[other]
String getWellFormedUpdate()
Gets the well formed formatted update for the CPE entry.
cpe:2.3:[part]:[vendor]:[product]:[version]:[update]:[edition]:[language]:[sw_edition]:[target_sw]:[target_hw]:[other]
String getWellFormedEdition()
Gets the well formed formatted edition for the CPE entry.
cpe:2.3:[part]:[vendor]:[product]:[version]:[update]:[edition]:[language]:[sw_edition]:[target_sw]:[target_hw]:[other]
String getWellFormedLanguage()
Gets the well formed formatted language for the CPE entry.
cpe:2.3:[part]:[vendor]:[product]:[version]:[update]:[edition]:[language]:[sw_edition]:[target_sw]:[target_hw]:[other]
String getWellFormedSwEdition()
Gets the well formed formatted software edition for the CPE entry.
cpe:2.3:[part]:[vendor]:[product]:[version]:[update]:[edition]:[language]:[sw_edition]:[target_sw]:[target_hw]:[other]
String getWellFormedTargetSw()
Gets the well formed formatted target software environment for the CPE entry.
cpe:2.3:[part]:[vendor]:[product]:[version]:[update]:[edition]:[language]:[sw_edition]:[target_sw]:[target_hw]:[other]
String getWellFormedTargetHw()
Gets the well formed formatted target hardware environment for the CPE entry.
cpe:2.3:[part]:[vendor]:[product]:[version]:[update]:[edition]:[language]:[sw_edition]:[target_sw]:[target_hw]:[other]
String getWellFormedOther()
Gets the well formed formatted other component for the CPE entry.
cpe:2.3:[part]:[vendor]:[product]:[version]:[update]:[edition]:[language]:[sw_edition]:[target_sw]:[target_hw]:[other]
String toCpe22Uri() throws CpeEncodingException
CpeEncodingException - thrown if the CPE is not well formedString toCpe23FS()
boolean matches(ICpe target)
target - the target CPE to evaluatetrue if the CPE matches the target; otherwise
falseboolean matchedBy(ICpe target)
target - the CPE to evaluatetrue if the target CPE matches CPE; otherwise
falseCopyright © 2018–2023. All rights reserved.