|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface UriLocator
Describes a way to locate the stream associated with some uri.
Defines a contract for classes which are able to read a uri, by returning the
corresponding InputStream.
| Method Summary | |
|---|---|
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. |
| Method Detail |
|---|
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.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||