org.mitre.cpe.naming
Class CPENameUnbinder
java.lang.Object
org.mitre.cpe.naming.CPENameUnbinder
public class CPENameUnbinder
- extends java.lang.Object
The CPENameUnBinder class is a simple implementation
of the CPE Name unbinding algorithm, as specified in the
CPE Naming Standard version 2.3.
- See Also:
- cpe.mitre.org for more information.
Method Summary |
static void |
main(java.lang.String[] args)
|
WellFormedName |
unbindFS(java.lang.String fs)
Top level function to unbind a formatted string to WFN. |
WellFormedName |
unbindURI(java.lang.String uri)
Top level function used to unbind a URI to a WFN. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CPENameUnbinder
public CPENameUnbinder()
unbindURI
public WellFormedName unbindURI(java.lang.String uri)
throws java.text.ParseException
- Top level function used to unbind a URI to a WFN.
- Parameters:
uri
- String representing the URI to be unbound.
- Returns:
- WellFormedName representing the unbound URI.
- Throws:
java.text.ParseException
unbindFS
public WellFormedName unbindFS(java.lang.String fs)
throws java.text.ParseException
- Top level function to unbind a formatted string to WFN.
- Parameters:
fs
- Formatted string to unbind
- Returns:
- WellFormedName
- Throws:
java.text.ParseException
main
public static void main(java.lang.String[] args)
throws java.text.ParseException,
java.io.IOException
- Throws:
java.text.ParseException
java.io.IOException