org.jppf.doc
Class SamplesPHPReadmeProcessor

java.lang.Object
  extended by org.jppf.doc.SamplesPHPReadmeProcessor
All Implemented Interfaces:
Runnable

public class SamplesPHPReadmeProcessor
extends Object
implements Runnable

This utility generates the doc-source php files for the samples pack from the readme in each sample.

Author:
Laurent Cohen

Constructor Summary
SamplesPHPReadmeProcessor(File sourceDir, File destDir, File template)
          Initialize this processor with the specified source, destination and template file path.
 
Method Summary
static void main(String[] args)
          Run this utility with the specified command-line parameters.
 void run()
          
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SamplesPHPReadmeProcessor

public SamplesPHPReadmeProcessor(File sourceDir,
                                 File destDir,
                                 File template)
                          throws Exception
Initialize this processor with the specified source, destination and template file path.

Parameters:
sourceDir - the source directory from which all Readme.html are found.
destDir - the destination directory where all Readme.php are generated.
template - the template file for each Readme.php.
Throws:
Exception - if any error occurs.
Method Detail

run

public void run()

Specified by:
run in interface Runnable

main

public static void main(String[] args)
Run this utility with the specified command-line parameters.

Parameters:
args - the source and destination directories.


Copyright © 2005-2010 JPPF Team.