public interface PlexusIoResourceCollection
PlexusIoResource
instances.Modifier and Type | Field and Description |
---|---|
static String |
DEFAULT_ROLE_HINT
Role hint of the default resource collection, which is a set
of files in a base directory.
|
static String |
ROLE
Role of the ResourceCollection component.
|
Modifier and Type | Method and Description |
---|---|
long |
getLastModified()
Returns the collections last modification time.
|
String |
getName(PlexusIoResource resource)
Returns the resources suggested name.
|
Iterator<PlexusIoResource> |
getResources()
Returns an iterator over the resources in the collection.
|
static final String ROLE
static final String DEFAULT_ROLE_HINT
Iterator<PlexusIoResource> getResources() throws IOException
IOException
- .String getName(PlexusIoResource resource) throws IOException
resource
- A resource, which has been obtained by
calling getResources()
.IOException
- .long getLastModified() throws IOException
PlexusIoResource.UNKNOWN_MODIFICATION_DATE
,
if the collections last modification time is unknown,
otherwise the last modification time in milliseconds.IOException
- .Copyright © 2001-2013 Codehaus. All Rights Reserved.