Class GetInfo


  • public class GetInfo
    extends java.lang.Object
    Display the high-level information of interface automata to stdout. This class reads the MoML description of a number of interface automata, and writes their high-level description to stdout one by one. The high- level description is obtained by the getInfo() method of InterfaceAutomaton. The usage is:
     java ptolemy.domains.modal.kernel.test.GetInfo automaton1.xml automaton2.xml ...
     
    Since:
    Ptolemy II 8.0
    Version:
    $Id$
    Author:
    Yuhong Xiong
    Pt.AcceptedRating:
    Red (reviewmoderator)
    Pt.ProposedRating:
    Red (yuhong)
    • Constructor Summary

      Constructors 
      Constructor Description
      GetInfo​(java.lang.String[] momls)
      Write the high-level description of the interface automaton to stdout.
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static void main​(java.lang.String[] args)
      Pass the command line arguments to the constructor.
      • Methods inherited from class java.lang.Object

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

      • GetInfo

        public GetInfo​(java.lang.String[] momls)
                throws java.lang.Exception
        Write the high-level description of the interface automaton to stdout.
        Parameters:
        momls - An array of MoML file names for InterfaceAutomaton.
        Throws:
        java.lang.Exception - If the MoML file is not valid.
    • Method Detail

      • main

        public static void main​(java.lang.String[] args)
        Pass the command line arguments to the constructor. The command line argument is a list of MoML files for InterfaceAutomaton.
        Parameters:
        args - The command line arguments.