org.progeeks.geo
Class EsriShapeResource

java.lang.Object
  extended by org.progeeks.geo.EsriShapeResource

public class EsriShapeResource
extends java.lang.Object

Combines file references to the various parts of an ESRI shape file. This allows overriding of the default file naming conventions.

Version:
$Revision: 1.3 $
Author:
Paul Speed

Constructor Summary
EsriShapeResource()
           
 
Method Summary
 java.lang.String getDbfFile()
           
 java.lang.String getLayerName()
           
 java.lang.String getShapeFile()
           
 java.lang.String getShxFile()
           
 void setDbfFile(java.lang.String dbfFile)
          Sets the name of the .DBF file associated with this shape resource.
 void setLayerName(java.lang.String layerName)
          Sets the name of the preferred layer for these shapes.
 void setShapeFile(java.lang.String shapeFile)
          Sets the name of the .SHP shape file.
 void setShxFile(java.lang.String shxFile)
          Sets the name of the .SHX file associated with this shape resource.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

EsriShapeResource

public EsriShapeResource()
Method Detail

setShapeFile

public void setShapeFile(java.lang.String shapeFile)
Sets the name of the .SHP shape file.


getShapeFile

public java.lang.String getShapeFile()

setDbfFile

public void setDbfFile(java.lang.String dbfFile)
Sets the name of the .DBF file associated with this shape resource. Defaults to shapeFile minus the .shp extension with a .DBF extension appended.


getDbfFile

public java.lang.String getDbfFile()

setShxFile

public void setShxFile(java.lang.String shxFile)
Sets the name of the .SHX file associated with this shape resource. Defaults to shapeFile minus the .shp extension with a .SHX extension appended.


getShxFile

public java.lang.String getShxFile()

setLayerName

public void setLayerName(java.lang.String layerName)
Sets the name of the preferred layer for these shapes.


getLayerName

public java.lang.String getLayerName()


Copyright © 2002-2003 Paul Speed. All Rights Reserved.