|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IESRIShape
Provides access to members that Import/Export ArcObjects geometries to ESRI shapefile format.
Shape modifiers are used in certain methods of this interface. For instance they are used to define which geometry attributes to allow when exporting or importing a geometry.
Method Summary | |
---|---|
void |
attachToESRIShape(int[] byteCountInOut,
byte[] byteBuffer)
Takes ownership of the input ESRI shapefile format buffer. |
void |
exportToESRIShape(int[] byteCountInOut,
byte[] byteBuffer)
Writes an ESRI shapefile formatted version of this geometry to the specified buffer. |
void |
exportToESRIShapeEx(int modifiersToAllow,
boolean useArcViewNaNs,
int[] byteCountInOut,
byte[] byteBuffer)
Writes an ESRI shapefile formatted version of this geometry to the specified buffer. |
int |
getESRIShapeSize()
The size of the buffer, in bytes, that will be required to hold the ESRI shapefile formatted version of the geometry. |
int |
getESRIShapeSizeEx(int modifiersToAllow)
The size of the buffer (in bytes) that will be required to hold the ESRI shapefile version of the geometry. |
void |
getModifierOffset(int modifierType,
int[] offset)
Finds out the byte offsets within a shape buffer at which an exported attribute can be found. |
void |
importFromESRIShape(int[] byteCountInOut,
byte[] byteBuffer)
Defines this geometry from the input ESRI shapefile formatted buffer. |
void |
nonTrustedImportFromESRIShape(int[] byteCountInOut,
byte[] byteBuffer)
Defines this geometry from the contents of the input ESRI shapefile formatted buffer. |
void |
queryESRIShapeType(int basicShapeType,
int[] shapeModifiers)
Returns the basic type and modifiers (combination of esriShapeModifiers) that define the geometry's shape type, as it was last exported. |
Method Detail |
---|
void queryESRIShapeType(int basicShapeType, int[] shapeModifiers) throws IOException, AutomationException
basicShapeType
- A com.esri.arcgis.geometry.esriShapeType constant (in)shapeModifiers
- The shapeModifiers (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.int getESRIShapeSize() throws IOException, AutomationException
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.int getESRIShapeSizeEx(int modifiersToAllow) throws IOException, AutomationException
modifiersToAllow
- The modifiersToAllow (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void importFromESRIShape(int[] byteCountInOut, byte[] byteBuffer) throws IOException, AutomationException
byteCountInOut
- The byteCountInOut (in/out: use single element array)byteBuffer
- An unsigned byte (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void nonTrustedImportFromESRIShape(int[] byteCountInOut, byte[] byteBuffer) throws IOException, AutomationException
byteCountInOut
- The byteCountInOut (in/out: use single element array)byteBuffer
- An unsigned byte (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void attachToESRIShape(int[] byteCountInOut, byte[] byteBuffer) throws IOException, AutomationException
byteCountInOut
- The byteCountInOut (in/out: use single element array)byteBuffer
- An unsigned byte (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void exportToESRIShape(int[] byteCountInOut, byte[] byteBuffer) throws IOException, AutomationException
byteCountInOut
- The byteCountInOut (in/out: use single element array)byteBuffer
- An unsigned byte (out: use single element array)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void exportToESRIShapeEx(int modifiersToAllow, boolean useArcViewNaNs, int[] byteCountInOut, byte[] byteBuffer) throws IOException, AutomationException
modifiersToAllow
- The modifiersToAllow (in)useArcViewNaNs
- The useArcViewNaNs (in)byteCountInOut
- The byteCountInOut (in/out: use single element array)byteBuffer
- An unsigned byte (out: use single element array)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void getModifierOffset(int modifierType, int[] offset) throws IOException, AutomationException
modifierType
- A com.esri.arcgis.geometry.esriShapeModifiers constant (in)offset
- The offset (out: use single element array)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |