public class NetworkLoader extends Object
| Constructor and Description |
|---|
NetworkLoader() |
| Modifier and Type | Method and Description |
|---|---|
static String[][] |
getAvailableTypes()
Gets types of networks that are readable by FERN.
|
static Network |
readNetwork(File file)
Tries to read the given file and returns the network in it (if there is one)
|
public static String[][] getAvailableTypes()
public static Network readNetwork(File file) throws IOException, org.jdom.JDOMException, FeatureNotSupportedException, ClassNotFoundException
file - network fileIOException - file could not be foundorg.jdom.JDOMException - file could not be parsed correctlyFeatureNotSupportedException - file contains a not supported sbml featureClassNotFoundException - the class SBMLNetwork could not be foundCopyright © 2007–2021. All rights reserved.