Class CPEFactory

java.lang.Object
gov.nist.secauto.cpe.naming.util.CPEFactory

public class CPEFactory
extends java.lang.Object
This factory creates new CPEName instances that represent unbound CPE URIs or formatted strings.
  • Method Summary

    Modifier and Type Method Description
    static CPEName newCPEName​(java.lang.String name)
    Creates a new CPEName instance based on the unbound form provided by the argument.

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Method Details

    • newCPEName

      public static CPEName newCPEName​(java.lang.String name) throws java.text.ParseException
      Creates a new CPEName instance based on the unbound form provided by the argument.
      Parameters:
      name - an unbound CPE Name
      Returns:
      a CPEName instance representing the provided name
      Throws:
      java.text.ParseException - if the name argument is malformed