|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
A resource collection is a set of PlexusIoResource instances.
| Field Summary | |
static java.lang.String |
DEFAULT_ROLE_HINT
Role hint of the default resource collection, which is a set of files in a base directory. |
static java.lang.String |
ROLE
Role of the ResourceCollection component. |
| Method Summary | |
long |
getLastModified()
Returns the collections last modification time. |
java.lang.String |
getName(PlexusIoResource resource)
Returns the resources suggested name. |
java.util.Iterator |
getResources()
Returns an iterator over the resources in the collection. |
| Field Detail |
public static final java.lang.String ROLE
public static final java.lang.String DEFAULT_ROLE_HINT
| Method Detail |
public java.util.Iterator getResources()
throws java.io.IOException
java.io.IOException
public java.lang.String getName(PlexusIoResource resource)
throws java.io.IOException
resource - A resource, which has been obtained by
calling getResources().
java.io.IOException
public long getLastModified()
throws java.io.IOException
PlexusIoResource.UNKNOWN_MODIFICATION_DATE,
if the collections last modification time is unknown,
otherwise the last modification time in milliseconds.
java.io.IOException
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||