|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.bbn.openmap.dataAccess.shape.output.ShxOutputStream
public class ShxOutputStream
Writes the .shx file
Constructor Summary | |
---|---|
ShxOutputStream(java.io.OutputStream os)
Chains an output stream to a LittleEndianOutputStream |
Method Summary | |
---|---|
boolean |
writeIndex(int[][] indexData,
int layerType)
Writes the index, with the default extents of the graphics being the entire earth. |
boolean |
writeIndex(int[][] indexData,
int layerType,
double[] extents)
Writes the index, with the default extents of the graphics being the entire earth. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ShxOutputStream(java.io.OutputStream os)
os
- An outputstream to chain a LittleEndianOutputStream toMethod Detail |
---|
public boolean writeIndex(int[][] indexData, int layerType)
indexData
- The index data to writelayerType
- Tye type of layer being written
public boolean writeIndex(int[][] indexData, int layerType, double[] extents)
indexData
- The index data to writelayerType
- Tye type of layer being writtenextents
- an array of floats describing, in order, miny, minx, maxy,
maxx for the area that the graphics in the shape file cover.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |