org.geotools.data
Class PrjFileReader

Object
  extended by PrjFileReader

public class PrjFileReader
extends Object

Since:
2.3
Author:
Simone Giannecchini
Module:
trunk/gt/module   (gt-module.jar) (Maven report) (SVN head)

Constructor Summary
PrjFileReader(ReadableByteChannel channel)
          Load the index file from the given channel.
PrjFileReader(ReadableByteChannel channel, Hints hints)
          Load the index file from the given channel.
 
Method Summary
 void close()
           
 CoordinateReferenceSystem getCoodinateSystem()
          Deprecated. use getCoordinateReferenceSystem().
 CoordinateReferenceSystem getCoordinateReferenceSystem()
          Return the Coordinate Reference System retrieved by this reader.
 
Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PrjFileReader

public PrjFileReader(ReadableByteChannel channel)
              throws IOException,
                     FactoryException
Load the index file from the given channel.

Parameters:
channel - The channel to read from.
Throws:
IOException - If an error occurs.
FactoryException

PrjFileReader

public PrjFileReader(ReadableByteChannel channel,
                     Hints hints)
              throws IOException,
                     FactoryException
Load the index file from the given channel.

Parameters:
channel - The channel to read from.
hints -
Throws:
IOException - If an error occurs.
FactoryException
Method Detail

getCoodinateSystem

public CoordinateReferenceSystem getCoodinateSystem()
Deprecated. use getCoordinateReferenceSystem().

Return the Coordinate Reference System retrieved by this reader.


getCoordinateReferenceSystem

public CoordinateReferenceSystem getCoordinateReferenceSystem()
Return the Coordinate Reference System retrieved by this reader.

Returns:
the Coordinate Reference System

close

public void close()
           throws IOException
Throws:
IOException


Copyright © 1996-2009 Geotools. All Rights Reserved.