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 TypeMethodDescriptionFileGroupProviderproviding resource content.PAMDatasetReturns a PAMDataset for the resource, if available, or null, otherwisebooleanHints to reload the PAMDataset, if possible.Methods inherited from class DefaultResourceInfo
getBounds, getCRS, getDescription, getKeywords, getName, getSchema, getTitle, setBounds, setCRS, setDescription, setKeywords, setName, setSchema, setTitleMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods 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 theRasterManagerinstance 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:FileResourceInfoFileGroupProviderproviding resource content.- Specified by:
getFilesin interfaceFileGroupProvider- Specified by:
getFilesin interfaceFileResourceInfo- Returns:
- A
FileGroupProviderinstance providing resource content
-
getPAMDataset
public PAMDataset getPAMDataset()Description copied from interface:PAMResourceInfoReturns a PAMDataset for the resource, if available, or null, otherwise- Specified by:
getPAMDatasetin interfacePAMResourceInfo- Returns:
-
reloadPAMDataset
Description copied from interface:PAMResourceInfoHints to reload the PAMDataset, if possible. By default, it's a no-op.- Specified by:
reloadPAMDatasetin interfacePAMResourceInfo- Returns:
- True if the PAM dataset has been reloaded, false if it was not possible or not implemented
- Throws:
IOException
-