|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface BioPAXIOHandler
This interface defines IO related operations that can be performed on BioPAX models.
| Method Summary | |
|---|---|
Model |
convertFromMultipleOwlFiles(java.lang.String... files)
This method will read multiple OWL document and will merge them into an in memory BioPAX model. |
Model |
convertFromOWL(java.io.InputStream in)
This method will read the OWL document given by the input stream and will convert it into an in memory BioPAX model. |
void |
convertToOWL(Model model,
java.io.OutputStream outputStream)
This method will write the model to the output stream. |
void |
convertToOWL(Model model,
java.io.OutputStream outputStream,
java.lang.String... ids)
This method will "excise" a new model from the given model that contains the objects with given ids and their dependents. |
void |
fixReusedPEPs(boolean fixReusedPEPs)
This option is only applicable two level 2 models. |
EditorMap |
getEditorMap()
|
BioPAXFactory |
getFactory()
|
BioPAXLevel |
getLevel()
|
boolean |
isConvertingFromLevel1ToLevel2()
This flag will allow reader to automatically convert level1 classes to corresponding level 2 classes. |
boolean |
isFixReusedPEPs()
This option is only applicable two level 2 models. |
boolean |
isTreatNilAsNull()
This flag will fix a common legacy bug from BioCyc where the "NIL" string was used for representing unknown values. |
void |
setConvertingFromLevel1ToLevel2(boolean convertingFromLevel1ToLevel2)
This flag will allow reader to automatically convert level1 classes to corresponding level 2 classes. |
void |
setEditorMap(EditorMap editorMap)
|
void |
setFactory(BioPAXFactory factory)
|
void |
treatNilAsNull(boolean treatNILasNull)
This flag will fix a common legacy bug from BioCyc where the "NIL" string was used for representing unknown values. |
| Method Detail |
|---|
void fixReusedPEPs(boolean fixReusedPEPs)
fixReusedPEPs - void treatNilAsNull(boolean treatNILasNull)
treatNILasNull - Model convertFromOWL(java.io.InputStream in)
in -
Model convertFromMultipleOwlFiles(java.lang.String... files)
throws java.io.FileNotFoundException
files -
java.io.FileNotFoundException
void convertToOWL(Model model,
java.io.OutputStream outputStream)
model - outputStream - void setConvertingFromLevel1ToLevel2(boolean convertingFromLevel1ToLevel2)
convertingFromLevel1ToLevel2 - boolean isTreatNilAsNull()
boolean isConvertingFromLevel1ToLevel2()
boolean isFixReusedPEPs()
BioPAXFactory getFactory()
void setFactory(BioPAXFactory factory)
factory - used for creating objectsEditorMap getEditorMap()
void setEditorMap(EditorMap editorMap)
editorMap - used for this handler.BioPAXLevel getLevel()
void convertToOWL(Model model,
java.io.OutputStream outputStream,
java.lang.String... ids)
model - outputStream - ids -
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||