public class ExcelSpreadsheetDataSourceFactory extends AbstractDataSourceFactory implements DataSourceFactory
| Constructor and Description |
|---|
ExcelSpreadsheetDataSourceFactory() |
| 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) |
boolean |
reject(java.lang.String surl,
java.util.List<java.lang.String> problems,
ProgressMonitor mon)
quick check to see that an uri looks acceptable.
|
java.lang.String |
urlForServer(java.lang.String surl) |
getCapability, isFileResource, supportsDiscoveryclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetCapability, isFileResource, supportsDiscoverypublic DataSource getDataSource(java.net.URI uri) throws java.io.IOException
DataSourceFactorygetDataSource in interface DataSourceFactorygetDataSource in class AbstractDataSourceFactoryuri - the URIjava.io.IOExceptionpublic java.util.List<CompletionContext> getCompletions(CompletionContext cc, ProgressMonitor mon) throws java.io.IOException
DataSourceFactorygetCompletions in interface DataSourceFactorygetCompletions in class AbstractDataSourceFactorycc - the context for the completion.mon - a progress monitor, for example to monitor a file download.java.io.IOExceptionpublic MetadataModel getMetadataModel(java.net.URL url)
public boolean reject(java.lang.String surl,
java.util.List<java.lang.String> problems,
ProgressMonitor mon)
DataSourceFactoryreject in interface DataSourceFactoryreject in class AbstractDataSourceFactorysurl - the uri.problems - list to which problems should be added. TODO: human readable or PROB_TIMERANGE?mon - a progress monitor, for example to monitor a file download.public java.lang.String urlForServer(java.lang.String surl)
public java.lang.String getDescription()
DataSourceFactorygetDescription in interface DataSourceFactorygetDescription in class AbstractDataSourceFactory