deegree 2.3 (2010/04/09 10:10 build-4-official)

org.deegree.model.coverage.grid.oracle
Class OracleGeoRasterGridCoverageReader

java.lang.Object
  extended by org.deegree.model.coverage.grid.AbstractGridCoverageReader
      extended by org.deegree.model.coverage.grid.oracle.OracleGeoRasterGridCoverageReader
All Implemented Interfaces:
GridCoverageReader

public class OracleGeoRasterGridCoverageReader
extends AbstractGridCoverageReader

Reader for Coverages stored in Oracle 10g GeoRaster format

Since:
2.0
Version:
$Revision: 20437 $, 1.0. $Revision: 20437 $, $Date: 2009-10-29 09:49:03 +0100 (Do, 29. Okt 2009) $
Author:
Andreas Poth, Stephan Reichhelm, Eryk Lipski, last edited by: $Author: apoth $

Field Summary
 
Fields inherited from class org.deegree.model.coverage.grid.AbstractGridCoverageReader
description, envelope, format, source
 
Constructor Summary
OracleGeoRasterGridCoverageReader(GeoRasterDescription grDesc, CoverageOffering description, Envelope envelope, Format format)
           
 
Method Summary
 void dispose()
          Allows any resources held by this object to be released.
 GridCoverage read(GeneralParameterValueIm[] parameters)
          reads a GridCoverage from a Oracle 10g GeoRaster
 
Methods inherited from class org.deegree.model.coverage.grid.AbstractGridCoverageReader
calcLonLatEnvelope, getCurrentSubname, getFormat, getMetadataNames, getMetadataValue, getSource, listSubNames, setCurrentSubname, setMetadataValue
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

OracleGeoRasterGridCoverageReader

public OracleGeoRasterGridCoverageReader(GeoRasterDescription grDesc,
                                         CoverageOffering description,
                                         Envelope envelope,
                                         Format format)
Parameters:
jdbc - description of the JDBC connection to a Orable DB
table - name of the table storing the GeoRaster
column - name of the column the target GeoRaster is stored
identification - a SQL where clause that identifies the target georaster
description -
envelope -
format -
Method Detail

dispose

public void dispose()
             throws IOException
Description copied from interface: GridCoverageReader
Allows any resources held by this object to be released. The result of calling any other method subsequent to a call to this method is undefined. It is important for applications to call this method when they know they will no longer be using this GridCoverageReader. Otherwise, the reader may continue to hold on to resources indefinitely.

Throws:
IOException - if an error occured while disposing resources (for example while closing a file).

read

public GridCoverage read(GeneralParameterValueIm[] parameters)
                  throws InvalidParameterNameException,
                         InvalidParameterValueException,
                         ParameterNotFoundException,
                         IOException
reads a GridCoverage from a Oracle 10g GeoRaster

Parameters:
parameters - -
Returns:
A new grid coverage from the input source.
Throws:
InvalidParameterNameException - if a parameter in parameters doesn't have a recognized name.
InvalidParameterValueException - if a parameter in parameters doesn't have a valid value.
ParameterNotFoundException - if a parameter was required for the operation but was not provided in the parameters list.
CannotCreateGridCoverageException - if the coverage can't be created for a logical reason (for example an unsupported format, or an inconsistency found in the data).
IOException - if a read operation failed for some other input/output reason, including FileNotFoundException if no file with the given name can be found, or IIOException if an error was thrown by the underlying image library.

deegree 2.3 (2010/04/09 10:10 build-4-official)

an open source project founded by lat/lon, Bonn, Germany.
For more information visit: http://www.deegree.org