|
||||||||||
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 java.lang.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 | |
---|---|
java.io.File |
getBaseDir()
Returns the file collections base directory. |
java.util.Iterator |
getResources()
Returns an iterator over the resources in the collection. |
boolean |
isFollowingSymLinks()
Returns, whether symbolic links should be followed. |
void |
setBaseDir(java.io.File baseDir)
Sets the file collections base directory. |
void |
setDefaultAttributes(int uid,
java.lang.String userName,
int gid,
java.lang.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,
java.lang.String userName,
int gid,
java.lang.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 java.lang.String ROLE_HINT
Constructor Detail |
---|
public PlexusIoFileResourceCollection()
public PlexusIoFileResourceCollection(org.codehaus.plexus.logging.Logger logger)
Method Detail |
---|
public void setDefaultAttributes(int uid, java.lang.String userName, int gid, java.lang.String groupName, int fileMode, int dirMode)
PlexusIOResourceCollectionWithAttributes
setDefaultAttributes
in interface PlexusIOResourceCollectionWithAttributes
fileMode
- The octal mode to use for filesdirMode
- The octal mode to use for directoriespublic void setOverrideAttributes(int uid, java.lang.String userName, int gid, java.lang.String groupName, int fileMode, int dirMode)
PlexusIOResourceCollectionWithAttributes
setOverrideAttributes
in interface PlexusIOResourceCollectionWithAttributes
fileMode
- The octal mode to use for filesdirMode
- The octal mode to use for directoriespublic void setBaseDir(java.io.File baseDir)
public java.io.File getBaseDir()
public boolean isFollowingSymLinks()
public void setFollowingSymLinks(boolean pIsFollowingSymLinks)
public java.util.Iterator getResources() throws java.io.IOException
PlexusIoResourceCollection
getResources
in interface PlexusIoResourceCollection
java.io.IOException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |