Package org.biojava.ontology.obo
Interface OboFileEventListener
-
- All Known Implementing Classes:
OboFileHandler
public interface OboFileEventListener
an interface for events that occur during parsing of .obo files- Author:
- Andreas Prlic
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
documentEnd()
end of parsing a new OBO filevoid
documentStart()
starting to parse a new OBO filevoid
newKey(java.lang.String key, java.lang.String value)
found a new key in the filevoid
newOboFileHeader()
parsed a new OBO file headervoid
newStanza(java.lang.String stanza)
parsed a new stanza in the filevoid
newSynonym(Synonym synonym)
a new synonym has been found
-
-
-
Method Detail
-
documentStart
void documentStart()
starting to parse a new OBO file
-
documentEnd
void documentEnd()
end of parsing a new OBO file
-
newOboFileHeader
void newOboFileHeader()
parsed a new OBO file header
-
newStanza
void newStanza(java.lang.String stanza)
parsed a new stanza in the file- Parameters:
stanza
-
-
newKey
void newKey(java.lang.String key, java.lang.String value)
found a new key in the file- Parameters:
key
-value
-
-
newSynonym
void newSynonym(Synonym synonym)
a new synonym has been found- Parameters:
synonym
-
-
-