org.cresques.io
Class ShpFile

java.lang.Object
  extended byorg.cresques.io.GeoFile
      extended byorg.cresques.io.ShpFile
All Implemented Interfaces:
Extent.Has, Projected

public class ShpFile
extends GeoFile

Clase de soporte para ficheros .shp de ArcView

Author:
"Luis W. Sevilla" * @author administrador TODO extension .shp sin implementar

Field Summary
 
Fields inherited from class org.cresques.io.GeoFile
bytesReaded, extent, lineCnt
 
Constructor Summary
ShpFile(IProjection proj, java.lang.String name)
          Constructor de la clase Shp
 
Method Summary
 void close()
           
 IObjList getObjects()
          Obtiene la lista de features.
 GeoFile load()
          Carga un .gml
 GeoFile load(java.io.InputStream is)
           
 int openLayer()
           
 void reProject(ICoordTrans rp)
           
 
Methods inherited from class org.cresques.io.GeoFile
filterWS, getExtent, getFileSize, getName, getProjection, getTime, setFileSize, setName, setProjection
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ShpFile

public ShpFile(IProjection proj,
               java.lang.String name)
Constructor de la clase Shp

Method Detail

load

public GeoFile load()
Carga un .gml

Specified by:
load in class GeoFile

openLayer

public int openLayer()

load

public GeoFile load(java.io.InputStream is)

getObjects

public IObjList getObjects()
Obtiene la lista de features.

Specified by:
getObjects in class GeoFile

reProject

public void reProject(ICoordTrans rp)
Specified by:
reProject in interface Projected
Specified by:
reProject in class GeoFile

close

public void close()
Specified by:
close in class GeoFile