org.geotools.data.wms.gce
Class WMSReader

java.lang.Object
  extended byorg.geotools.data.wms.gce.WMSReader
All Implemented Interfaces:
org.opengis.coverage.grid.GridCoverageReader

public class WMSReader
extends java.lang.Object
implements org.opengis.coverage.grid.GridCoverageReader


Constructor Summary
WMSReader(java.lang.Object source)
          Source must be a WebMapServer object
 
Method Summary
 void dispose()
           
 java.lang.String getCurrentSubname()
           
 org.opengis.coverage.grid.Format getFormat()
           
 java.lang.String[] getMetadataNames()
           
 java.lang.String getMetadataValue(java.lang.String arg0)
           
 java.lang.Object getSource()
           
 boolean hasMoreGridCoverages()
           
 java.lang.String[] listSubNames()
           
 org.opengis.coverage.grid.GridCoverage read(org.opengis.parameter.GeneralParameterValue[] parameters)
           
 void setFormat(WMSFormat format)
           
 void skip()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

WMSReader

public WMSReader(java.lang.Object source)
          throws java.io.IOException
Source must be a WebMapServer object

Parameters:
source -
Throws:
java.io.IOException
java.lang.RuntimeException - DOCUMENT ME!
Method Detail

getSource

public java.lang.Object getSource()
Specified by:
getSource in interface org.opengis.coverage.grid.GridCoverageReader

getMetadataNames

public java.lang.String[] getMetadataNames()
                                    throws java.io.IOException
Specified by:
getMetadataNames in interface org.opengis.coverage.grid.GridCoverageReader
Throws:
java.io.IOException

getMetadataValue

public java.lang.String getMetadataValue(java.lang.String arg0)
                                  throws java.io.IOException,
                                         org.opengis.coverage.MetadataNameNotFoundException
Specified by:
getMetadataValue in interface org.opengis.coverage.grid.GridCoverageReader
Throws:
java.io.IOException
org.opengis.coverage.MetadataNameNotFoundException

listSubNames

public java.lang.String[] listSubNames()
                                throws java.io.IOException
Specified by:
listSubNames in interface org.opengis.coverage.grid.GridCoverageReader
Throws:
java.io.IOException

getCurrentSubname

public java.lang.String getCurrentSubname()
                                   throws java.io.IOException
Specified by:
getCurrentSubname in interface org.opengis.coverage.grid.GridCoverageReader
Throws:
java.io.IOException

hasMoreGridCoverages

public boolean hasMoreGridCoverages()
                             throws java.io.IOException
Specified by:
hasMoreGridCoverages in interface org.opengis.coverage.grid.GridCoverageReader
Throws:
java.io.IOException

skip

public void skip()
          throws java.io.IOException
Specified by:
skip in interface org.opengis.coverage.grid.GridCoverageReader
Throws:
java.io.IOException

dispose

public void dispose()
             throws java.io.IOException
Specified by:
dispose in interface org.opengis.coverage.grid.GridCoverageReader
Throws:
java.io.IOException

setFormat

public void setFormat(WMSFormat format)

getFormat

public org.opengis.coverage.grid.Format getFormat()
Specified by:
getFormat in interface org.opengis.coverage.grid.GridCoverageReader

read

public org.opengis.coverage.grid.GridCoverage read(org.opengis.parameter.GeneralParameterValue[] parameters)
                                            throws java.lang.IllegalArgumentException,
                                                   java.io.IOException
Specified by:
read in interface org.opengis.coverage.grid.GridCoverageReader
Throws:
java.lang.IllegalArgumentException
java.io.IOException


Copyright © GeoTools. All Rights Reserved.