Skip to Content.
Sympa Menu

notify-dpml - r1531 - trunk/main/central/src/docs/util/cli

notify-dpml AT lists.ibiblio.org

Subject: DPML Notify

List archive

Chronological Thread  
  • From: mcconnell at BerliOS <mcconnell AT mail.berlios.de>
  • To: notify-dpml AT lists.ibiblio.org
  • Subject: r1531 - trunk/main/central/src/docs/util/cli
  • Date: Fri, 30 Jun 2006 08:12:43 +0200

Author: mcconnell
Date: 2006-06-30 08:12:38 +0200 (Fri, 30 Jun 2006)
New Revision: 1531

Modified:
trunk/main/central/src/docs/util/cli/overview.xml
Log:
bring sample code into format compliance

Modified: trunk/main/central/src/docs/util/cli/overview.xml
===================================================================
--- trunk/main/central/src/docs/util/cli/overview.xml 2006-06-23 14:23:55
UTC (rev 1530)
+++ trunk/main/central/src/docs/util/cli/overview.xml 2006-06-30 06:12:38
UTC (rev 1531)
@@ -172,13 +172,16 @@
</p>
<source>
// if we have --output option
-if(cl.hasOption("--output")) {
+if( cl.hasOption( "--output" ) )
+{
// grab the path
- String path = (String)cl.getValue("--output");
+ String path = (String) cl.getValue( "--output" );
+
// grab the format
- boolean xml = cl.hasOption("--xml");
+ boolean xml = cl.hasOption( "--xml" );
+
// configure the application's output
- configureOutput(path,xml);
+ configureOutput( path,xml );
}
</source>
<p>




  • r1531 - trunk/main/central/src/docs/util/cli, mcconnell at BerliOS, 06/30/2006

Archive powered by MHonArc 2.6.24.

Top of Page