Interface PathChooser

  • All Known Subinterfaces:
    DescriptablePathChooser

    public interface PathChooser
    Specifies an interface for objects defining path searching criteria.
    Author:
    Alexandre Iline(alexandre.iline@sun.com)
    • Method Detail

      • checkPathComponent

        boolean checkPathComponent​(int depth,
                                   java.lang.Object component)
        Checks if depth'th path components fits the requirements.
        Parameters:
        depth - A depth of the component.
        component - A path component to be checked.
        Returns:
        true if the component fits the requirements.
      • getDepth

        int getDepth()
        Return requiered depth of the path.
        Returns:
        depth.