org.apache.tuscany.sca.cpp.tools.services
Class Scagen
java.lang.Object
org.apache.tuscany.sca.cpp.tools.common.CParsingTool
org.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.
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 java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MODULE_EXTENSIONS
public static java.util.Set MODULE_EXTENSIONS
Scagen
public Scagen(java.lang.String[] args)
throws java.lang.Exception
- Throws:
java.lang.Exception
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