Class 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)
    • 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.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • RemoveGraphicalClassesApplication

        public RemoveGraphicalClassesApplication()
    • 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.