org.apache.tuscany.sca.cpp.tools.services
Class Scagen

java.lang.Object
  extended byorg.apache.tuscany.sca.cpp.tools.common.CParsingTool
      extended byorg.apache.tuscany.sca.cpp.tools.services.Scagen

public class Scagen
extends CParsingTool

This is the main top level class. Its purpose is to create a Module/FragmentFile handler visitor and pass it to a DirectoryScanner for processing.


Field Summary
static java.util.Set MODULE_EXTENSIONS
           
 
Fields inherited from class org.apache.tuscany.sca.cpp.tools.common.CParsingTool
failed, headers
 
Constructor Summary
Scagen(java.lang.String[] args)
           
 
Method Summary
static void main(java.lang.String[] args)
          Take a directory scanning class and create a vistor that knows how to handle any sca.module or .fragment that the scanner comes across.
protected  void printUsage()
          Provide a hint to the user on how to call this class
 
Methods inherited from class org.apache.tuscany.sca.cpp.tools.common.CParsingTool
checkFile, maybeCreateDirectory, preparseHeaders
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

MODULE_EXTENSIONS

public static java.util.Set MODULE_EXTENSIONS
Constructor Detail

Scagen

public Scagen(java.lang.String[] args)
       throws java.lang.Exception
Throws:
java.lang.Exception
Method Detail

main

public static void main(java.lang.String[] args)
Take a directory scanning class and create a vistor that knows how to handle any sca.module or .fragment that the scanner comes across.

Parameters:
args - standard main args. THe values we expect in this class are scagen -dir input_dir -output output_dir

printUsage

protected void printUsage()
Provide a hint to the user on how to call this class

Overrides:
printUsage in class CParsingTool


Copyright 2005 The Apache Software Foundation and Copyright IBM Corp. 2005 All Rights Reserved