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 Summary

    Modifier and Type
    Method
    Description
    boolean
    checkPathComponent(int depth, Object component)
    Checks if depth'th path components fits the requirements.
    int
    Return requiered depth of the path.
  • Method Details

    • checkPathComponent

      boolean checkPathComponent(int depth, 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.