Class PascalDiskOptimizer
java.lang.Object
com.webcodepro.applecommander.storage.os.pascal.PascalDiskOptimizer
- All Implemented Interfaces:
DiskOptimizer
A simple Pascal disk optimizer. This should emulate a "krunch" to the front of the disk.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanIndicates if this disk can be optimized.voidPerform disk optimization.
-
Constructor Details
-
PascalDiskOptimizer
-
-
Method Details
-
canOptimizeDisk
public boolean canOptimizeDisk()Description copied from interface:DiskOptimizerIndicates if this disk can be optimized. For instance, a Pascal disk can be "krunched" to pack the files together but it may not need it.- Specified by:
canOptimizeDiskin interfaceDiskOptimizer
-
optimizeDisk
public void optimizeDisk()Description copied from interface:DiskOptimizerPerform disk optimization.- Specified by:
optimizeDiskin interfaceDiskOptimizer
-
getSortedFiles
-