Package org.bridgedb.file
Interface IDMappingReader
-
- All Known Implementing Classes:
IDMappingReaderFromDelimitedReader,IDMappingReaderFromText
public interface IDMappingReaderInterface for reading ID mapping data.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Set<DataSource>getDataSources()GetDataSources from the file.Map<Xref,Set<Xref>>getIDMappings()GetXrefs from the file.
-
-
-
Method Detail
-
getDataSources
Set<DataSource> getDataSources() throws IDMapperException
GetDataSources from the file.- Returns:
DataSources from the file- Throws:
IDMapperException- if failed to read the file
-
getIDMappings
Map<Xref,Set<Xref>> getIDMappings() throws IDMapperException
GetXrefs from the file.- Returns:
- Map from a
Xrefto theSetof all its matched Xref. - Throws:
IDMapperException- if failed to read the file
-
-