⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 driver.java

📁 支持各种栅格图像和矢量图像读取的库
💻 JAVA
字号:
/* ---------------------------------------------------------------------------- * This file was automatically generated by SWIG (http://www.swig.org). * Version 1.3.31 * * Do not make changes to this file unless you know what you are doing--modify * the SWIG interface file instead. * ----------------------------------------------------------------------------- */package org.gdal.ogr;public class Driver {  private long swigCPtr;  protected boolean swigCMemOwn;  protected Driver(long cPtr, boolean cMemoryOwn) {    swigCMemOwn = cMemoryOwn;    swigCPtr = cPtr;  }  protected static long getCPtr(Driver obj) {    return (obj == null) ? 0 : obj.swigCPtr;  }  public synchronized void delete() {    if(swigCPtr != 0 && swigCMemOwn) {      swigCMemOwn = false;      throw new UnsupportedOperationException("C++ destructor does not have public access");    }    swigCPtr = 0;  }  protected static long getCPtrAndDisown(Driver obj) {    if (obj != null) obj.swigCMemOwn= false;    return getCPtr(obj);  }  public String getName() {    return ogrJNI.Driver_name_get(swigCPtr, this);  }  public DataSource CreateDataSource(String name, java.util.Vector options) {    long cPtr = ogrJNI.Driver_CreateDataSource(swigCPtr, this, name, options);    return (cPtr == 0) ? null : new DataSource(cPtr, true);  }  public DataSource CopyDataSource(DataSource copy_ds, String name, java.util.Vector options) {    long cPtr = ogrJNI.Driver_CopyDataSource(swigCPtr, this, DataSource.getCPtr(copy_ds), copy_ds, name, options);    return (cPtr == 0) ? null : new DataSource(cPtr, true);  }  public DataSource Open(String name, int update) {    long cPtr = ogrJNI.Driver_Open(swigCPtr, this, name, update);    return (cPtr == 0) ? null : new DataSource(cPtr, true);  }  public int DeleteDataSource(String name) {    return ogrJNI.Driver_DeleteDataSource(swigCPtr, this, name);  }  public boolean TestCapability(String cap) {    return ogrJNI.Driver_TestCapability(swigCPtr, this, cap);  }  public String GetName() {    return ogrJNI.Driver_GetName(swigCPtr, this);  }}

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -