|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object
|
+--javatools.io.DirectoryGetter
|
+--medi.io.DirectoryScanner
It represents a class used to scan directories and to put information about files and subdirectories in a file.
| Field Summary |
| Fields inherited from class javatools.io.DirectoryGetter |
dirRef, fileList, subdirList |
| Constructor Summary | |
DirectoryScanner()
Creates new DirectoryScanner |
|
DirectoryScanner(java.io.File dirFile)
Creates new DirectoryScanner |
|
DirectoryScanner(java.lang.String path)
Creates new DirectoryScanner |
|
| Method Summary | |
void |
appendInfoToSaver(int mountPointLength)
Appends info about the directory (and subdirectories recursively) using the previously passed volume scanning saver. |
DirectoryScanner[] |
getSubdirScanners()
Returns the scanners for subdirectories as an array. |
VolumeScanningSaver |
getVolumeScanningSaver()
Returns the used volume scanning saver. |
void |
setStatusFrame(Volume2DbStatus pStatus)
Sets the status frame used to display the status of the process. |
void |
setVolumeScanningSaver(VolumeScanningSaver pVss)
Sets the volume scanning saver. |
| Methods inherited from class javatools.io.DirectoryGetter |
getFile, getFiles, getSubdirGetters, getSubdirs, scanDir, setDirectoryFile, setDirectoryPath |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public DirectoryScanner()
public DirectoryScanner(java.io.File dirFile)
dirFile - The file representing the directory to scan.public DirectoryScanner(java.lang.String path)
path - The path of the directory to be scanned.| Method Detail |
public void setVolumeScanningSaver(VolumeScanningSaver pVss)
pVss - The volume scanning saver to use.public VolumeScanningSaver getVolumeScanningSaver()
public void setStatusFrame(Volume2DbStatus pStatus)
pStatus - The status frame.
public DirectoryScanner[] getSubdirScanners()
throws java.io.IOException
java.io.IOException - If something goes wrong.
public void appendInfoToSaver(int mountPointLength)
throws java.io.IOException
mountPointLength - The length of the mount-point-path-string.
java.io.IOException - If something goes wrong.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||