|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object de.fhg.igd.earth.model.input.shapefile.ShapeUtils de.fhg.igd.earth.model.input.shapefile.ESRIRecord
Title : Earth Copyright : Copyright (c) 2001 Organisation : IGD FhG
Field Summary | |
int |
contentLength
The length of the data portion of this record. |
int |
recordNumber
The ordinal of this record. |
Fields inherited from class de.fhg.igd.earth.model.input.shapefile.ShapeUtils |
SHAPE_FILE_HEADER_LENGTH, SHAPE_FILE_HEADER_LENGTH_DB, SHAPE_FILE_RECORD_HEADER_LENGTH, SHAPE_TYPE_ARC, SHAPE_TYPE_MULTIPOINT, SHAPE_TYPE_NULL, SHAPE_TYPE_POINT, SHAPE_TYPE_POLYGON, SHAPE_TYPE_POLYLINE |
Constructor Summary | |
ESRIRecord()
Initialize an empty record. |
|
ESRIRecord(byte[] b,
int off)
Initialize a record from a buffer. |
Method Summary | |
int |
getBinaryStoreSize()
Returns the number of bytes needed to store the record header and record data. |
abstract ESRIBoundingBox |
getBoundingBox()
Gets this record's bounding box. |
int |
getContentLength()
Accessor for the content length of this record. |
abstract int |
getRecordLength()
Yields the length of this record's data portion. |
int |
getRecordNumber()
Accessor for record number field. |
abstract int |
getShapeType()
Gets this record's shape type as an int. |
int |
write(byte[] b,
int off)
Writes this record to the given buffer at the given offset. |
Methods inherited from class de.fhg.igd.earth.model.input.shapefile.ShapeUtils |
readBEInt, readBox, readLEDouble, readLEInt, readLEInt, readLELong, readPoint, writeBEInt, writeBox, writeLEDouble, writeLEInt, writeLELong, writePoint |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public int recordNumber
public int contentLength
Constructor Detail |
public ESRIRecord()
public ESRIRecord(byte[] b, int off)
b
- the bufferoff
- the offsetMethod Detail |
public abstract ESRIBoundingBox getBoundingBox()
public abstract int getShapeType()
public abstract int getRecordLength()
public int getBinaryStoreSize()
public int write(byte[] b, int off)
b
- the bufferoff
- the offset
public int getRecordNumber()
public int getContentLength()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |