|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.codehaus.plexus.components.io.resources.AbstractPlexusIoResourceCollection
org.codehaus.plexus.components.io.resources.proxy.PlexusIoProxyResourceCollection
public class PlexusIoProxyResourceCollection
Implementation of PlexusIoResourceCollection for an archives contents.
| Field Summary |
|---|
| Fields inherited from interface org.codehaus.plexus.components.io.resources.PlexusIoResourceCollection |
|---|
DEFAULT_ROLE_HINT, ROLE |
| Constructor Summary | |
|---|---|
PlexusIoProxyResourceCollection()
|
|
| Method Summary | |
|---|---|
protected FileSelector |
getDefaultFileSelector()
|
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. |
PlexusIoResourceCollection |
getSrc()
Returns the archive to read. |
void |
setDefaultAttributes(int uid,
String userName,
int gid,
String groupName,
int fileMode,
int dirMode)
Sets the file and directory attributes to use as defaults. |
void |
setOverrideAttributes(int uid,
String userName,
int gid,
String groupName,
int fileMode,
int dirMode)
Sets the file and directory attributes to use as overrides. |
void |
setSrc(PlexusIoResourceCollection src)
Sets the archive to read. |
| Methods inherited from class org.codehaus.plexus.components.io.resources.AbstractPlexusIoResourceCollection |
|---|
enableLogging, getExcludes, getFileMappers, getFileSelectors, getIncludes, getLogger, getPrefix, isCaseSensitive, isIncludingEmptyDirectories, isSelected, isUsingDefaultExcludes, setCaseSensitive, setExcludes, setFileMappers, setFileSelectors, setIncludes, setIncludingEmptyDirectories, setPrefix, setUsingDefaultExcludes |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public PlexusIoProxyResourceCollection()
| Method Detail |
|---|
public void setSrc(PlexusIoResourceCollection src)
public PlexusIoResourceCollection getSrc()
protected FileSelector getDefaultFileSelector()
public Iterator<PlexusIoResource> getResources()
throws IOException
PlexusIoResourceCollection
getResources in interface PlexusIoResourceCollectionIOException - .
public String getName(PlexusIoResource resource)
throws IOException
PlexusIoResourceCollection
getName in interface PlexusIoResourceCollectiongetName in class AbstractPlexusIoResourceCollectionresource - A resource, which has been obtained by
calling PlexusIoResourceCollection.getResources().
IOException - .
public long getLastModified()
throws IOException
PlexusIoResourceCollection
getLastModified in interface PlexusIoResourceCollectiongetLastModified in class AbstractPlexusIoResourceCollectionPlexusIoResource.UNKNOWN_MODIFICATION_DATE,
if the collections last modification time is unknown,
otherwise the last modification time in milliseconds.
IOException - .
public void setDefaultAttributes(int uid,
String userName,
int gid,
String groupName,
int fileMode,
int dirMode)
PlexusIOResourceCollectionWithAttributes
setDefaultAttributes in interface PlexusIOResourceCollectionWithAttributesfileMode - The octal mode to use for filesdirMode - The octal mode to use for directories
public void setOverrideAttributes(int uid,
String userName,
int gid,
String groupName,
int fileMode,
int dirMode)
PlexusIOResourceCollectionWithAttributes
setOverrideAttributes in interface PlexusIOResourceCollectionWithAttributesfileMode - The octal mode to use for filesdirMode - The octal mode to use for directories
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||