Package com.polarion.subterra.base
Class SubterraURI
java.lang.Object
com.polarion.subterra.base.SubterraURI
- All Implemented Interfaces:
Serializable
Subterra URI:
subterra:_service_locator_:_service_specific_part_
.- Author:
- Stepan Roh, Polarion Software
- See Also:
-
Field Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
static SubterraURI
fromString
(String uri) The same asgetSubterraURI(String)
, but does not throw a checked exception.Return service specific part asString
.Return service specific part asObject
.static SubterraURI
getSubterraURI
(String uri) static SubterraURI
getSubterraURI
(String serviceLocator, Object serviceSpecificPart) static SubterraURI
getSubterraURI
(URI uri) int
hashCode()
static boolean
isSubterraURI
(String uriStr) static boolean
isSubterraURI
(URI uri) toString()
toURI()
-
Field Details
-
SUBTERRA_URI_SCHEME
- Since:
- 3.7.2
- See Also:
-
-
Method Details
-
getSubterraURI
-
getSubterraURI
- Throws:
URISyntaxException
-
fromString
The same asgetSubterraURI(String)
, but does not throw a checked exception.- Since:
- 3.7.0
-
getSubterraURI
-
isSubterraURI
- Throws:
URISyntaxException
-
isSubterraURI
-
getServerName
-
getServiceName
-
getServiceLocator
-
getServiceSpecificPart
Return service specific part asString
.If
getServiceSpecificPartAsObject()
returnsnull
, this method returns empty string.- Returns:
- service specific part as string (not
null
)
-
getServiceSpecificPartAsObject
Return service specific part asObject
.- Returns:
- service specific part (may be
null
)
-
toURI
-
hashCode
public int hashCode() -
equals
-
toString
-