public class URIResource extends AbstractIoResource<URI>
BY_NAME_COMPARATOR, NAME_EXTRACTOR
Constructor and Description |
---|
URIResource(URI uri) |
Modifier and Type | Method and Description |
---|---|
URI |
getURI() |
InputStream |
openInputStream() |
getName, getResourceType, getResourceValue, toString
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
forResource
findByName, getNameList, getNames, ofName, removeByName
public URIResource(URI uri)
public URI getURI()
public InputStream openInputStream() throws IOException
InputStream
for the resource's dataIOException
- If failed to open the streamCopyright © 2008–2022 The Apache Software Foundation. All rights reserved.