public class PAMParser extends Object
Constructor and Description |
---|
PAMParser() |
Modifier and Type | Method and Description |
---|---|
static PAMParser |
getInstance() |
String |
getMetadataValue(PAMDataset.PAMRasterBand rasterBand,
String key)
Return the value of a metadata string for the provided rasterBand.
|
PAMDataset |
parsePAM(File file) |
PAMDataset |
parsePAM(String filePath) |
public static PAMParser getInstance()
public PAMDataset parsePAM(String filePath) throws IOException
IOException
public PAMDataset parsePAM(File file) throws IOException
IOException
public String getMetadataValue(PAMDataset.PAMRasterBand rasterBand, String key)
rasterBand
- the PAMDataset.PAMRasterBand
to be checked.key
- The key of the metadata property to be retrievedCopyright © 2006–2015 GeoSolutions. All rights reserved.