com.novell.zos.dataGrid
Interface GridFileNameFilter


public interface GridFileNameFilter

Filter for accepting/rejecting file names in a directory list.

Filtering is done by simple string path component names relative to the parent.


Method Summary
 boolean accept(GridFile dir, String name)
          Returns true if name is to be included.
 

Method Detail

accept

boolean accept(GridFile dir,
               String name)
Returns true if name is to be included.

name is always a simple component name relative to dir

Parameters:
dir - The parent directory
name - The string name to check, relative to dir.
Returns:
true if name is to be included.


Copyright 2008 Novell, Inc. All Rights Reserved.