code: public static Geometry geometryFromEsriShape(byte[] esriShapeBuffer,
  			Geometry.Type geometryType) {
  		OperatorImportFromESRIShape op = (OperatorImportFromESRIShape) factory
  				.getOperator(Operator.Type.ImportFromESRIShape);
  		return op
  				.execute(
  						ShapeImportFlags.ShapeImportNonTrusted,
  						geometryType,
  						ByteBuffer.wrap(esriShapeBuffer).order(
  								ByteOrder.LITTLE_ENDIAN));
  	}
docs: Imports geometry from the ESRI shape file format.
  
  See OperatorImportFromESRIShape.
  
  @param esriShapeBuffer
  The buffer containing geometry in the ESRI shape file format.
  @param geometryType
  The required type of the Geometry to be imported. Use
  Geometry.Type.Unknown if the geometry type needs to be
  determined from the buffer content.
  @return The geometry or null if the buffer contains null shape.
  @throws GeometryException
  when the geometryType is not Geometry.Type.Unknown and the
  buffer contains geometry that cannot be converted to the
  given geometryType. or the buffer is corrupt. Another
  exception possible is IllegalArgumentsException.