public class PrjFileReader extends Object
| Constructor and Description |
|---|
PrjFileReader(ReadableByteChannel channel)
Load the index file from the given channel.
|
PrjFileReader(ReadableByteChannel channel,
Hints hints)
Load the index file from the given channel.
|
| Modifier and Type | Method and Description |
|---|---|
void |
close()
The reader will close itself right after reading the CRS from the prj file, so no actual need
to call it explicitly anymore.
|
CoordinateReferenceSystem |
getCoodinateSystem()
Deprecated.
|
CoordinateReferenceSystem |
getCoordinateReferenceSystem()
Return the Coordinate Reference System retrieved by this reader.
|
public PrjFileReader(ReadableByteChannel channel) throws IOException, FactoryException
channel - The channel to read from.IOException - If an error occurs.FactoryExceptionpublic PrjFileReader(ReadableByteChannel channel, Hints hints) throws IOException, FactoryException
channel - The channel to read from.hints - IOException - If an error occurs.FactoryExceptionpublic CoordinateReferenceSystem getCoodinateSystem()
getCoordinateReferenceSystem().public CoordinateReferenceSystem getCoordinateReferenceSystem()
public void close()
throws IOException
IOExceptionCopyright © 1996–2019 Geotools. All rights reserved.