|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface PlexusIoResourceCollection
A resource collection is a set of PlexusIoResource instances.
| Field Summary | |
|---|---|
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. |
| Method Summary | |
|---|---|
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. |
| Field Detail |
|---|
static final String ROLE
static final String DEFAULT_ROLE_HINT
| Method Detail |
|---|
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 - .
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||