Class IntArrayToString

    • Method Detail

      • fire

        public void fire()
                  throws IllegalActionException
        Consume one array token of integer tokens on the input port and output a new string token on the output port. The least significant byte of the first integer generates the first character in the string, etc. NOTE: Java has many options regarding its character set. This actor relies on the default setting on the platform on which it is run. However, it assumes that this character set is an 8-bit character set.
        Specified by:
        fire in interface Executable
        Overrides:
        fire in class AtomicActor<TypedIOPort>
        Throws:
        IllegalActionException - If there is no director. FIXME: Either verify that it does check for the director, or remove this statement. This statement occurs in other conversion actor(s) as well.