public final class DefaultTransportResourceLocator extends Object implements TransportResourceLocator
TransportResourceLocator. Tries to handle every resource by delegating to a
GlobalResourceLocator.| Constructor and Description |
|---|
DefaultTransportResourceLocator() |
| Modifier and Type | Method and Description |
|---|---|
InputStream |
getResource(String url)
Retrieves a document's content.
|
boolean |
handles(String url)
Given the external document url this method checks if the document can be retrieved by this
TransportResourceLocator
or not. |
public boolean handles(String url)
TransportResourceLocatorTransportResourceLocator
or not.handles in interface TransportResourceLocatorurl - the document's urlpublic InputStream getResource(String url)
TransportResourceLocatorgetResource in interface TransportResourceLocatorurl - the document's urlInputStream representing the document's content.Copyright © 2022. All rights reserved.