- compareAttribute(Part, Part) - Static method in class us.springett.parsers.cpe.Cpe
-
- compareAttribute(String, String) - Static method in class us.springett.parsers.cpe.Cpe
-
- compareAttributes(Part, Part) - Static method in class us.springett.parsers.cpe.Cpe
-
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.
- compareAttributes(String, String) - Static method in class us.springett.parsers.cpe.Cpe
-
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.
- compareTo(Object) - Method in class us.springett.parsers.cpe.Cpe
-
CompareTo is used for sorting, this does not implement any CPE Matching
rules.
- compareVersions(String, String) - Static method in class us.springett.parsers.cpe.Cpe
-
Compare version numbers to obtain the correct ordering.
- component(String) - Static method in class us.springett.parsers.cpe.util.Validate
-
Validates the component to ensure it meets the CPE 2.3 specification of
allowed values.
- Convert - Class in us.springett.parsers.cpe.util
-
Set of methods to encode and decode text based on the CPE specification.
- Cpe - Class in us.springett.parsers.cpe
-
Object representation of a Common Platform Enumeration (CPE).
- Cpe(Part, String, String, String, String, String, String, String, String, String, String) - Constructor for class us.springett.parsers.cpe.Cpe
-
Constructs a new immutable CPE object that represents the Well Form Named
defined in the CPE 2.3 specification.
- cpe(String) - Static method in class us.springett.parsers.cpe.util.Validate
-
Validates the given CPE string value to ensure it is either a valid CPE
URI or Formatted String.
- Cpe23PartIterator - Class in us.springett.parsers.cpe.internal.util
-
A utility that will tokenize and iterate over a CPE v2.3 string and return
the components sequentially.
- Cpe23PartIterator(String) - Constructor for class us.springett.parsers.cpe.internal.util.Cpe23PartIterator
-
Constructs a new CPE Formated String Iterator.
- CpeBuilder - Class in us.springett.parsers.cpe
-
A builder for CPE objects.
- CpeBuilder() - Constructor for class us.springett.parsers.cpe.CpeBuilder
-
- CpeEncodingException - Exception in us.springett.parsers.cpe.exceptions
-
Exception used when encoding/decoding CPE values.
- CpeEncodingException(String) - Constructor for exception us.springett.parsers.cpe.exceptions.CpeEncodingException
-
Constructs a new exception with the specified detail message.
- CpeEncodingException(String, Exception) - Constructor for exception us.springett.parsers.cpe.exceptions.CpeEncodingException
-
Constructs a new exception with the specified detail message and cause.
- CpeParser - Class in us.springett.parsers.cpe
-
A Common Platform Enumeration (CPE) parser.
- CpeParsingException - Exception in us.springett.parsers.cpe.exceptions
-
Exception used when parsing CPE strings.
- CpeParsingException(String) - Constructor for exception us.springett.parsers.cpe.exceptions.CpeParsingException
-
Constructs a new exception with the specified detail message.
- CpeParsingException(String, Exception) - Constructor for exception us.springett.parsers.cpe.exceptions.CpeParsingException
-
Constructs a new exception with the specified detail message and cause.
- cpeUri(String) - Static method in class us.springett.parsers.cpe.util.Validate
-
Validates the CPE URI against the CPE 2.2 specification.
- cpeUriToWellFormed(String) - Static method in class us.springett.parsers.cpe.util.Convert
-
CPE URI decodes the value into a well formed string.
- cpeUriToWellFormed(String, boolean) - Static method in class us.springett.parsers.cpe.util.Convert
-
CPE URI decodes the value into a well formed string.
- CpeValidationException - Exception in us.springett.parsers.cpe.exceptions
-
Exception used when validating CPE strings.
- CpeValidationException(String) - Constructor for exception us.springett.parsers.cpe.exceptions.CpeValidationException
-
Constructs a new exception with the specified detail message.
- CpeValidationException(String, Exception) - Constructor for exception us.springett.parsers.cpe.exceptions.CpeValidationException
-
Constructs a new exception with the specified detail message and cause.
- getAbbreviation() - Method in enum us.springett.parsers.cpe.values.LogicalValue
-
Gets the component abbreviation for the logical value.
- getAbbreviation() - Method in enum us.springett.parsers.cpe.values.Part
-
Gets the abbreviation for the part component.
- getEdition() - Method in class us.springett.parsers.cpe.Cpe
-
Gets the edition for the CPE entry.
- getEdition() - Method in class us.springett.parsers.cpe.CpeBuilder
-
Get the value of edition.
- getEdition() - Method in interface us.springett.parsers.cpe.ICpe
-
Gets the edition for the CPE entry.
- getEnum(String) - Static method in enum us.springett.parsers.cpe.values.Part
-
Returns the enumeration value for the given abbreviation.
- getLanguage() - Method in class us.springett.parsers.cpe.Cpe
-
Gets the language for the CPE entry.
- getLanguage() - Method in class us.springett.parsers.cpe.CpeBuilder
-
Get the value of language.
- getLanguage() - Method in interface us.springett.parsers.cpe.ICpe
-
Gets the language for the CPE entry.
- getMessage() - Method in enum us.springett.parsers.cpe.util.Status
-
Gets the status message.
- getOther() - Method in class us.springett.parsers.cpe.Cpe
-
Gets the other component for the CPE entry.
- getOther() - Method in class us.springett.parsers.cpe.CpeBuilder
-
Get the value of other.
- getOther() - Method in interface us.springett.parsers.cpe.ICpe
-
Gets the other component for the CPE entry.
- getPart() - Method in class us.springett.parsers.cpe.Cpe
-
Gets the part for the CPE entry.
- getPart() - Method in class us.springett.parsers.cpe.CpeBuilder
-
Get the value of part.
- getPart() - Method in interface us.springett.parsers.cpe.ICpe
-
Gets the part for the CPE entry.
- getProduct() - Method in class us.springett.parsers.cpe.Cpe
-
Gets the product for the CPE entry.
- getProduct() - Method in class us.springett.parsers.cpe.CpeBuilder
-
Get the value of product.
- getProduct() - Method in interface us.springett.parsers.cpe.ICpe
-
Gets the product for the CPE entry.
- getSwEdition() - Method in class us.springett.parsers.cpe.Cpe
-
Gets the software edition for the CPE entry.
- getSwEdition() - Method in class us.springett.parsers.cpe.CpeBuilder
-
Get the value of swEdition.
- getSwEdition() - Method in interface us.springett.parsers.cpe.ICpe
-
Gets the software edition for the CPE entry.
- getTargetHw() - Method in class us.springett.parsers.cpe.Cpe
-
Gets the target hardware environment for the CPE entry.
- getTargetHw() - Method in class us.springett.parsers.cpe.CpeBuilder
-
Get the value of targetHw.
- getTargetHw() - Method in interface us.springett.parsers.cpe.ICpe
-
Gets the target hardware environment for the CPE entry.
- getTargetSw() - Method in class us.springett.parsers.cpe.Cpe
-
Gets the target software environment for the CPE entry.
- getTargetSw() - Method in class us.springett.parsers.cpe.CpeBuilder
-
Get the value of targetSw.
- getTargetSw() - Method in interface us.springett.parsers.cpe.ICpe
-
Gets the target software environment for the CPE entry.
- getUpdate() - Method in class us.springett.parsers.cpe.Cpe
-
Gets the update for the CPE entry.
- getUpdate() - Method in class us.springett.parsers.cpe.CpeBuilder
-
Get the value of update.
- getUpdate() - Method in interface us.springett.parsers.cpe.ICpe
-
Gets the update for the CPE entry.
- getVendor() - Method in class us.springett.parsers.cpe.Cpe
-
Gets the vendor for the CPE entry.
- getVendor() - Method in class us.springett.parsers.cpe.CpeBuilder
-
Get the value of vendor.
- getVendor() - Method in interface us.springett.parsers.cpe.ICpe
-
Gets the vendor for the CPE entry.
- getVersion() - Method in class us.springett.parsers.cpe.Cpe
-
Gets the version for the CPE entry.
- getVersion() - Method in class us.springett.parsers.cpe.CpeBuilder
-
Get the value of version.
- getVersion() - Method in interface us.springett.parsers.cpe.ICpe
-
Gets the version for the CPE entry.
- getWellFormedEdition() - Method in class us.springett.parsers.cpe.Cpe
-
Gets the well formed formatted edition for the CPE entry.
- getWellFormedEdition() - Method in interface us.springett.parsers.cpe.ICpe
-
Gets the well formed formatted edition for the CPE entry.
- getWellFormedLanguage() - Method in class us.springett.parsers.cpe.Cpe
-
Gets the well formed formatted language for the CPE entry.
- getWellFormedLanguage() - Method in interface us.springett.parsers.cpe.ICpe
-
Gets the well formed formatted language for the CPE entry.
- getWellFormedOther() - Method in class us.springett.parsers.cpe.Cpe
-
Gets the well formed formatted other component for the CPE entry.
- getWellFormedOther() - Method in interface us.springett.parsers.cpe.ICpe
-
Gets the well formed formatted other component for the CPE entry.
- getWellFormedProduct() - Method in class us.springett.parsers.cpe.Cpe
-
Gets the well formed formatted product for the CPE entry.
- getWellFormedProduct() - Method in interface us.springett.parsers.cpe.ICpe
-
Gets the well formed formatted product for the CPE entry.
- getWellFormedSwEdition() - Method in class us.springett.parsers.cpe.Cpe
-
Gets the well formed formatted software edition for the CPE entry.
- getWellFormedSwEdition() - Method in interface us.springett.parsers.cpe.ICpe
-
Gets the well formed formatted software edition for the CPE entry.
- getWellFormedTargetHw() - Method in class us.springett.parsers.cpe.Cpe
-
Gets the well formed formatted target hardware environment for the CPE
entry.
- getWellFormedTargetHw() - Method in interface us.springett.parsers.cpe.ICpe
-
Gets the well formed formatted target hardware environment for the CPE
entry.
- getWellFormedTargetSw() - Method in class us.springett.parsers.cpe.Cpe
-
Gets the well formed formatted target software environment for the CPE
entry.
- getWellFormedTargetSw() - Method in interface us.springett.parsers.cpe.ICpe
-
Gets the well formed formatted target software environment for the CPE
entry.
- getWellFormedUpdate() - Method in class us.springett.parsers.cpe.Cpe
-
Gets the well formed formatted update for the CPE entry.
- getWellFormedUpdate() - Method in interface us.springett.parsers.cpe.ICpe
-
Gets the well formed formatted update for the CPE entry.
- getWellFormedVendor() - Method in class us.springett.parsers.cpe.Cpe
-
Gets the well formed formatted vendor for the CPE entry.
- getWellFormedVendor() - Method in interface us.springett.parsers.cpe.ICpe
-
Gets the well formed formatted vendor for the CPE entry.
- getWellFormedVersion() - Method in class us.springett.parsers.cpe.Cpe
-
Gets the well formed formatted version for the CPE entry.
- getWellFormedVersion() - Method in interface us.springett.parsers.cpe.ICpe
-
Gets the well formed formatted version for the CPE entry.
- parse(String) - Static method in class us.springett.parsers.cpe.CpeParser
-
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.
- parse(String, boolean) - Static method in class us.springett.parsers.cpe.CpeParser
-
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.
- parse22(String) - Static method in class us.springett.parsers.cpe.CpeParser
-
Parses a CPE 2.2 URI.
- parse22(String, boolean) - Static method in class us.springett.parsers.cpe.CpeParser
-
Parses a CPE 2.2 URI.
- parse23(String) - Static method in class us.springett.parsers.cpe.CpeParser
-
Parses a CPE 2.3 Formatted String.
- parse23(String, boolean) - Static method in class us.springett.parsers.cpe.CpeParser
-
Parses a CPE 2.3 Formatted String.
- part(Part) - Method in class us.springett.parsers.cpe.CpeBuilder
-
Sets the type for the CPE entry: application, operating system, or
hardware.
- part(String) - Method in class us.springett.parsers.cpe.CpeBuilder
-
Sets the type for the CPE entry: application, operating system, or
hardware.
- Part - Enum in us.springett.parsers.cpe.values
-
The part type for a CPE entry: application, operating system, hardware, any,
or NA.
- product(String) - Method in class us.springett.parsers.cpe.CpeBuilder
-
Sets the product for the CPE entry.
- product(LogicalValue) - Method in class us.springett.parsers.cpe.CpeBuilder
-
Sets the product for the CPE entry.
- Validate - Class in us.springett.parsers.cpe.util
-
Validation utility to validate CPE URI, Formated Strings, and the individual
attributes of a CPE.
- valueOf(String) - Static method in enum us.springett.parsers.cpe.util.Relation
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum us.springett.parsers.cpe.util.Status
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum us.springett.parsers.cpe.values.LogicalValue
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum us.springett.parsers.cpe.values.Part
-
Returns the enum constant of this type with the specified name.
- values() - Static method in enum us.springett.parsers.cpe.util.Relation
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum us.springett.parsers.cpe.util.Status
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum us.springett.parsers.cpe.values.LogicalValue
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum us.springett.parsers.cpe.values.Part
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- vendor(String) - Method in class us.springett.parsers.cpe.CpeBuilder
-
Sets the vendor for the CPE entry.
- vendor(LogicalValue) - Method in class us.springett.parsers.cpe.CpeBuilder
-
Sets the vendor for the CPE entry.
- version(String) - Method in class us.springett.parsers.cpe.CpeBuilder
-
Sets the version for the CPE entry.
- version(LogicalValue) - Method in class us.springett.parsers.cpe.CpeBuilder
-
Sets the version for the CPE entry.
- wellFormedToCpeUri(Part) - Static method in class us.springett.parsers.cpe.util.Convert
-
URL encodes the value for CPE 2.2.
- wellFormedToCpeUri(String) - Static method in class us.springett.parsers.cpe.util.Convert
-
CPE URL encodes the well formed string.
- wellFormedToFS(Part) - Static method in class us.springett.parsers.cpe.util.Convert
-
Encodes the given value into the CPE 2.3 Formatted String representation.
- wellFormedToFS(String) - Static method in class us.springett.parsers.cpe.util.Convert
-
Transforms a Well Formed string into a formatted string (see CPE 2.3
specification).
- wellFormedToPattern(String) - Static method in class us.springett.parsers.cpe.util.Convert
-
Converts a well formed string into a regular expression pattern.
- wfEdition(String) - Method in class us.springett.parsers.cpe.CpeBuilder
-
Sets the edition for the CPE entry as a Well Formed string.
- wfLanguage(String) - Method in class us.springett.parsers.cpe.CpeBuilder
-
Sets the language for the CPE entry as a Well Formed string.
- wfOther(String) - Method in class us.springett.parsers.cpe.CpeBuilder
-
Sets the other component for the CPE entry as a Well Formed Name
attribute.
- wfProduct(String) - Method in class us.springett.parsers.cpe.CpeBuilder
-
Sets the product for the CPE entry as a Well Formed string.
- wfSwEdition(String) - Method in class us.springett.parsers.cpe.CpeBuilder
-
Sets the software edition for the CPE entry as a Well Formed Name
attribute.
- wfTargetHw(String) - Method in class us.springett.parsers.cpe.CpeBuilder
-
Sets the target hardware environment for the CPE entry as a Well Formed
Name attribute.
- wfTargetSw(String) - Method in class us.springett.parsers.cpe.CpeBuilder
-
Sets the target software environment for the CPE entry as a Well Formed
Name attribute.
- wfUpdate(String) - Method in class us.springett.parsers.cpe.CpeBuilder
-
Sets the update version for the CPE entry as a Well Formed string.
- wfVendor(String) - Method in class us.springett.parsers.cpe.CpeBuilder
-
Sets the vendor for the CPE entry as a Well Formed string.
- wfVersion(String) - Method in class us.springett.parsers.cpe.CpeBuilder
-
Sets the version for the CPE entry as a Well Formed string.