|
Cytoscape 2.8.0 API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object cytoscape.data.servers.BioDataServer
public class BioDataServer
Field Summary | |
---|---|
protected BioDataServerInterface |
server
|
Constructor Summary | |
---|---|
BioDataServer()
Creates a new BioDataServer object. |
|
BioDataServer(String serverName)
serverName is either an RMI URI, or a manifest file which says what files to load into an in-process server; the manifest, the annotations, and the ontologies, may be files on a filesystem, files in a jar, or files retrieved by HTTP Mod. |
Method Summary | |
---|---|
void |
addAnnotation(Annotation annotation)
DOCUMENT ME! |
void |
addThesaurus(String species,
Thesaurus thesaurus)
DOCUMENT ME! |
protected boolean |
checkFileType(BufferedReader br)
|
void |
clear()
DOCUMENT ME! |
String |
describe()
DOCUMENT ME! |
String[][] |
getAllAnnotations(AnnotationDescription description,
String entity)
DOCUMENT ME! |
String[] |
getAllCommonNames(String species,
String commonName)
DOCUMENT ME! |
Annotation |
getAnnotation(AnnotationDescription description)
DOCUMENT ME! |
Annotation |
getAnnotation(String species,
String curator,
String type)
DOCUMENT ME! |
int |
getAnnotationCount()
DOCUMENT ME! |
AnnotationDescription[] |
getAnnotationDescriptions()
DOCUMENT ME! |
String |
getCanonicalName(String species,
String commonName)
DOCUMENT ME! |
int[] |
getClassifications(AnnotationDescription description,
String entity)
DOCUMENT ME! |
int[] |
getClassifications(String species,
String curator,
String type,
String entity)
DOCUMENT ME! |
String |
getCommonName(String species,
String canonicalName)
DOCUMENT ME! |
void |
loadAnnotationFiles(String[] annotationFilenames,
String[] ontologyFilenames)
DOCUMENT ME! |
void |
loadObo(String[] annotationFilenames,
String[] ontologyFilenames)
DOCUMENT ME! |
void |
loadThesaurusFiles(String[] thesaurusFilenames)
DOCUMENT ME! |
void |
loadThesaurusFiles2(String[] thesaurusFilenames)
DOCUMENT ME! |
protected String[] |
parseLoadFile(String filename,
String key)
|
protected Ontology |
pickOntology(Ontology[] ontologies,
Annotation annotation)
|
Ontology[] |
readOntologyFlatFiles(String[] ontologyFilenames)
DOCUMENT ME! |
Ontology[] |
readOntologyFlatFiles2(String[] ontologyFilenames)
DOCUMENT ME! |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected BioDataServerInterface server
Constructor Detail |
---|
public BioDataServer(String serverName) throws Exception
Exception
public BioDataServer() throws Exception
Exception
- DOCUMENT ME!Method Detail |
---|
protected boolean checkFileType(BufferedReader br) throws IOException
IOException
protected String[] parseLoadFile(String filename, String key)
public Ontology[] readOntologyFlatFiles(String[] ontologyFilenames) throws Exception
ontologyFilenames
- DOCUMENT ME!
Exception
- DOCUMENT ME!public Ontology[] readOntologyFlatFiles2(String[] ontologyFilenames) throws Exception
ontologyFilenames
- DOCUMENT ME!
Exception
- DOCUMENT ME!protected Ontology pickOntology(Ontology[] ontologies, Annotation annotation)
public void loadObo(String[] annotationFilenames, String[] ontologyFilenames) throws Exception
annotationFilenames
- DOCUMENT ME!ontologyFilenames
- DOCUMENT ME!
Exception
- DOCUMENT ME!public void loadAnnotationFiles(String[] annotationFilenames, String[] ontologyFilenames) throws Exception
annotationFilenames
- DOCUMENT ME!ontologyFilenames
- DOCUMENT ME!
Exception
- DOCUMENT ME!public void loadThesaurusFiles(String[] thesaurusFilenames) throws Exception
thesaurusFilenames
- DOCUMENT ME!
Exception
- DOCUMENT ME!public void loadThesaurusFiles2(String[] thesaurusFilenames) throws Exception
thesaurusFilenames
- DOCUMENT ME!
Exception
- DOCUMENT ME!public void clear()
public void addAnnotation(Annotation annotation)
annotation
- DOCUMENT ME!public int getAnnotationCount()
public AnnotationDescription[] getAnnotationDescriptions()
public Annotation getAnnotation(String species, String curator, String type)
species
- DOCUMENT ME!curator
- DOCUMENT ME!type
- DOCUMENT ME!
public Annotation getAnnotation(AnnotationDescription description)
description
- DOCUMENT ME!
public int[] getClassifications(String species, String curator, String type, String entity)
species
- DOCUMENT ME!curator
- DOCUMENT ME!type
- DOCUMENT ME!entity
- DOCUMENT ME!
public int[] getClassifications(AnnotationDescription description, String entity)
description
- DOCUMENT ME!entity
- DOCUMENT ME!
public String[][] getAllAnnotations(AnnotationDescription description, String entity)
description
- DOCUMENT ME!entity
- DOCUMENT ME!
public String describe()
public void addThesaurus(String species, Thesaurus thesaurus)
species
- DOCUMENT ME!thesaurus
- DOCUMENT ME!public String getCanonicalName(String species, String commonName)
species
- DOCUMENT ME!commonName
- DOCUMENT ME!
public String[] getAllCommonNames(String species, String commonName)
species
- DOCUMENT ME!commonName
- DOCUMENT ME!
public String getCommonName(String species, String canonicalName)
species
- DOCUMENT ME!canonicalName
- DOCUMENT ME!
|
Cytoscape 2.8.0 API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |