public class AggregationResource extends AbstractResourceBase
Constructor and Description |
---|
AggregationResource(URI facadeUri,
List<IResource> resources) |
Modifier and Type | Method and Description |
---|---|
boolean |
exists()
Returns true if the resource exists.
|
InputStream |
getInputStream()
Returns a
InputStream object for the resource if the resource
is not a directory/folder resource. |
Reader |
getReader()
Returns a
Reader object for the resource if the resource is not a
directory/folder resource. |
long |
lastModified()
Returns the last-modified date of the resource.
|
asVisitorResource, getPath, getReferenceURI, getSize, getURI, isFolder, resolve, setReferenceURI, walkTree
public boolean exists()
IResource
exists
in interface IResource
exists
in class AbstractResourceBase
public long lastModified()
IResource
lastModified
in interface IResource
lastModified
in class AbstractResourceBase
public Reader getReader() throws IOException
IResource
Reader
object for the resource if the resource is not a
directory/folder resource.IOException
- if the resource is a folder, or an I/O error occurredpublic InputStream getInputStream() throws IOException
IResource
InputStream
object for the resource if the resource
is not a directory/folder resource.IOException
- if the resource is a folder, or an I/O error occurredCopyright © 2011-2015 IBM. All Rights Reserved.