public class URIUtils extends Object
Modifier and Type | Method and Description |
---|---|
static boolean |
isFileResource(String resourceURI)
Returns
true if the given URL is a file resource,
false otherwise. |
static String |
sanitizingUri(String uri)
Returns a well folder URI which ends with '/' according the URI specification
https://tools.ietf.org/html/rfc3986#section-6 which is used with Xerces
XMLEntityManager#expandSystemId
|
public static boolean isFileResource(String resourceURI)
true
if the given URL is a file resource,
false
otherwise.resourceURI
- true
if the given URL is a file resource, false
otherwise.public static String sanitizingUri(String uri)
uri
- Copyright © 2020. All rights reserved.