@@ -0,0 +1,1687 @@
+/**%0D%0A *+%0D%0A *%09SampleOne.java%0D%0A *%091.0.0  2014-07-31  Leo Hinterlang%0D%0A */%0D%0Apackage com.fidelis.argface.sample;%0D%0A%0D%0Aimport com.fidelis.argface.ArgFace;%0D%0Aimport com.fidelis.argface.ArgPrototype;%0D%0A%0D%0A/**%0D%0A * SampleOne ArgFace program.%0D%0A * %0D%0A * @version 1.0.0%0D%0A * @author Leo Hinterlang%0D%0A *%0D%0A */%0D%0Apublic class SampleOne %7B%0D%0A%09private final String usageText =%0D%0A%09%09%09%22Usage: program %5B-a%5D %5B-b/--brand%5D %5B-c %3Cname%3E%5D %5Bfind %3Cpattern%3E%5D %3Cfile%3E...%22;%0D%0A%09private boolean aOption;%0D%0A%09private boolean bOption;%0D%0A%09private boolean cOption;%0D%0A%09private String  cName;%0D%0A%09private boolean findOperand;%0D%0A%09private String  patternOperand;%0D%0A%09private String %5B%5D fileOperand;%0D%0A%0D%0A%09public static void main (String %5B%5D args) %7B%0D%0A%09%09SampleOne prog = new SampleOne();%0D%0A%09%09ArgFace argFace = ArgPrototype.create(prog.usageText, prog);%0D%0A%09%09if (argFace == null) %7B%0D%0A%09%09%09System.exit(1);%0D%0A%09%09%7D%0D%0A%09%09int nArg = argFace.parse(args);%0D%0A%09%09if (nArg %3C 0) %7B%0D%0A%09%09%09System.exit(1);%0D%0A%09%09%7D%0D%0A%09%09if (prog.aOption) %7B%0D%0A%09%09%09System.out.println(%22-a option specified%22);%0D%0A%09%09%7D else %7B%0D%0A%09%09%09System.out.println(%22-a option NOT specified%22);%0D%0A%09%09%7D%0D%0A%09%09if (prog.bOption) %7B%0D%0A%09%09%09System.out.println(%22-b option specified%22);%0D%0A%09%09%7D else %7B%0D%0A%09%09%09System.out.println(%22-b option NOT specified%22);%0D%0A%09%09%7D%0D%0A%09%09if (prog.cOption) %7B%0D%0A%09%09%09System.out.println(%22-c option specified%22);%0D%0A%09%09%09System.out.println(%22%3CcName%3E = %22 + prog.cName);%0D%0A%09%09%7D else %7B%0D%0A%09%09%09System.out.println(%22-c option NOT specified%22);%0D%0A%09%09%7D%0D%0A%09%09if (prog.findOperand) %7B%0D%0A%09%09%09System.out.println(%22'find' operand specified%22);%0D%0A%09%09%09System.out.println(%22%3Cpattern%3E = %22 + prog.patternOperand);%0D%0A%09%09%7D else %7B%0D%0A%09%09%09System.out.println(%22'find %3Cpattern%3E' NOT specified%22);%0D%0A%09%09%7D%0D%0A%09%09for (String file : prog.fileOperand) %7B%0D%0A%09%09%09System.out.println(%22%3Cfile%3E = %22 + file);%0D%0A%09%09%7D%0D%0A%09%7D%0D%0A%7D

Add SampleOne.