public class PlexusIoProxyResourceCollection extends AbstractPlexusIoResourceCollectionWithAttributes
PlexusIoResourceCollection for an archives contents.identityTransformerDEFAULT_ROLE_HINT, ROLE| Constructor and Description |
|---|
PlexusIoProxyResourceCollection(PlexusIoResourceCollection src) |
| Modifier and Type | Method and Description |
|---|---|
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) |
void |
setOverrideAttributes(int uid,
String userName,
int gid,
String groupName,
int fileMode,
int dirMode) |
getDefaultDirAttributes, getDefaultFileAttributes, getOverrideDirAttributes, getOverrideFileAttributes, setDefaultDirAttributes, setDefaultFileAttributes, setOverrideDirAttributes, setOverrideFileAttributesgetExcludes, getFileMappers, getFileSelectors, getIncludes, getInputStream, getPrefix, getStreamTransformer, isCaseSensitive, isIncludingEmptyDirectories, isSelected, isUsingDefaultExcludes, iterator, setCaseSensitive, setExcludes, setFileMappers, setFileSelectors, setIncludes, setIncludingEmptyDirectories, setPrefix, setStreamTransformer, setUsingDefaultExcludespublic PlexusIoProxyResourceCollection(@Nonnull
PlexusIoResourceCollection src)
public PlexusIoResourceCollection getSrc()
public void setDefaultAttributes(int uid,
String userName,
int gid,
String groupName,
int fileMode,
int dirMode)
public void setOverrideAttributes(int uid,
String userName,
int gid,
String groupName,
int fileMode,
int dirMode)
protected FileSelector getDefaultFileSelector()
public Iterator<PlexusIoResource> getResources() throws IOException
PlexusIoResourceCollectionIOException - .public String getName(PlexusIoResource resource) throws IOException
PlexusIoResourceCollectiongetName in interface PlexusIoResourceCollectiongetName in class AbstractPlexusIoResourceCollectionresource - A resource, which has been obtained by
calling PlexusIoResourceCollection.getResources().IOException - .public long getLastModified()
throws IOException
PlexusIoResourceCollectiongetLastModified 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 - .Copyright © 2001-2014 Codehaus. All Rights Reserved.