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 TypeMethodDescriptionbooleancheckPathComponent(int depth, Object component) Checks ifdepth'th path components fits the requirements.intgetDepth()Return requiered depth of the path.
-
Method Details
-
checkPathComponent
Checks ifdepth'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.
-