FileDocCategorySizeDatePackage
Ls.javaAPI DocExample448Sun Feb 08 21:33:48 GMT 2004None

Ls

public class Ls extends Object
Simple directory lister.
author
Ian Darwin, http://www.darwinsys.com/
version
$Id: Ls.java,v 1.3 2004/02/09 03:33:47 ian Exp $

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

		String[] dir = new java.io.File(".").list(); // Get list of names
		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