Interface DataSource

All Known Implementing Classes:

public interface DataSource
Immutable data source object, which represents one data file associated with an URL.

Module: datasource-api

To use this in your app, include the following dependency in your POM:


Cytoscape Backwards Compatibility (API Interface): We expect that this interface will be used but not implemented by developers using this interface. As such, we reserve the right to add methods to the interface as part of minor version upgrades. We will not remove methods for any changes other than major version upgrades.
  • Method Details

    • getProvider

      String getProvider()
      Name of this data provider for this source. Usually, this is an database name or organization name providing set of data.
      Name of data provider
    • getName

      String getName()
      Name of this data source
      Name of this data source
    • getDescription

      String getDescription()
      Description for this data.
    • getDataCategory

      DataCategory getDataCategory()
      DataCategory of this data.
      category of this data file.
    • getLocation

      URL getLocation()
      Location of this data file.
      URL of this data file