public class MocStringIO
extends java.lang.Object
Constructor and Description |
---|
MocStringIO() |
Modifier and Type | Method and Description |
---|---|
static Moc |
mocFromString(java.lang.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 java.lang.String |
mocToStringASCII(Moc moc)
Converts the Moc to its basic ASCII representation as described in the MOC
standard document.
|
static java.lang.String |
mocToStringJSON(Moc moc)
Converts the Moc to its JSON representation as described in the MOC
standard document.
|
public static Moc mocFromString(java.lang.String in)
public static java.lang.String mocToStringASCII(Moc moc)
public static java.lang.String mocToStringJSON(Moc moc)