For example, to use BioMart as a mapping resource, you can use the following piece of code:
class.forName("org.bridgedb.webservice.biomart.IDMapperBiomart"); mapper = BridgeDb.connect ("idmapper-biomart:path/to/biomart?dataset=datasetname");