| Package | Description |
|---|---|
| us.springett.parsers.cpe |
Suite of CPE building and parsing utilities.
|
| us.springett.parsers.cpe.internal.util |
Internal 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 |
|---|---|
static Cpe |
CpeParser.parse(String cpeString)
Parses a CPE String into an object; the string can be formated as either
a CPE 2.2 URI or CPE 2.3 Formatted String.
|
static Cpe |
CpeParser.parse(String cpeString,
boolean lenient)
Parses a CPE String into an object with the option of parsing CPE 2.2 URI
strings in lenient mode - allowing for CPE values that do not adhere to
the specification.
|
protected static Cpe |
CpeParser.parse22(String cpeString)
Parses a CPE 2.2 URI.
|
protected static Cpe |
CpeParser.parse22(String cpeString,
boolean lenient)
Parses a CPE 2.2 URI.
|
protected static Cpe |
CpeParser.parse23(String cpeString)
Parses a CPE 2.3 Formatted String.
|
protected static Cpe |
CpeParser.parse23(String cpeString,
boolean lenient)
Parses a CPE 2.3 Formatted String.
|
CpeBuilder |
CpeBuilder.part(String part)
Sets the type for the CPE entry: application, operating system, or
hardware.
|
protected static void |
CpeParser.unpackEdition(String edition,
CpeBuilder cb,
boolean lenient)
In a CPE 2.2 URI the new fields from CPE 2.3 may be "packed" into the
edition field.
|
| Constructor and Description |
|---|
Cpe23PartIterator(String cpe)
Constructs a new CPE Formated String Iterator.
|
| Modifier and Type | Method and Description |
|---|---|
static Part |
Part.getEnum(String part)
Returns the enumeration value for the given abbreviation.
|
Copyright © 2018–2025. All rights reserved.