|
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.CellularComponentAnnotationReader
public final class CellularComponentAnnotationReader
The purpose of this class is to convert a 'gene_association.*' file (for example 'gene_association.sgd') into a crufty old 'cellcomp.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 'cellcomp.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 | |
---|---|
CellularComponentAnnotationReader(String speciesName,
Map ontologyTypeMap,
Reader geneAssociationFile)
Creates a new CellularComponentAnnotationReader object. |
|
CellularComponentAnnotationReader(String speciesName,
Reader geneAssociationFile)
Creates a new CellularComponentAnnotationReader 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 CellularComponentAnnotationReader(String speciesName, Map ontologyTypeMap, Reader geneAssociationFile)
speciesName
- DOCUMENT ME!ontologyTypeMap
- DOCUMENT ME!geneAssociationFile
- DOCUMENT ME!public CellularComponentAnnotationReader(String speciesName, Reader geneAssociationFile)
speciesName
- 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 |