public class PlexusIoFileResourceCollection extends AbstractPlexusIoResourceCollectionWithAttributes
PlexusIoResourceCollection for the set
of files in a common directory.| Modifier and Type | Field and Description |
|---|---|
static String |
ROLE_HINT
Role hint of this component
|
DEFAULT_ROLE_HINT, ROLE| Constructor and Description |
|---|
PlexusIoFileResourceCollection() |
PlexusIoFileResourceCollection(org.codehaus.plexus.logging.Logger logger) |
| Modifier and Type | Method and Description |
|---|---|
File |
getBaseDir() |
Iterator<PlexusIoResource> |
getResources()
Returns an iterator over the resources in the collection.
|
boolean |
isFollowingSymLinks() |
void |
setBaseDir(File baseDir) |
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 |
setFollowingSymLinks(boolean pIsFollowingSymLinks) |
void |
setOverrideAttributes(int uid,
String userName,
int gid,
String groupName,
int fileMode,
int dirMode)
Sets the file and directory attributes to use as overrides.
|
getDefaultDirAttributes, getDefaultFileAttributes, getOverrideDirAttributes, getOverrideFileAttributes, setDefaultDirAttributes, setDefaultFileAttributes, setOverrideDirAttributes, setOverrideFileAttributesenableLogging, getExcludes, getFileMappers, getFileSelectors, getIncludes, getLastModified, getLogger, getName, getPrefix, isCaseSensitive, isIncludingEmptyDirectories, isSelected, isUsingDefaultExcludes, setCaseSensitive, setExcludes, setFileMappers, setFileSelectors, setIncludes, setIncludingEmptyDirectories, setPrefix, setUsingDefaultExcludespublic static final String ROLE_HINT
public PlexusIoFileResourceCollection()
public PlexusIoFileResourceCollection(org.codehaus.plexus.logging.Logger logger)
public void setBaseDir(File baseDir)
baseDir - The base directory of the file collectionpublic File getBaseDir()
public boolean isFollowingSymLinks()
public void setFollowingSymLinks(boolean pIsFollowingSymLinks)
pIsFollowingSymLinks - whether symbolic links should be followedpublic void setDefaultAttributes(int uid,
String userName,
int gid,
String groupName,
int fileMode,
int dirMode)
PlexusIOResourceCollectionWithAttributesfileMode - The octal mode to use for filesdirMode - The octal mode to use for directoriespublic void setOverrideAttributes(int uid,
String userName,
int gid,
String groupName,
int fileMode,
int dirMode)
PlexusIOResourceCollectionWithAttributesfileMode - The octal mode to use for filesdirMode - The octal mode to use for directoriespublic Iterator<PlexusIoResource> getResources() throws IOException
PlexusIoResourceCollectionIOException - .Copyright © 2001-2013 Codehaus. All Rights Reserved.