|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--xbn.XBNObject | +--xbn.util.DirScan
Retrive the paths to all files/dirs contained in a directory. The configuration for DirScan is held by DSConfig
Source code: DirScan.java. Example code XmplDirScan.java.
0.8.2b
Fields inherited from class xbn.XBNObject |
bFALSE_IN_PRODUCTION, bTRUE_IN_PRODUCTION, sCNSTR, sES, sLINE_SEP |
Constructor Summary | |
DirScan(String s_baseDir)
Create a DirScan. |
|
DirScan(String s_baseDir,
DSConfig ds_config)
Create a DirScan. |
Method Summary | |
String |
getBaseDir()
Get the base directory. |
DSConfig |
getDSConfig()
Get the DSConfig for direct manipulation. |
Vector |
getVector()
Get the paths of all the files and directories analyzed for. |
String |
toString()
Get some information about this DirScan. |
Methods inherited from class xbn.XBNObject |
getXMsgPrefix, sop, sopl, sopl, throwAX, throwAXIfBadStr, throwAXIfNull, throwAXSpoof |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public DirScan(String s_baseDir)
public DirScan(String s_baseDir, DSConfig ds_config)
Create a DirScan.
Notes
s_baseDir
- The base directory to be scanned. May not be null, must point to a directory, and that directory must exist.ds_config
- Configuration for this scan. May not be null.Method Detail |
public final Vector getVector()
Get the paths of all the files and directories analyzed for.
It is not efficient to call this repeatedly.
public final String getBaseDir()
Get the base directory.
public final DSConfig getDSConfig()
Get the DSConfig for direct manipulation.
public final String toString()
Get some information about this DirScan.
toString
in class Object
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Copyright 1997-2003, Jeff Epstein, All Rights Reserved. See top of source code files for copyright notice.
http://sourceforge.net/projects/xbnjava