|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.osjava.jardiff.Main
public class Main
A static entry point for use from the command line.
Field Summary | |
---|---|
private static java.util.Set |
FORMATS
Define set of valid formats. |
Constructor Summary | |
---|---|
private |
Main()
Private constructor to prevent this class being instantiated. |
Method Summary | |
---|---|
static void |
main(java.lang.String[] args)
Main method to allow this to be run from the command line. |
private static void |
showHelp(org.apache.commons.cli.Options options,
java.lang.String msg)
Utility function for showing help using commons-cli. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
private static final java.util.Set FORMATS
Constructor Detail |
---|
private Main()
Method Detail |
---|
private static void showHelp(org.apache.commons.cli.Options options, java.lang.String msg)
options
- Command line options.msg
- Optional message to show.public static void main(java.lang.String[] args) throws java.lang.Exception
args
- A string array of length two containing the filenames of
two jar files, the first of which being the older of the
two.
java.lang.Exception
- when there is an underlying exception, e.g.
writing to a file caused an IOException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |