Interface DataSource

  • All Known Implementing Classes:
    DefaultDataSource

    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:

    <dependency>
        <groupId>org.cytoscape</groupId>
        <artifactId>datasource-api</artifactId>
    </dependency>

    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 Detail

      • getProvider

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

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

        String getDescription()
        Description for this data.
        Returns:
        description
      • getLocation

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