|
||||||||||
| 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 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<PlexusIoResource> |
getResources()
Returns an iterator over the resources in the collection. |
| Field Detail |
|---|
static final java.lang.String ROLE
static final java.lang.String DEFAULT_ROLE_HINT
| Method Detail |
|---|
java.util.Iterator<PlexusIoResource> getResources()
throws java.io.IOException
java.io.IOException - .
java.lang.String getName(PlexusIoResource resource)
throws java.io.IOException
resource - A resource, which has been obtained by
calling getResources().
java.io.IOException - .
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 | |||||||||