Package ptolemy.moml.filter
Class RemoveGraphicalClassesApplication
- java.lang.Object
-
- ptolemy.moml.filter.RemoveGraphicalClassesApplication
-
public class RemoveGraphicalClassesApplication extends java.lang.Object
An application that removes graphical classes.- Since:
- Ptolemy II 11.0
- Version:
- $Id$
- Author:
- Edward A. Lee, Christopher Hylands
- Pt.AcceptedRating:
- Red (cxh)
- Pt.ProposedRating:
- Red (cxh)
-
-
Constructor Summary
Constructors Constructor Description RemoveGraphicalClassesApplication()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static void
main(java.lang.String[] args)
Read in a MoML file, remove graphical classes and write the results to standard out.
-
-
-
Method Detail
-
main
public static void main(java.lang.String[] args) throws java.lang.Exception
Read in a MoML file, remove graphical classes and write the results to standard out.For example, to remove the graphical classes from a file called
RemoveGraphicalClasses.xml
java -classpath "$PTII" ptolemy.moml.filter.RemoveGraphicalClassesApplication test/RemoveGraphicalClasses.xml > output.xml
- Parameters:
args
- An array of one string
The name of the MoML file to be cleaned.- Throws:
java.lang.Exception
- If there is a problem reading or writing a file.
-
-