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) |
void |
setFollowingSymLinks(boolean pIsFollowingSymLinks) |
void |
setOverrideAttributes(int uid,
String userName,
int gid,
String groupName,
int fileMode,
int dirMode) |
getDefaultDirAttributes, getDefaultFileAttributes, getOverrideDirAttributes, getOverrideFileAttributes, setDefaultDirAttributes, setDefaultFileAttributes, setOverrideDirAttributes, setOverrideFileAttributes
enableLogging, getExcludes, getFileMappers, getFileSelectors, getIncludes, getLastModified, getName, getPrefix, isCaseSensitive, isIncludingEmptyDirectories, isSelected, isUsingDefaultExcludes, setCaseSensitive, setExcludes, setFileMappers, setFileSelectors, setIncludes, setIncludingEmptyDirectories, setPrefix, setUsingDefaultExcludes
public 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)
public void setOverrideAttributes(int uid, String userName, int gid, String groupName, int fileMode, int dirMode)
public Iterator<PlexusIoResource> getResources() throws IOException
PlexusIoResourceCollection
IOException
- .Copyright © 2001-2014 Codehaus. All Rights Reserved.