|
Cytoscape 2.8.0 API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object java.io.Reader cytoscape.cruft.obo.MolecularFunctionAnnotationReader
public final class MolecularFunctionAnnotationReader
The purpose of this class is to convert a 'gene_association.*' file (for example 'gene_association.sgd') into a crufty old 'molfunc.anno' file that Cytoscape's BioDataServer understands. The parameter passed to the constructor is the 'gene_association.*' file and the content read from this reader is the crufty old 'molfunc.anno' file.
Please note that this code was not written with performance in mind. Therefore, evaluating this code will not give a good indication of the author's programming ability.
Field Summary |
---|
Fields inherited from class java.io.Reader |
---|
lock |
Constructor Summary | |
---|---|
MolecularFunctionAnnotationReader(String speciesName,
Map ontologyTypeMap,
Reader geneAssociationFile)
Creates a new MolecularFunctionAnnotationReader object. |
|
MolecularFunctionAnnotationReader(String speciesName,
Reader geneAssociationFile)
Creates a new MolecularFunctionAnnotationReader object. |
Method Summary | |
---|---|
void |
close()
Closes the underlying gene_association file stream as well. |
int |
read(char[] cbuf,
int off,
int len)
DOCUMENT ME! |
Methods inherited from class java.io.Reader |
---|
mark, markSupported, read, read, read, ready, reset, skip |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public MolecularFunctionAnnotationReader(String speciesName, Reader geneAssociationFile)
speciesName
- DOCUMENT ME!geneAssociationFile
- DOCUMENT ME!public MolecularFunctionAnnotationReader(String speciesName, Map ontologyTypeMap, Reader geneAssociationFile)
speciesName
- DOCUMENT ME!ontologyTypeMap
- DOCUMENT ME!geneAssociationFile
- DOCUMENT ME!Method Detail |
---|
public final int read(char[] cbuf, int off, int len) throws IOException
read
in class Reader
cbuf
- DOCUMENT ME!off
- DOCUMENT ME!len
- DOCUMENT ME!
IOException
- DOCUMENT ME!public final void close() throws IOException
close
in interface Closeable
close
in class Reader
IOException
|
Cytoscape 2.8.0 API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |