Package com.esri.core.geometry
Class OperatorImportFromESRIShapeLocal
- java.lang.Object
-
- com.esri.core.geometry.Operator
-
- com.esri.core.geometry.OperatorImportFromESRIShape
-
- com.esri.core.geometry.OperatorImportFromESRIShapeLocal
-
class OperatorImportFromESRIShapeLocal extends OperatorImportFromESRIShape
OperatorImportFromESRIShapeLocal implementation.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class com.esri.core.geometry.Operator
Operator.Type
-
-
Constructor Summary
Constructors Constructor Description OperatorImportFromESRIShapeLocal()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description (package private) GeometryCursor
execute(int importFlags, Geometry.Type type, ByteBufferCursor shapeBuffers)
Performs the ImportFromESRIShape operation on a stream of shape buffersGeometry
execute(int importFlags, Geometry.Type type, java.nio.ByteBuffer shapeBuffer)
Performs the ImportFromESRIShape operation.-
Methods inherited from class com.esri.core.geometry.OperatorImportFromESRIShape
getType, local
-
Methods inherited from class com.esri.core.geometry.Operator
accelerateGeometry, canAccelerateGeometry, deaccelerateGeometry
-
-
-
-
Method Detail
-
execute
GeometryCursor execute(int importFlags, Geometry.Type type, ByteBufferCursor shapeBuffers)
Description copied from class:OperatorImportFromESRIShape
Performs the ImportFromESRIShape operation on a stream of shape buffers- Specified by:
execute
in classOperatorImportFromESRIShape
- Parameters:
importFlags
- Use theShapeImportFlags
interface. The default is 0, which means geometry comes from a trusted source and is topologically simple. If the geometry comes from non-trusted source (that is it can be non-simple), pass ShapeImportNonTrusted.type
- The geometry type that you want to import. Use theGeometry.Type
enum. It can be Geometry.Type.Unknown if the type of geometry has to be figured out from the shape buffer.shapeBuffers
- The cursor over shape buffers that hold the Geometries in ESRIShape format.- Returns:
- Returns a GeometryCursor.
-
execute
public Geometry execute(int importFlags, Geometry.Type type, java.nio.ByteBuffer shapeBuffer)
Description copied from class:OperatorImportFromESRIShape
Performs the ImportFromESRIShape operation.- Specified by:
execute
in classOperatorImportFromESRIShape
- Parameters:
importFlags
- Use theShapeImportFlags
interface. The default is 0, which means geometry comes from a trusted source and is topologically simple. If the geometry comes from non-trusted source (that is it can be non-simple), pass ShapeImportNonTrusted.type
- The geometry type that you want to import. Use theGeometry.Type
enum. It can be Geometry.Type.Unknown if the type of geometry has to be figured out from the shape buffer.shapeBuffer
- The buffer holding the Geometry in ESRIShape format.- Returns:
- Returns the imported Geometry.
-
-