futils
Class DirCache
java.lang.Object
futils.DirCache
- All Implemented Interfaces:
- java.io.Serializable
public class DirCache
- extends java.lang.Object
- implements java.io.Serializable
DocJava, Inc.
http://www.docjava.com
Programmer: dlyon
Date: Sep 28, 2004
Time: 2:25:21 PM
- Author:
- D. Lyon
- See Also:
- Serialized Form
Constructor Summary |
DirCache(java.io.File rootDirectory,
java.io.File[] fa)
|
Method Summary |
FileStore[] |
getFileStoreArray()
|
static void |
main(java.lang.String[] args)
|
void |
save()
Save the DirCache to a directory selected by the user |
void |
save(java.io.File newRootDirectory)
Save the DirCache to the newRootDirectory |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DirCache
public DirCache(java.io.File rootDirectory,
java.io.File[] fa)
getFileStoreArray
public FileStore[] getFileStoreArray()
main
public static void main(java.lang.String[] args)
save
public void save()
- Save the
DirCache
to a directory selected by the user
save
public void save(java.io.File newRootDirectory)
- Save the
DirCache
to the newRootDirectory
- Parameters:
newRootDirectory
- directory used to replace old root directory