public class SBTabController
extends java.lang.Object
Constructor | Description |
---|---|
SBTabController() |
Modifier and Type | Method | Description |
---|---|---|
org.sbml.jsbml.SBMLDocument |
getDoc() |
|
java.net.URL |
getDocumentation(java.lang.String theDocumentationURL,
java.lang.String theLocalDocumentationPath) |
Opens Documentation according to specified documentation URL.
|
java.lang.String |
getFileExtension(java.io.File file) |
|
java.lang.String |
getFilePath() |
|
int |
numErrors(org.sbml.jsbml.SBMLDocument doc) |
Number of Errors in Document
|
org.sbml.jsbml.SBMLDocument |
read(java.lang.String filePath) |
Read SBML document from a
File . |
void |
save(org.sbml.jsbml.SBMLDocument doc,
java.io.File path,
java.lang.String name,
java.lang.String version) |
Save SBML document to a
File . |
void |
setDoc(org.sbml.jsbml.SBMLDocument doc) |
|
void |
setFilePath(java.lang.String path) |
|
void |
setPreferences(java.lang.String filePath) |
Set Preferences for the programm, at the moment only the file path is saved.
|
static java.lang.String |
stringValidator(org.sbml.jsbml.SBMLDocument doc) |
Validator of SBML-Files
|
public java.lang.String getFilePath()
public org.sbml.jsbml.SBMLDocument getDoc()
public void setDoc(org.sbml.jsbml.SBMLDocument doc)
public void setPreferences(java.lang.String filePath)
public void save(org.sbml.jsbml.SBMLDocument doc, java.io.File path, java.lang.String name, java.lang.String version)
File
.doc
- the SBMLDocument
to be writtenpath
- absolute path to SBMLDocument
name
- name of SBMLDocument
version
- version of SBMLDocument
public org.sbml.jsbml.SBMLDocument read(java.lang.String filePath)
File
.absolute
- path to SBMLDocument
SBMLDocument
public static java.lang.String stringValidator(org.sbml.jsbml.SBMLDocument doc)
doc
- is the input SBML-Filepublic int numErrors(org.sbml.jsbml.SBMLDocument doc)
doc
- public java.lang.String getFileExtension(java.io.File file)
File
- public java.net.URL getDocumentation(java.lang.String theDocumentationURL, java.lang.String theLocalDocumentationPath)
public void setFilePath(java.lang.String path)
Copyright © 2018. All rights reserved.