|
Cytoscape 3.0.0-beta1 API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.cytoscape.io.datasource.DefaultDataSource
public final class DefaultDataSource
Basic implementation of DataSource
.
In general, most of the data sources can be encoded with this default implementation.
Constructor Summary | |
---|---|
DefaultDataSource(String name,
String provider,
String description,
DataCategory category,
URL url)
Constructor for the default data source. |
Method Summary | |
---|---|
DataCategory |
getDataCategory()
DataCategory of this data. |
String |
getDescription()
Description for this data. |
URL |
getLocation()
Location of this data file. |
String |
getName()
Name of this data source |
String |
getProvider()
Name of this data provider for this source. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public DefaultDataSource(String name, String provider, String description, DataCategory category, URL url)
name
- name of sourceprovider
- provider name of data sourcedescription
- description for this sourcecategory
- category of dataurl
- location of data file as URLMethod Detail |
---|
public String getProvider()
DataSource
getProvider
in interface DataSource
public String getName()
DataSource
getName
in interface DataSource
public String getDescription()
DataSource
getDescription
in interface DataSource
public DataCategory getDataCategory()
DataSource
DataCategory
of this data.
getDataCategory
in interface DataSource
public URL getLocation()
DataSource
getLocation
in interface DataSource
|
Cytoscape 3.0.0-beta1 API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |