public class DelegatingResource extends Object implements Resource
| Constructor and Description |
|---|
DelegatingResource(Resource resource) |
| Modifier and Type | Method and Description |
|---|---|
String |
getDisplayName()
Returns a display name for this resource.
|
boolean |
getExists()
Returns true if this resource exists, false if it does not exist.
|
File |
getFile()
Returns a file representing this resource.
|
Resource |
getResource() |
String |
getText()
Returns the content of this resource, as a String.
|
URI |
getURI()
Returns the URI for this resource.
|
public DelegatingResource(Resource resource)
public Resource getResource()
public String getDisplayName()
ResourcegetDisplayName in interface Resourcepublic File getFile()
Resourcepublic URI getURI()
Resourcepublic boolean getExists()
ResourceCopyright © 2013. All rights reserved