Class CPEFormattedStringName

java.lang.Object
gov.nist.secauto.cpe.naming.util.AbstractCPEName
gov.nist.secauto.cpe.naming.util.CPEFormattedStringName
All Implemented Interfaces:
CPEName

public class CPEFormattedStringName
extends AbstractCPEName
A concrete implementation of a formatted string unbound to a WellFormedName.
  • Constructor Summary

    Constructors 
    Constructor Description
    CPEFormattedStringName​(java.lang.String formattedString)
    Constructs a formatted string bound CPE name based on the provided formatted string.
  • Method Summary

    Modifier and Type Method Description
    java.lang.String toString()
    Gets the underlying WellFormedName as a formatted string.

    Methods inherited from class gov.nist.secauto.cpe.naming.util.AbstractCPEName

    getWellFormedName, toFormattedString, toUri, toUriString

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
  • Constructor Details

    • CPEFormattedStringName

      public CPEFormattedStringName​(java.lang.String formattedString) throws java.text.ParseException
      Constructs a formatted string bound CPE name based on the provided formatted string.
      Parameters:
      formattedString - the formatted string
      Throws:
      java.text.ParseException - if the formatted string is not valid
  • Method Details