|
||||||||||
| 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.PlexusIoFileResourceCollection
public class PlexusIoFileResourceCollection
Implementation of PlexusIoResourceCollection for the set
of files in a common directory.
| Field Summary | |
|---|---|
static String |
ROLE_HINT
Role hint of this component |
| Fields inherited from interface org.codehaus.plexus.components.io.resources.PlexusIoResourceCollection |
|---|
DEFAULT_ROLE_HINT, ROLE |
| Constructor Summary | |
|---|---|
PlexusIoFileResourceCollection()
|
|
PlexusIoFileResourceCollection(org.codehaus.plexus.logging.Logger logger)
|
|
| Method Summary | |
|---|---|
File |
getBaseDir()
Returns the file collections base directory. |
Iterator |
getResources()
Returns an iterator over the resources in the collection. |
boolean |
isFollowingSymLinks()
Returns, whether symbolic links should be followed. |
void |
setBaseDir(File baseDir)
Sets the file collections base directory. |
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)
Returns, whether symbolic links should be followed. |
void |
setOverrideAttributes(int uid,
String userName,
int gid,
String groupName,
int fileMode,
int dirMode)
Sets the file and directory attributes to use as overrides. |
| Methods inherited from class org.codehaus.plexus.components.io.resources.AbstractPlexusIoResourceCollection |
|---|
enableLogging, getExcludes, getFileMappers, getFileSelectors, getIncludes, getLastModified, getLogger, getName, 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 |
| Field Detail |
|---|
public static final String ROLE_HINT
| Constructor Detail |
|---|
public PlexusIoFileResourceCollection()
public PlexusIoFileResourceCollection(org.codehaus.plexus.logging.Logger logger)
| Method Detail |
|---|
public void setDefaultAttributes(int uid,
String userName,
int gid,
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,
String userName,
int gid,
String groupName,
int fileMode,
int dirMode)
PlexusIOResourceCollectionWithAttributes
setOverrideAttributes in interface PlexusIOResourceCollectionWithAttributesfileMode - The octal mode to use for filesdirMode - The octal mode to use for directoriespublic void setBaseDir(File baseDir)
public File getBaseDir()
public boolean isFollowingSymLinks()
public void setFollowingSymLinks(boolean pIsFollowingSymLinks)
public Iterator getResources()
throws IOException
PlexusIoResourceCollection
getResources in interface PlexusIoResourceCollectionIOException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||