it.geosolutions.imageio.pam
Class PAMParser

java.lang.Object
  extended by 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

Constructor Summary
PAMParser()
           
 
Method Summary
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)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PAMParser

public PAMParser()
Method Detail

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.