public interface ResourceAccessor
Modifier and Type | Method and Description |
---|---|
java.io.InputStream |
createInputStream(java.net.URI uri)
Creates a new
InputStream for the given URI that allows read access to an external
resource. |
java.io.InputStream createInputStream(java.net.URI uri) throws java.io.IOException
InputStream
for the given URI that allows read access to an external
resource.uri
- the URI of an external resource.java.io.IOException
- if an I/O error occurs while opening the resourceCopyright 1999-2010 The Apache Software Foundation. All Rights Reserved.