FileDocCategorySizeDatePackage
FNFilter.javaAPI DocExample902Fri Oct 08 20:13:52 BST 1999None

FNFilter

public class FNFilter extends Object
FNFilter - Ls directory lister modified to use FilenameFilter
author
Ian Darwin
version
$Id: FNFilter.java,v 1.2 1999/10/08 23:13:52 ian Exp $

Fields Summary
Constructors Summary
Methods Summary
public static voidmain(java.lang.String[] argh_my_aching_fingers)

		// Generate the selective list, with a one-use File object.
		String[] dir = new java.io.File(".").list(new OnlyJava());
		java.util.Arrays.sort(dir);		// Sort it (Data Structuring chapter))
		for (int i=0; i<dir.length; i++)
			System.out.println(dir[i]);	// Print the list