Class AlphabetizeOperation
- java.lang.Object
-
- ptolemy.cg.kernel.generic.program.procedural.java.type.AlphabetizeOperation
-
public class AlphabetizeOperation extends java.lang.Object
A utility class for alphabetizing code blocks in a code template file.- Since:
- Ptolemy II 10.0
- Version:
- $Id$
- Author:
- Man-Kit Leung
- Pt.AcceptedRating:
- Red (mankit)
- Pt.ProposedRating:
- Red (mankit)
-
-
Constructor Summary
Constructors Constructor Description AlphabetizeOperation()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static void
main(java.lang.String[] args)
Alphabetize code block (template) files Parse code blocks from each file, sort and write them back in-place.
-
-
-
Method Detail
-
main
public static void main(java.lang.String[] args)
Alphabetize code block (template) files Parse code blocks from each file, sort and write them back in-place. Usage:java -classpath $PTII ptolemy.cg.kernel.generic.program.procedural.java.type.AlphabetizeOperation $PTII/ptolemy/cg/kernel/generic/program/procedural/java/type/polymorphic
- Parameters:
args
- The first argument should be the path to the directory that contains the templates to be alphabetized.
-
-