Example 5.1. Sample command-line usage
% jalopy -r /dev/foo/src/java
Formats all source files found in directory "/dev/foo/src/java" and all subdirectories.
% jalopy -d /test/foo -f DOS myFile.java myFile.html
Formats the two files "myFile.java" and "myFile.html" and writes the new files into directory "/test/foo". Uses DOS as the file format of the new files.
% jalopy -c /quality/foo.xml -r -d /test/foo ^A.*java
Formats all Java source files found in the current directory and all subfolders whose name start with a capital 'A' and writes the new files into directory "/test/foo". The settings of the code convention "/quality/foo.xml" will be used.
% type f:\test\in.java | jalopy > out.java
Formats the file "f:\test\in.java" read from STDIN and outputs its formatted contents to the file "out.java" in the current directory.