@MustImplementEqualsAndHashcode public interface IResourceBase extends Serializable
| Modifier and Type | Method and Description |
|---|---|
boolean |
exists() |
File |
getAsFile() |
URL |
getAsURL() |
String |
getPath() |
String |
getResourceID() |
@Nonnull String getResourceID()
null resource ID used e.g. for system IDs in XML
resolving.boolean exists()
true if the resource exists, false
otherwise.@Nullable URL getAsURL()
null
if this resource cannot be represented as an URL.Copyright © 2014–2017 Philip Helger. All rights reserved.