| Package | Description |
|---|---|
| us.springett.parsers.cpe |
Suite of CPE building and parsing utilities.
|
| us.springett.parsers.cpe.util |
Utilities used for parsing CPE strings.
|
| us.springett.parsers.cpe.values |
Collection of enumeration values that are can be used as part of a CPE.
|
| Modifier and Type | Method and Description |
|---|---|
Part |
Cpe.getPart()
Gets the part for the CPE entry.
|
Part |
ICpe.getPart()
Gets the part for the CPE entry.
|
protected Part |
CpeBuilder.getPart()
Get the value of part.
|
| Modifier and Type | Method and Description |
|---|---|
static Relation |
Cpe.compareAttribute(Part left,
Part right) |
protected static boolean |
Cpe.compareAttributes(Part left,
Part right)
This does not follow the spec precisely because ANY compared to NA is
classified as undefined by the spec; however, in this implementation ANY
will match NA and return true.
|
CpeBuilder |
CpeBuilder.part(Part part)
Sets the type for the CPE entry: application, operating system, or
hardware.
|
| Constructor and Description |
|---|
Cpe(Part part,
String vendor,
String product,
String version,
String update,
String edition,
String language,
String swEdition,
String targetSw,
String targetHw,
String other)
Constructs a new immutable CPE object that represents the Well Form Named
defined in the CPE 2.3 specification.
|
| Modifier and Type | Method and Description |
|---|---|
static String |
Convert.wellFormedToCpeUri(Part value)
URL encodes the value for CPE 2.2.
|
static String |
Convert.wellFormedToFS(Part value)
Encodes the given value into the CPE 2.3 Formatted String representation.
|
| Modifier and Type | Method and Description |
|---|---|
static Part |
Part.getEnum(String part)
Returns the enumeration value for the given abbreviation.
|
static Part |
Part.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Part[] |
Part.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Copyright © 2018–2025. All rights reserved.