Package org.bridgedb.file.orthoxml
Class IDMapperOrthoXml
- java.lang.Object
-
- org.bridgedb.file.orthoxml.IDMapperOrthoXml
-
-
Constructor Summary
Constructors Constructor Description IDMapperOrthoXml(Reader reader)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidclose()Set<Xref>freeSearch(String text, int limit)IDMapperCapabilitiesgetCapabilities()booleanisConnected()Map<Xref,Set<Xref>>mapID(Collection<Xref> srcXrefs, DataSource... tgtDataSources)Set<Xref>mapID(Xref ref, DataSource... tgtDataSources)booleanxrefExists(Xref xref)
-
-
-
Constructor Detail
-
IDMapperOrthoXml
public IDMapperOrthoXml(Reader reader) throws IDMapperException
- Throws:
IDMapperException
-
-
Method Detail
-
mapID
public Map<Xref,Set<Xref>> mapID(Collection<Xref> srcXrefs, DataSource... tgtDataSources) throws IDMapperException
- Specified by:
mapIDin interfaceIDMapper- Throws:
IDMapperException
-
mapID
public Set<Xref> mapID(Xref ref, DataSource... tgtDataSources) throws IDMapperException
- Specified by:
mapIDin interfaceIDMapper- Throws:
IDMapperException
-
xrefExists
public boolean xrefExists(Xref xref) throws IDMapperException
- Specified by:
xrefExistsin interfaceIDMapper- Throws:
IDMapperException
-
freeSearch
public Set<Xref> freeSearch(String text, int limit) throws IDMapperException
- Specified by:
freeSearchin interfaceIDMapper- Throws:
IDMapperException
-
getCapabilities
public IDMapperCapabilities getCapabilities()
- Specified by:
getCapabilitiesin interfaceIDMapper
-
close
public void close() throws IDMapperException- Specified by:
closein interfaceIDMapper- Throws:
IDMapperException
-
isConnected
public boolean isConnected()
- Specified by:
isConnectedin interfaceIDMapper
-
-