Package org.smooks.support
Class URIUtil
- java.lang.Object
- 
- org.smooks.support.URIUtil
 
- 
 public abstract class URIUtil extends Object URIutility methods.- Author:
- tom.fennelly@gmail.com
 
- 
- 
Constructor SummaryConstructors Constructor Description URIUtil()
 - 
Method SummaryAll Methods Static Methods Concrete Methods Modifier and Type Method Description static URIgetParent(URI uri)Get the parent URI of the supplied URI
 
- 
- 
- 
Method Detail- 
getParentpublic static URI getParent(URI uri) throws URISyntaxException Get the parent URI of the supplied URI- Parameters:
- uri- The input URI for which the parent URI is being requrested.
- Returns:
- The parent URI. Returns a URI instance equivalent to "../" if the supplied URI path has no parent.
- Throws:
- URISyntaxException- Failed to reconstruct the parent URI.
 
 
- 
 
-