|
deegree 2.2 (2008/12/22 11:33 build-3038-official) | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.deegree.io.shpapi.IndexFile
public class IndexFile
Class representing an ESRI Shape File.
Uses class ShapeUtils modified from the original package com.bbn.openmap.layer.shape
Copyright (C) 1998 BBN Corporation 10 Moulton St. Cambridge, MA 02138
| Constructor Summary | |
|---|---|
IndexFile(String url)
Construct a IndexFile from a file name. |
|
IndexFile(String url,
String rwflag)
Construct a IndexFile from a file name. |
|
| Method Summary | |
|---|---|
void |
appendRecord(IndexRecord record,
SHPEnvelope mbr)
appends an index record to the indexfile |
void |
close()
|
SHPEnvelope |
getFileMBR()
method: getFileMBR() returns the minimum bounding rectangle of the shape-file |
IndexRecord[] |
getIndexArray()
method: getIndexArray() clones local field indexArray |
IndexRecord |
getIndexRecord(int RecNo)
method: getIndexRecord (int RecNo) function to get Index Record by Record number |
int |
getRecordLength(int RecNo)
method: getRecordLength (int RecNo) function to get Record Length by Record number |
int |
getRecordNum()
method: getRecordNum() function to get number of Records |
int |
getRecordOffset(int RecNo)
methode: getRecordOffset (int RecNo) function to get Record offset by Record number |
void |
writeHeader(int shptype,
SHPEnvelope mbr)
method: writeHeader(int filelength, byte shptype,SHPEnvelope mbr) Writes a header into the index file. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public IndexFile(String url)
throws IOException
IOException
public IndexFile(String url,
String rwflag)
throws IOException
IOException| Method Detail |
|---|
public void close()
public void writeHeader(int shptype,
SHPEnvelope mbr)
throws IOException
IOExceptionpublic SHPEnvelope getFileMBR()
public IndexRecord[] getIndexArray()
public int getRecordNum()
public int getRecordOffset(int RecNo)
public int getRecordLength(int RecNo)
public IndexRecord getIndexRecord(int RecNo)
public void appendRecord(IndexRecord record,
SHPEnvelope mbr)
throws IOException
IOException
|
deegree 2.2 (2008/12/22 11:33 build-3038-official) | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
an open source project founded by lat/lon, Bonn, Germany.
For more information visit: http://deegree.sourceforge.net