edu.hust.go.model
Class OboGoParser
java.lang.Object
|
+--edu.hust.go.model.GoParser
|
+--edu.hust.go.model.OboGoParser
- public class OboGoParser
- extends GoParser
Fields inherited from class edu.hust.go.model.GoParser |
dataPool, defaultPoolSize, defaultThreadNumber, m_ParserActive, OBO, OBOXML, OWL, poolSize, RDFXML, target, termMap, threadNumber, threadPool |
Constructor Summary |
OboGoParser(java.lang.String _target)
|
OboGoParser(java.lang.String _target,
int _maxThreadNumber)
|
OboGoParser(java.lang.String _target,
int _maxThreadNumber,
int _maxPoolSize)
|
Methods inherited from class edu.hust.go.model.GoParser |
addDataToPool, addTermToMap, getDataFromPool, getTermMap, parse, parsingInProgress, queueProcessed, removeThread, setParserActive, setParsingComplete, threadActive |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
OboGoParser
public OboGoParser(java.lang.String _target)
OboGoParser
public OboGoParser(java.lang.String _target,
int _maxThreadNumber)
OboGoParser
public OboGoParser(java.lang.String _target,
int _maxThreadNumber,
int _maxPoolSize)
- Parameters:
_target
- GO definition file_maxThreadNumber
- thread number_maxPoolSize
- GO term parse speed may slower than read thread, if
the number of unparsed terms greater than maxPoolSize, new term has to
wait until old terms have been parsed.
getGoTermById
public edu.hust.go.term.GO_term getGoTermById(java.lang.String id)
- Specified by:
getGoTermById
in class GoParser
parseTarget
protected void parseTarget()
- Specified by:
parseTarget
in class GoParser