|
||||||||||
| 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. |
java.lang.String |
getName(PlexusIoResource resource)
Returns the resources suggested name. |
java.util.Iterator |
getResources()
Returns an iterator over the resources in the collection. |
PlexusIoResourceCollection |
getSrc()
Returns the archive to read. |
void |
setDefaultAttributes(int uid,
java.lang.String userName,
int gid,
java.lang.String groupName,
int fileMode,
int dirMode)
Sets the file and directory attributes to use as defaults. |
void |
setOverrideAttributes(int uid,
java.lang.String userName,
int gid,
java.lang.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 java.util.Iterator getResources()
throws java.io.IOException
PlexusIoResourceCollection
getResources in interface PlexusIoResourceCollectionjava.io.IOException
public java.lang.String getName(PlexusIoResource resource)
throws java.io.IOException
PlexusIoResourceCollection
getName in interface PlexusIoResourceCollectiongetName in class AbstractPlexusIoResourceCollectionresource - A resource, which has been obtained by
calling PlexusIoResourceCollection.getResources().
java.io.IOException
public long getLastModified()
throws java.io.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.
java.io.IOException
public void setDefaultAttributes(int uid,
java.lang.String userName,
int gid,
java.lang.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,
java.lang.String userName,
int gid,
java.lang.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 | |||||||||