@Immutable public final class URLResourceProvider extends Object implements IReadableResourceProvider
| Constructor and Description |
|---|
URLResourceProvider() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o) |
IReadableResource |
getReadableResource(String sURL)
Get the resource specified by the given name for reading.
|
int |
hashCode() |
boolean |
supportsReading(String sName)
Check if this resource provider can handle the resource with the passed
name.
|
String |
toString() |
clone, finalize, getClass, notify, notifyAll, wait, wait, waitgetInputStreampublic boolean supportsReading(@Nullable String sName)
IReadableResourceProvidertrue.supportsReading in interface IReadableResourceProvidersName - The name to check. May be null.true if the name is not null and can be
handled by this provider, false otherwise.public IReadableResource getReadableResource(@Nonnull String sURL)
IReadableResourceProvidergetReadableResource in interface IReadableResourceProvidersURL - The name of the resource to resolve.null.Copyright © 2014–2019 Philip Helger. All rights reserved.