Package org.geotools.gce.imagemosaic
Class ImageMosaicFileResourceInfo
Object
DefaultResourceInfo
ImageMosaicFileResourceInfo
- All Implemented Interfaces:
FileGroupProvider
,FileResourceInfo
,ResourceInfo
,PAMResourceInfo
public class ImageMosaicFileResourceInfo
extends DefaultResourceInfo
implements FileResourceInfo, PAMResourceInfo
FileResourceInfo
implementation for ImageMosaic. The specific implementation is able to retrieve support
files such as, as an instance, prj and world file for TIFFs.-
Nested Class Summary
Nested classes/interfaces inherited from interface FileGroupProvider
FileGroupProvider.FileGroup
-
Constructor Summary
ConstructorsConstructorDescriptionImageMosaicFileResourceInfo
(RasterManager rasterManager, String parentLocation, String locationAttributeName) ImageMosaicFileResourceInfo constructor -
Method Summary
Modifier and TypeMethodDescriptionFileGroupProvider
providing resource content.PAMDataset
Returns a PAMDataset for the resource, if available, or null, otherwiseboolean
Hints to reload the PAMDataset, if possible.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
-
Constructor Details
-
ImageMosaicFileResourceInfo
public ImageMosaicFileResourceInfo(RasterManager rasterManager, String parentLocation, String locationAttributeName) ImageMosaicFileResourceInfo constructor- Parameters:
rasterManager
- manager theRasterManager
instance for underlying index info retrieval and managementparentLocation
- the granules parentLocation (relative paths refer to that)locationAttributeName
- the actual location attribute name
-
-
Method Details
-
getFiles
Description copied from interface:FileResourceInfo
FileGroupProvider
providing resource content.- Specified by:
getFiles
in interfaceFileGroupProvider
- Specified by:
getFiles
in interfaceFileResourceInfo
- Returns:
- A
FileGroupProvider
instance providing resource content
-
getPAMDataset
public PAMDataset getPAMDataset()Description copied from interface:PAMResourceInfo
Returns a PAMDataset for the resource, if available, or null, otherwise- Specified by:
getPAMDataset
in interfacePAMResourceInfo
- Returns:
-
reloadPAMDataset
Description copied from interface:PAMResourceInfo
Hints to reload the PAMDataset, if possible. By default, it's a no-op.- Specified by:
reloadPAMDataset
in interfacePAMResourceInfo
- Returns:
- True if the PAM dataset has been reloaded, false if it was not possible or not implemented
- Throws:
IOException
-