public class UriResource extends Object implements Resource
| Constructor and Description |
|---|
UriResource(String description,
File sourceFile) |
UriResource(String description,
URI sourceUri) |
| 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.
|
String |
getText()
Returns the content of this resource, as a String.
|
URI |
getURI()
Returns the URI for this resource.
|
public String getDisplayName()
ResourcegetDisplayName in interface Resourcepublic String getText()
Resourcepublic boolean getExists()
Resourcepublic File getFile()
ResourceCopyright © 2013. All rights reserved