org.geotools.data.shapefile.prj
Class PrjFileReader

java.lang.Object
  extended by org.geotools.data.shapefile.prj.PrjFileReader
All Implemented Interfaces:
FileReader

public class PrjFileReader
extends java.lang.Object
implements FileReader


Constructor Summary
PrjFileReader(ShpFiles shpFiles)
          Load the index file from the given channel.
 
Method Summary
 void close()
           
 org.opengis.referencing.crs.CoordinateReferenceSystem getCoodinateSystem()
           
 java.lang.String id()
          An id for the reader.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PrjFileReader

public PrjFileReader(ShpFiles shpFiles)
              throws java.io.IOException
Load the index file from the given channel.

Parameters:
shpFiles - The channel to read from.
Throws:
java.io.IOException - If an error occurs.
Method Detail

getCoodinateSystem

public org.opengis.referencing.crs.CoordinateReferenceSystem getCoodinateSystem()

close

public void close()
           throws java.io.IOException
Throws:
java.io.IOException

id

public java.lang.String id()
Description copied from interface: FileReader
An id for the reader. This is only used for debugging.

Specified by:
id in interface FileReader
Returns:
id for the reader.


Copyright © 1996-2010 Geotools. All Rights Reserved.