public interface UriLocator
| Modifier and Type | Method and Description |
|---|---|
boolean |
accept(String uri)
Check if this uri can be located by concrete implementation.
|
InputStream |
locate(String uri)
Locates the uri by retrieving the InputStream.
|
InputStream locate(String uri) throws IOException
uri - uri to read.IOException - if the resource cannot be read for some reason.boolean accept(String uri)
uri - to read.Copyright © 2008-2014. All Rights Reserved.