org.nlogo.api
Class ModelReader

java.lang.Object
  extended by org.nlogo.api.ModelReader

public final class ModelReader
extends Object


Nested Class Summary
static class ModelReader.Section
           
 
Field Summary
static String SEPARATOR
           
 
Method Summary
static String[] getDefaultLinkShapes()
           
static String[] getDefaultShapesV()
           
static Set<ModelReader.Section> getSections()
           
static String getString(String[] v, int index)
           
static Map<ModelReader.Section,String[]> parseString(String string)
           
static Map<ModelReader.Section,String[]> parseString(String string, boolean checkVersion)
           
static String parseVersion(Map<ModelReader.Section,String[]> map)
           
static List<List<String>> parseWidgets(String[] widgets)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

SEPARATOR

public static final String SEPARATOR
See Also:
Constant Field Values
Method Detail

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)