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
|
identityTransformer
DEFAULT_ROLE_HINT, ROLE
Constructor and Description |
---|
PlexusIoFileResourceCollection() |
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) |
void |
setPrefix(String prefix)
Sets the prefix, which the file sets contents shall
have.
|
getDefaultDirAttributes, getDefaultFileAttributes, getOverrideDirAttributes, getOverrideFileAttributes, setDefaultDirAttributes, setDefaultFileAttributes, setOverrideDirAttributes, setOverrideFileAttributes
getExcludes, getFileMappers, getFileSelectors, getIncludes, getInputStream, getLastModified, getName, getPrefix, getStreamTransformer, isCaseSensitive, isIncludingEmptyDirectories, isSelected, isUsingDefaultExcludes, iterator, setCaseSensitive, setExcludes, setFileMappers, setFileSelectors, setIncludes, setIncludingEmptyDirectories, setStreamTransformer, setUsingDefaultExcludes
public static final String ROLE_HINT
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 void setPrefix(String prefix)
AbstractPlexusIoResourceCollection
setPrefix
in class AbstractPlexusIoResourceCollection
public Iterator<PlexusIoResource> getResources() throws IOException
PlexusIoResourceCollection
IOException
- .Copyright © 2001-2014 Codehaus. All Rights Reserved.