public class FileSystemIndexStore extends Object implements FileReader, IndexStore
Constructor and Description |
---|
FileSystemIndexStore(File file)
Constructor.
|
FileSystemIndexStore(File file,
byte byteOrder)
Constructor
|
FileSystemIndexStore(File file,
ShpFiles shpFiles)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
int |
getByteOrder() |
String |
id()
An id for the reader.
|
QuadTree |
load(IndexFile indexfile,
boolean useMemoryMapping)
Loads a quadrtee stored in a '.qix' file.
|
void |
setByteOrder(byte byteOrder) |
void |
store(QuadTree tree)
Stores a
QuadTree |
public FileSystemIndexStore(File file)
public FileSystemIndexStore(File file, ShpFiles shpFiles)
public FileSystemIndexStore(File file, byte byteOrder)
public void store(QuadTree tree) throws StoreException
IndexStore
QuadTree
store
in interface IndexStore
tree
- the QuadTree
to storeStoreException
org.geotools.index.quadtree.IndexStore#dataStore(org.geotools.index.quadtree.QuadTree)
public QuadTree load(IndexFile indexfile, boolean useMemoryMapping) throws StoreException
UnsupportedOperationException
will be
thrown.load
in interface IndexStore
QuadTree
StoreException
org.geotools.index.quadtree.IndexStore#load()
public int getByteOrder()
public void setByteOrder(byte byteOrder)
byteOrder
- The byteOrder to set.public String id()
FileReader
id
in interface FileReader
Copyright © 1996–2023 Geotools. All rights reserved.