Package org.geotools.data
Class DefaultFileResourceInfo
- Object
-
- DefaultResourceInfo
-
- DefaultFileResourceInfo
-
- All Implemented Interfaces:
FileGroupProvider
,FileResourceInfo
,ResourceInfo
public class DefaultFileResourceInfo extends DefaultResourceInfo implements FileResourceInfo
Default implementation ofFileResourceInfo
. It simply returns aDefaultCloseableIterator
built on top of the underlying file list.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface FileGroupProvider
FileGroupProvider.FileGroup
-
-
Field Summary
Fields Modifier and Type Field Description protected List<FileGroupProvider.FileGroup>
files
-
Constructor Summary
Constructors Constructor Description DefaultFileResourceInfo(List<FileGroupProvider.FileGroup> files)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CloseableIterator<FileGroupProvider.FileGroup>
getFiles(Query query)
Default implementation will ignore the specified query.-
Methods inherited from class DefaultResourceInfo
getBounds, getCRS, getDescription, getKeywords, getName, getSchema, getTitle, setBounds, setCRS, setDescription, setKeywords, setName, setSchema, setTitle
-
Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface ResourceInfo
getBounds, getCRS, getDescription, getKeywords, getName, getSchema, getTitle
-
-
-
-
Field Detail
-
files
protected List<FileGroupProvider.FileGroup> files
-
-
Constructor Detail
-
DefaultFileResourceInfo
public DefaultFileResourceInfo(List<FileGroupProvider.FileGroup> files)
-
-
Method Detail
-
getFiles
public CloseableIterator<FileGroupProvider.FileGroup> getFiles(Query query)
Default implementation will ignore the specified query.Subclasses should override this method to implement proper query parsing
- Specified by:
getFiles
in interfaceFileGroupProvider
- Specified by:
getFiles
in interfaceFileResourceInfo
- Returns:
- A
FileGroupProvider
instance providing resource content
-
-