loci.formats.in

## Class XLEFReader.PathComparator

- java.lang.Object
- - loci.formats.in.XLEFReader.PathComparator

- All Implemented Interfaces:
    java.util.Comparator<java.io.File>
  Enclosing class:
    XLEFReader

      static class XLEFReader.PathComparator
      extends java.lang.Object
      implements java.util.Comparator<java.io.File>

  Helper class to sort file paths by name and depth

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `PathComparator()`

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `int` | `compare(java.io.File file1, java.io.File file2)`

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

    - ### Methods inherited from interface java.util.Comparator

      `comparing, comparing, comparingDouble, comparingInt, comparingLong, equals, naturalOrder, nullsFirst, nullsLast, reversed, reverseOrder, thenComparing, thenComparing, thenComparing, thenComparingDouble, thenComparingInt, thenComparingLong`

- - ### Constructor Detail

    - #### PathComparator

          PathComparator()

  - ### Method Detail

    - #### compare

          public int compare(java.io.File file1,
                             java.io.File file2)

      Specified by:
        `compare` in interface `java.util.Comparator<java.io.File>`

Copyright © 2026 Open Microscopy Environment