Package org.sblim.cimclient.internal.uri
Class URI
java.lang.Object
org.sblim.cimclient.internal.uri.URI
untypedNamespacePath = namespacePath untypedClassPath = namespacePath ":" className untypedInstancePath = namespacePath ":" className "." key_value_pairs typedNamespacePath = namespacePath "/(namespace)" typedClassPath = namespacePath "/(class)" className typedInstancePath = namespacePath "/(instance)" className "." typed_key_value_pairs
-
Method Summary
Modifier and TypeMethodDescriptiongetClassNamegetHost()
getHost Userinfo is attached if exists.getKeyValuePairsgetNamespaceNamegetNamespaceTypegetPort()
getPortgetUserInfostatic URI
parsestatic URI
referenceValue = [ namespaceName ":" ] className "." untyped_key_value_pairs typed_reference_value = "(reference)" "\"" typedReferenceValue "\"" // according to Alexander we have to support instance references only typedReferenceValue = [ namespaceName ] "/(instance)" className "." typed_key_value_pairstoString()
-
Method Details
-
parse
parse- Parameters:
pUri
-- Returns:
- URI
- Throws:
IllegalArgumentException
- if parsing failed.
-
parseRef
referenceValue = [ namespaceName ":" ] className "." untyped_key_value_pairs typed_reference_value = "(reference)" "\"" typedReferenceValue "\"" // according to Alexander we have to support instance references only typedReferenceValue = [ namespaceName ] "/(instance)" className "." typed_key_value_pairs
- Parameters:
pUriStr
-pTyped
-- Returns:
- URI
- Throws:
IllegalArgumentException
- if parsing failed
-
getNamespaceType
getNamespaceType- Returns:
- String or null if not set
-
getNamespaceName
getNamespaceName- Returns:
- String or null if not set
-
getUserInfo
getUserInfo- Returns:
- String or null if not set
-
getHost
getHost Userinfo is attached if exists.- Returns:
- String or null if not set
-
getPort
getPort- Returns:
- String or null if not set
-
getClassName
getClassName- Returns:
- String or null if not set
-
getKeyValuePairs
getKeyValuePairs- Returns:
- KeyValuePairs or null if not set
-
toString
-