org.sblim.cimclient.internal.cim
Class CIMHelper

java.lang.Object
  extended by org.sblim.cimclient.internal.cim.CIMHelper

public abstract class CIMHelper
extends java.lang.Object

Class CIMHelper provides convenience methods that are missing from the official JSR48 API


Method Summary
static java.net.URI createCimomUri(CIMObjectPath pPath)
          Creates a URI of a CIMOM from a given CIM object path, adding default port if port not parsable.
static java.net.URI createCimomUri(java.net.URI pUri)
          Creates a URI of a CIMOM from a given URI, adding default port if port not specified.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

createCimomUri

public static java.net.URI createCimomUri(CIMObjectPath pPath)
                                   throws java.net.URISyntaxException
Creates a URI of a CIMOM from a given CIM object path, adding default port if port not parsable.

Parameters:
pPath - The CIM object path.
Returns:
The URI.
Throws:
java.net.URISyntaxException

createCimomUri

public static java.net.URI createCimomUri(java.net.URI pUri)
                                   throws java.net.URISyntaxException
Creates a URI of a CIMOM from a given URI, adding default port if port not specified.

Parameters:
pUri - The URI.
Returns:
The URI.
Throws:
java.net.URISyntaxException


Copyright © 2005, 2011 IBM Corporation. All Rights Reserved.