org.nlogo.api
Class ModelReader
java.lang.Object
org.nlogo.api.ModelReader
public final class ModelReader
- extends Object
SEPARATOR
public static final String SEPARATOR
- See Also:
- Constant Field Values
getSections
public static Set<ModelReader.Section> getSections()
getDefaultShapesV
public static String[] getDefaultShapesV()
getDefaultLinkShapes
public static String[] getDefaultLinkShapes()
parseString
public static Map<ModelReader.Section,String[]> parseString(String string)
parseString
public static Map<ModelReader.Section,String[]> parseString(String string,
boolean checkVersion)
parseWidgets
public static List<List<String>> parseWidgets(String[] widgets)
getString
public static String getString(String[] v,
int index)
parseVersion
public static String parseVersion(Map<ModelReader.Section,String[]> map)