Class DiskDiff


  • public class DiskDiff
    extends java.lang.Object
    Perform a disk comparison based on selected strategy.
    • Method Detail

      • compareByNativeGeometry

        public void compareByNativeGeometry​(FormattedDisk formattedDiskA,
                                            FormattedDisk formattedDiskB)
        Compare disks by whatever native geometry the disks have. Fails if geometries do not match.
      • compareByBlockGeometry

        public void compareByBlockGeometry​(FormattedDisk formattedDiskA,
                                           FormattedDisk formattedDiskB)
        Compare disks by 512-byte ProDOS/Pascal blocks.
      • compareByTrackSectorGeometry

        public void compareByTrackSectorGeometry​(FormattedDisk formattedDiskA,
                                                 FormattedDisk formattedDiskB)
        Compare disks by 256-byte DOS sectors.
      • compareByFileName

        public void compareByFileName​(FormattedDisk formattedDiskA,
                                      FormattedDisk formattedDiskB)
        Compare by filename. This accounts for names only in disk A, only in disk B, or different but same-named.
      • compareByFileContent

        public void compareByFileContent​(FormattedDisk formattedDiskA,
                                         FormattedDisk formattedDiskB)
        Compare by file content. Accounts for content differences that are "only" in disk A or "only" in disk B.