public class MocStringIO extends Object
Constructor and Description |
---|
MocStringIO() |
Modifier and Type | Method and Description |
---|---|
static Moc |
mocFromString(String in)
Parses a string following either the basic ASCII or JSON syntax given in
the MOC standard document, and converts it into a MOC.
|
static String |
mocToStringASCII(Moc moc)
Converts the Moc to its basic ASCII representation as described in the MOC
standard document.
|
static String |
mocToStringJSON(Moc moc)
Converts the Moc to its JSON representation as described in the MOC
standard document.
|
public static Moc mocFromString(String in)
public static String mocToStringASCII(Moc moc)