Package org.geotools.data
Class DefaultFileServiceInfo
- Object
-
- DefaultServiceInfo
-
- DefaultFileServiceInfo
-
- All Implemented Interfaces:
Serializable
,FileGroupProvider
,FileServiceInfo
,ServiceInfo
public class DefaultFileServiceInfo extends DefaultServiceInfo implements FileServiceInfo
Default implementation ofFileServiceInfo
. It simply returns aDefaultCloseableIterator
built on top of the underlying file list.- See Also:
- Serialized Form
-
-
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
-
Fields inherited from class DefaultServiceInfo
description, keywords, publisher, schema, title
-
-
Constructor Summary
Constructors Constructor Description DefaultFileServiceInfo(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 DefaultServiceInfo
getDescription, getKeywords, getPublisher, getSchema, getSource, getTitle, setDescription, setKeywords, setPublisher, setSchema, setSource, setTitle, toString
-
Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface ServiceInfo
getDescription, getKeywords, getPublisher, getSchema, getSource, getTitle
-
-
-
-
Field Detail
-
files
protected List<FileGroupProvider.FileGroup> files
-
-
Constructor Detail
-
DefaultFileServiceInfo
public DefaultFileServiceInfo(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 interfaceFileServiceInfo
- Returns:
- A
FileGroupProvider
instance providing info content.
-
-