| Package | Description |
|---|---|
| us.springett.parsers.cpe |
Suite of CPE building and parsing utilities.
|
| Modifier and Type | Method and Description |
|---|---|
CpeBuilder |
CpeBuilder.edition(LogicalValue edition)
Sets the edition for the CPE entry.
|
CpeBuilder |
CpeBuilder.edition(String edition)
Sets the edition for the CPE entry.
|
CpeBuilder |
CpeBuilder.language(LogicalValue language)
Sets the language for the CPE entry.
|
CpeBuilder |
CpeBuilder.language(String language)
Sets the language for the CPE entry.
|
CpeBuilder |
CpeBuilder.other(LogicalValue other)
Sets the other component for the CPE entry.
|
CpeBuilder |
CpeBuilder.other(String other)
Sets the other component for the CPE entry.
|
CpeBuilder |
CpeBuilder.part(Part part)
Sets the type for the CPE entry: application, operating system, or
hardware.
|
CpeBuilder |
CpeBuilder.part(String part)
Sets the type for the CPE entry: application, operating system, or
hardware.
|
CpeBuilder |
CpeBuilder.product(LogicalValue product)
Sets the product for the CPE entry.
|
CpeBuilder |
CpeBuilder.product(String product)
Sets the product for the CPE entry.
|
CpeBuilder |
CpeBuilder.swEdition(LogicalValue swEdition)
Sets the software edition for the CPE entry.
|
CpeBuilder |
CpeBuilder.swEdition(String swEdition)
Sets the software edition for the CPE entry.
|
CpeBuilder |
CpeBuilder.targetHw(LogicalValue targetHw)
Sets the target hardware environment for the CPE entry.
|
CpeBuilder |
CpeBuilder.targetHw(String targetHw)
Sets the target hardware environment for the CPE entry.
|
CpeBuilder |
CpeBuilder.targetSw(LogicalValue targetSw)
Sets the target software environment for the CPE entry.
|
CpeBuilder |
CpeBuilder.targetSw(String targetSw)
Sets the target software environment for the CPE entry.
|
CpeBuilder |
CpeBuilder.update(LogicalValue update)
Sets the update version for the CPE entry.
|
CpeBuilder |
CpeBuilder.update(String update)
Sets the update version for the CPE entry.
|
CpeBuilder |
CpeBuilder.vendor(LogicalValue vendor)
Sets the vendor for the CPE entry.
|
CpeBuilder |
CpeBuilder.vendor(String vendor)
Sets the vendor for the CPE entry.
|
CpeBuilder |
CpeBuilder.version(LogicalValue version)
Sets the version for the CPE entry.
|
CpeBuilder |
CpeBuilder.version(String version)
Sets the version for the CPE entry.
|
CpeBuilder |
CpeBuilder.wfEdition(String edition)
Sets the edition for the CPE entry as a Well Formed string.
|
CpeBuilder |
CpeBuilder.wfLanguage(String language)
Sets the language for the CPE entry as a Well Formed string.
|
CpeBuilder |
CpeBuilder.wfOther(String other)
Sets the other component for the CPE entry as a Well Formed Name
attribute.
|
CpeBuilder |
CpeBuilder.wfProduct(String product)
Sets the product for the CPE entry as a Well Formed string.
|
CpeBuilder |
CpeBuilder.wfSwEdition(String swEdition)
Sets the software edition for the CPE entry as a Well Formed Name
attribute.
|
CpeBuilder |
CpeBuilder.wfTargetHw(String targetHw)
Sets the target hardware environment for the CPE entry as a Well Formed
Name attribute.
|
CpeBuilder |
CpeBuilder.wfTargetSw(String targetSw)
Sets the target software environment for the CPE entry as a Well Formed
Name attribute.
|
CpeBuilder |
CpeBuilder.wfUpdate(String update)
Sets the update version for the CPE entry as a Well Formed string.
|
CpeBuilder |
CpeBuilder.wfVendor(String vendor)
Sets the vendor for the CPE entry as a Well Formed string.
|
CpeBuilder |
CpeBuilder.wfVersion(String version)
Sets the version for the CPE entry as a Well Formed string.
|
| Modifier and Type | Method and Description |
|---|---|
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.
|
Copyright © 2018–2023. All rights reserved.