Published by Canadian Mind Products on 14 May 2017
"CommandLine parses the command line"CommandLine parses the command line for a description of a
set of files and converts it into a list of individual files
CommandLine does nothing by itself. It is library code you
can incorporate into your own Java programs like this:
CommandLine wantedFiles = new CommandLine( args,
new AllDirectoriesFilter() /* which directories to include */,
new ExtensionListFilter( "java" ) /* which file extensions to include */);
// iterate through all the files in the collection.
for ( File file : wantedFiles )
System.err.println( file.getCanonicalPath() );
}// end for
On the command line, you can specify a list of individual
files, mixed with a list of directories.
If you use the -s switch in includes all the files in all
the recursive subdirectories.
Why that apple tree icon? It represents a tree of various
types of files, from which you pick some.
Requirements: Java 1.7+
What's new in this version: Split off from Filter package, now uses much less RAM.
OSJava, Linux, Mac OS, Unix, Windows
DeveloperCanadian Mind Products
Updated14 May 2017
Downloads923 (1 last week)
Download CommandLine 2.6 (0.74 MB)
Top user review
There are no user reviews. Be the first to review this software.
Download3K has downloaded and tested CommandLine on 14 May 2017 with some of Today's best antivirus engines and you can find below, for your convenience, the scan results: