public class Das2StreamDataSourceFactory extends AbstractDataSourceFactory implements DataSourceFactory
Constructor and Description |
---|
Das2StreamDataSourceFactory() |
Modifier and Type | Method and Description |
---|---|
java.util.List<CompletionContext> |
getCompletions(CompletionContext cc,
ProgressMonitor mon)
return a list of context-sensitive completions.
|
DataSource |
getDataSource(java.net.URI uri)
return a dataSource for the url
|
java.lang.String |
getDescription()
return a short description of the factory, or empty string.
|
MetadataModel |
getMetadataModel(java.net.URL url) |
getCapability, isFileResource, reject, supportsDiscovery
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getCapability, isFileResource, reject, supportsDiscovery
public DataSource getDataSource(java.net.URI uri) throws java.io.IOException
DataSourceFactory
getDataSource
in interface DataSourceFactory
getDataSource
in class AbstractDataSourceFactory
uri
- the URIjava.io.IOException
public java.util.List<CompletionContext> getCompletions(CompletionContext cc, ProgressMonitor mon) throws java.io.IOException, StreamException
DataSourceFactory
getCompletions
in interface DataSourceFactory
getCompletions
in class AbstractDataSourceFactory
cc
- the context for the completion.mon
- a progress monitor, for example to monitor a file download.java.io.IOException
StreamException
public MetadataModel getMetadataModel(java.net.URL url)
public java.lang.String getDescription()
DataSourceFactory
getDescription
in interface DataSourceFactory
getDescription
in class AbstractDataSourceFactory