public class DefaultFileResourceInfo extends DefaultResourceInfo implements FileResourceInfo
FileResourceInfo
. It simply returns a DefaultCloseableIterator
built on top of the underlying file list.FileGroupProvider.FileGroup
Modifier and Type | Field and Description |
---|---|
protected List<FileGroupProvider.FileGroup> |
files |
Constructor and Description |
---|
DefaultFileResourceInfo(List<FileGroupProvider.FileGroup> files) |
Modifier and Type | Method and Description |
---|---|
CloseableIterator<FileGroupProvider.FileGroup> |
getFiles(Query query)
Default implementation will ignore the specified query.
|
getBounds, getCRS, getDescription, getKeywords, getName, getSchema, getTitle, setBounds, setCRS, setDescription, setKeywords, setName, setSchema, setTitle
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getBounds, getCRS, getDescription, getKeywords, getName, getSchema, getTitle
protected List<FileGroupProvider.FileGroup> files
public DefaultFileResourceInfo(List<FileGroupProvider.FileGroup> files)
public CloseableIterator<FileGroupProvider.FileGroup> getFiles(Query query)
Subclasses should override this method to implement proper query parsing
getFiles
in interface FileGroupProvider
getFiles
in interface FileResourceInfo
FileGroupProvider
instance providing resource contentCopyright © 1996–2019 Geotools. All rights reserved.