org.sblim.cimclient.internal.cim

Class CIMHelper

public abstract class CIMHelper extends Object

Class CIMHelper provides convenience methods that are missing from the official JSR48 API
Method Summary
static URIcreateCimomUri(CIMObjectPath pPath)
Creates a URI of a CIMOM from a given CIM object path, adding default port if port not parsable.
static URIcreateCimomUri(URI pUri)
Creates a URI of a CIMOM from a given URI, adding default port if port not specified.

Method Detail

createCimomUri

public static URI createCimomUri(CIMObjectPath pPath)
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: URISyntaxException

createCimomUri

public static URI createCimomUri(URI pUri)
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: URISyntaxException

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