Package org.sblim.cimclient.internal.uri
Class NamespacePath
- java.lang.Object
-
- org.sblim.cimclient.internal.uri.NamespacePath
-
public class NamespacePath extends java.lang.ObjectnamespacePath = [namespaceType ":"] namespaceHandle namespaceType = ("http" ["s"]) / ("cimxml.wbem" ["s"])
-
-
Constructor Summary
Constructors Modifier Constructor Description NamespacePath(java.lang.String pNamespaceName)Constructs a NamespacePath with namespace name only.protectedNamespacePath(java.lang.String pNamespaceType, NamespaceHandle pNamespaceHandle)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringgetHost()getHostjava.lang.StringgetNamespaceName()getNamespaceNamejava.lang.StringgetNamespaceType()getNamespaceTypejava.lang.StringgetPort()getPortjava.lang.StringgetUserInfo()getUserInfostatic NamespacePathparse(URIString pUriStr)Tries to parse a namespace path from the passeduriStr.java.lang.StringtoString()
-
-
-
Constructor Detail
-
NamespacePath
protected NamespacePath(java.lang.String pNamespaceType, NamespaceHandle pNamespaceHandle)
-
NamespacePath
public NamespacePath(java.lang.String pNamespaceName)
Constructs a NamespacePath with namespace name only.- Parameters:
pNamespaceName-
-
-
Method Detail
-
parse
public static NamespacePath parse(URIString pUriStr)
Tries to parse a namespace path from the passeduriStr.- Parameters:
pUriStr-- Returns:
NamespacePathinstance ornullif failed.
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object- See Also:
Object.toString()
-
getNamespaceType
public java.lang.String getNamespaceType()
getNamespaceType- Returns:
- the namespace type String
-
getNamespaceName
public java.lang.String getNamespaceName()
getNamespaceName- Returns:
- the namespace name String
-
getUserInfo
public java.lang.String getUserInfo()
getUserInfo- Returns:
- String
-
getHost
public java.lang.String getHost()
getHost- Returns:
- String
-
getPort
public java.lang.String getPort()
getPort- Returns:
- String
-
-