public class TypeParser
extends java.lang.Object
Constructor and Description |
---|
TypeParser() |
Modifier and Type | Method and Description |
---|---|
static Type |
parse(java.lang.String type)
Return a Type instance by parsing the provided type string.
|
public static Type parse(java.lang.String type) throws IllegalActionException
The type string must be created by calling toString() method on the Type.
type
- the type stringIllegalActionException
- if it was not possible to parse the type since it's not supported.