?? driver.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 + -