it.geosolutions.imageio.pam
Class PAMParser
java.lang.Object
it.geosolutions.imageio.pam.PAMParser
public class PAMParser
- extends Object
Parsing class which allows to parse GDAL PAM Auxiliary files into PAMDataset objects.
- Author:
- Daniele Romagnoli, GeoSolutions SAS
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PAMParser
public PAMParser()
getInstance
public static PAMParser getInstance()
parsePAM
public PAMDataset parsePAM(String filePath)
throws IOException
- Throws:
IOException
parsePAM
public PAMDataset parsePAM(File file)
throws IOException
- Throws:
IOException
getMetadataValue
public String getMetadataValue(PAMDataset.PAMRasterBand rasterBand,
String key)
- Return the value of a metadata string for the provided rasterBand.
- Parameters:
rasterBand
- the PAMDataset.PAMRasterBand
to be checked.key
- The key of the metadata property to be retrieved
- Returns:
Copyright © 2006–2014 GeoSolutions. All rights reserved.