Package com.networknt.schema.uri
Interface URIFactory
-
- All Known Implementing Classes:
ClasspathURLFactory,URISchemeFactory,URLFactory
public interface URIFactoryThe URIFactory interface defines howURIs are able to be combined and created.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description URIcreate(String uri)URIcreate(URI baseURI, String segment)
-
-
-
Method Detail
-
create
URI create(String uri)
- Parameters:
uri- Some uri string.- Returns:
- The converted
URI. - Throws:
IllegalArgumentException- if there was a problem creating theURIwith the given data.
-
-