Package | Description |
---|---|
org.geotools.data.shapefile.dbf | |
org.geotools.data.shapefile.fid | |
org.geotools.data.shapefile.files | |
org.geotools.data.shapefile.shp | |
org.geotools.data.shapefile.shp.xml |
Modifier and Type | Class and Description |
---|---|
class |
DbaseFileReader
A DbaseFileReader is used to read a dbase III format file.
|
class |
IndexedDbaseFileReader
A DbaseFileReader is used to read a dbase III format file.
|
Modifier and Type | Class and Description |
---|---|
class |
IndexedFidReader
This object reads from a file the fid of a feature in a shapefile.
|
class |
IndexedFidWriter
The Writer writes out the fid and record number of features to the fid index file.
|
Modifier and Type | Interface and Description |
---|---|
interface |
FileWriter
Indicates that the object writes to one of the Shapefile related files controlled by
ShpFiles |
Modifier and Type | Class and Description |
---|---|
class |
BasicShpFileWriter |
class |
StorageFile
Encapsulates the idea of a file for writing data to and then later updating the original.
|
Modifier and Type | Method and Description |
---|---|
URL |
ShpFiles.acquireRead(ShpFileType type,
FileReader requestor)
Acquire a URL for read only purposes.
|
File |
ShpFiles.acquireReadFile(ShpFileType type,
FileReader requestor)
Acquire a File for read only purposes.
|
InputStream |
ShpFiles.getInputStream(ShpFileType type,
FileReader requestor)
Opens a input stream for the indicated file.
|
ReadableByteChannel |
ShpFiles.getReadChannel(ShpFileType type,
FileReader requestor)
Obtain a ReadableByteChannel from the given URL.
|
Result<URL,ShpFiles.State> |
ShpFiles.tryAcquireRead(ShpFileType type,
FileReader requestor)
Tries to acquire a URL for read only purposes.
|
void |
ShpFiles.unlockRead(File file,
FileReader requestor)
Unlocks a read lock.
|
void |
ShpFiles.unlockRead(URL url,
FileReader requestor)
Unlocks a read lock.
|
Constructor and Description |
---|
FileChannelDecorator(FileChannel channel,
ShpFiles shapefileFiles,
URL url,
FileReader requestor) |
ReadableByteChannelDecorator(ReadableByteChannel newChannel,
ShpFiles shapefileFiles,
URL url,
FileReader requestor) |
Modifier and Type | Class and Description |
---|---|
class |
IndexFile
IndexFile parser for .shx files.
|
class |
ShapefileReader
The general use of this class is:
FileChannel in = new FileInputStream("thefile.dbf").getChannel();
ShapefileReader r = new ShapefileReader( in ) while (r.hasNext()) { Geometry
shape = (Geometry) r.nextRecord().shape() // do stuff } r.close();
You don't have to immediately ask for the shape from the record. |
Modifier and Type | Class and Description |
---|---|
class |
ShpXmlFileReader |
Copyright © 1996–2019 Geotools. All rights reserved.