rjw.dc.core.objects
Class CdRom
java.lang.Object
|
+--rjw.dc.core.objects.CdRom
- public class CdRom
- extends java.lang.Object
Holder of all the drives on the system. An array of drives,
A: to Z: is tested if they exist on the system and passed on
another array which holds all available drives.
- Since:
- 1.3
- Version:
- DC0.50
- Author:
- Robert-Jan van der Waals
Constructor Summary |
CdRom()
|
Method Summary |
java.util.Vector |
getInformation(java.lang.String sDrive,
boolean bConfirmation,
boolean bLeveledSearch,
boolean bReturnDirectories,
java.lang.String sExtension)
Retrieves all files and directories from the given locations |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CdRom
public CdRom()
getInformation
public java.util.Vector getInformation(java.lang.String sDrive,
boolean bConfirmation,
boolean bLeveledSearch,
boolean bReturnDirectories,
java.lang.String sExtension)
throws java.lang.Exception
- Retrieves all files and directories from the given locations
- Parameters:
sDrive
- starting location for reading databConfirmation
- ask for confirmation for eah directorybLeveledSearch
- read subdirectoriesbReturnDirectories
- allow directory names in the resultsExtension
- the file extension name (filter)
java.lang.Exception