|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.gvsig.remoteclient.RemoteClient
org.gvsig.remoteclient.RasterClient
org.gvsig.remoteclient.wcs.WCSClient
public class WCSClient
WCSClient managing the low-level comunication to the server. It is used as a bridge between a standard WCS server and other high-level clients.
| Field Summary |
|---|
| Fields inherited from class org.gvsig.remoteclient.RemoteClient |
|---|
hostName, port, serviceName |
| Constructor Summary | |
|---|---|
WCSClient(java.lang.String host)
Constructor. |
|
| Method Summary | |
|---|---|
void |
close()
Does ... |
boolean |
connect(boolean override,
org.gvsig.compat.net.ICancellable cancel)
Checks the connection to de remote WMS and requests its capabilities. |
java.io.File |
getCoverage(WCSStatus status,
org.gvsig.compat.net.ICancellable cancel)
Sends the GetCoverage request according to the settings passed in the status argument. |
java.util.Hashtable |
getCoverageList()
Returns a hash table containing the WCSCoverage's produced at parse time using the coverage names as the Hashtable's keys |
java.net.URL |
getCoverageURL(WCSStatus status,
org.gvsig.compat.net.ICancellable cancel)
Gets the GetMap URL. |
java.lang.String |
getDescription()
Returns a brief description of the service, it is a human-readable string. |
java.lang.String |
getExceptionMessage(java.io.File file)
Returns the exception message if the file is a XML instead of a image. |
java.awt.geom.Rectangle2D |
getExtent(java.lang.String coverageName,
java.lang.String crs)
Given a coverage name and the CRS name, it returns the extent defined by the server in the DescribeCoverage document. |
java.util.ArrayList |
getFormats()
|
java.lang.String |
getLabel(java.lang.String coverageName)
Given a coverage name, it returns the coverage's title. |
java.lang.String |
getServiceTitle()
Returns the title of the service. |
java.lang.String |
getVersion()
Returns the service version (1.0.0, 1.1.0, ...). |
| Methods inherited from class org.gvsig.remoteclient.RemoteClient |
|---|
getHost, getPort, getServiceName, getSubtype, getType, setHost, setPort, setServiceName, setSubtype, setType |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public WCSClient(java.lang.String host)
throws java.net.ConnectException,
java.io.IOException
java.io.IOException
java.net.ConnectException| Method Detail |
|---|
public boolean connect(boolean override,
org.gvsig.compat.net.ICancellable cancel)
Checks the connection to de remote WMS and requests its capabilities.
connect in class RemoteClientoverride - public void close()
RemoteClientDoes ...
close in class RemoteClientpublic java.lang.String getServiceTitle()
public java.lang.String getVersion()
public java.lang.String getDescription()
public java.util.ArrayList getFormats()
public java.util.Hashtable getCoverageList()
public java.lang.String getLabel(java.lang.String coverageName)
coverageName -
public java.awt.geom.Rectangle2D getExtent(java.lang.String coverageName,
java.lang.String crs)
coverageName - crs -
public java.io.File getCoverage(WCSStatus status,
org.gvsig.compat.net.ICancellable cancel)
throws ServerErrorException,
WCSException
status -
ServerErrorException
WCSException
public java.net.URL getCoverageURL(WCSStatus status,
org.gvsig.compat.net.ICancellable cancel)
throws WMSException,
ServerErrorException
Gets the GetMap URL. The final client should download the file
ServerErrorException
WMSException
public java.lang.String getExceptionMessage(java.io.File file)
throws java.io.IOException
file -
java.io.IOException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||