/* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (http://www.swig.org).
* Version 2.0.4
*
* Do not make changes to this file unless you know what you are doing--modify
* the SWIG interface file instead.
* ----------------------------------------------------------------------------- */
package org.gdal.gdal;
public class gdalJNI {
private static boolean available = false;
static {
try {
System.loadLibrary("gdaljni");
available = true;
if (gdal.HasThreadSupport() == 0)
{
System.err.println("WARNING : GDAL should be compiled with thread support for safe execution in Java.");
}
} catch (UnsatisfiedLinkError e) {
available = false;
System.err.println("Native library load failed.");
System.err.println(e);
}
}
public static boolean isAvailable() {
return available;
}
public final static native void delete_ProgressCallback(long jarg1);
public final static native int ProgressCallback_run(long jarg1, ProgressCallback jarg1_, double jarg2, String jarg3);
public final static native long new_ProgressCallback();
public final static native long new_TermProgressCallback();
public final static native int TermProgressCallback_run(long jarg1, TermProgressCallback jarg1_, double jarg2, String jarg3);
public final static native void delete_TermProgressCallback(long jarg1);
public final static native void Debug(String jarg1, String jarg2);
public final static native int SetErrorHandler__SWIG_0(String jarg1);
public final static native int SetErrorHandler__SWIG_1();
public final static native int PushErrorHandler__SWIG_0(String jarg1);
public final static native int PushErrorHandler__SWIG_1();
public final static native void Error(int jarg1, int jarg2, String jarg3);
public final static native String GOA2GetAuthorizationURL(String jarg1);
public final static native String GOA2GetRefreshToken(String jarg1, String jarg2);
public final static native String GOA2GetAccessToken(String jarg1, String jarg2);
public final static native void PopErrorHandler();
public final static native void ErrorReset();
public final static native String EscapeString__SWIG_0(byte[] jarg1, int jarg3);
public final static native String EscapeString__SWIG_1(String jarg1, int jarg2);
public final static native int GetLastErrorNo();
public final static native int GetLastErrorType();
public final static native String GetLastErrorMsg();
public final static native void PushFinderLocation(String jarg1);
public final static native void PopFinderLocation();
public final static native void FinderClean();
public final static native String FindFile(String jarg1, String jarg2);
public final static native java.util.Vector ReadDir(String jarg1);
public final static native java.util.Vector ReadDirRecursive(String jarg1);
public final static native void SetConfigOption(String jarg1, String jarg2);
public final static native String GetConfigOption__SWIG_0(String jarg1, String jarg2);
public final static native String GetConfigOption__SWIG_1(String jarg1);
public final static native String CPLBinaryToHex(byte[] jarg1);
public final static native byte[] CPLHexToBinary(String jarg1);
public final static native void FileFromMemBuffer(String jarg1, byte[] jarg2);
public final static native int Unlink(String jarg1);
public final static native int HasThreadSupport();
public final static native int Mkdir(String jarg1, int jarg2);
public final static native int Rmdir(String jarg1);
public final static native int Rename(String jarg1, String jarg2);
public final static native int CXT_Element_get();
public final static native int CXT_Text_get();
public final static native int CXT_Attribute_get();
public final static native int CXT_Comment_get();
public final static native int CXT_Literal_get();
public final static native int XMLNode_Type_get(long jarg1, XMLNode jarg1_);
public final static native String XMLNode_Value_get(long jarg1, XMLNode jarg1_);
public final static native long XMLNode_Next_get(long jarg1, XMLNode jarg1_);
public final static native long XMLNode_Child_get(long jarg1, XMLNode jarg1_);
public final static native long new_XMLNode__SWIG_0(String jarg1);
public final static native long new_XMLNode__SWIG_1(int jarg1, String jarg2);
public final static native void delete_XMLNode(long jarg1);
public final static native long XMLNode_ParseXMLFile(String jarg1);
public final static native String XMLNode_SerializeXMLTree(long jarg1, XMLNode jarg1_);
public final static native String XMLNode_toString(long jarg1, XMLNode jarg1_);
public final static native long XMLNode_SearchXMLNode(long jarg1, XMLNode jarg1_, String jarg2);
public final static native long XMLNode_GetXMLNode(long jarg1, XMLNode jarg1_, String jarg2);
public final static native String XMLNode_GetXMLValue(long jarg1, XMLNode jarg1_, String jarg2, String jarg3);
public final static native void XMLNode_AddXMLChild(long jarg1, XMLNode jarg1_, long jarg2, XMLNode jarg2_);
public final static native void XMLNode_AddXMLSibling(long jarg1, XMLNode jarg1_, long jarg2, XMLNode jarg2_);
public final static native long XMLNode_Clone(long jarg1, XMLNode jarg1_);
public final static native int XMLNode_SetXMLValue(long jarg1, XMLNode jarg1_, String jarg2, String jarg3);
public final static native void XMLNode_StripXMLNamespace(long jarg1, XMLNode jarg1_, String jarg2, int jarg3);
public final static native String MajorObject_GetDescription(long jarg1, MajorObject jarg1_);
public final static native void MajorObject_SetDescription(long jarg1, MajorObject jarg1_, String jarg2);
public final static native java.util.Hashtable MajorObject_GetMetadata_Dict__SWIG_0(long jarg1, MajorObject jarg1_, String jarg2);
public final static native java.util.Hashtable MajorObject_GetMetadata_Dict__SWIG_1(long jarg1, MajorObject jarg1_);
public final static native java.util.Vector MajorObject_GetMetadata_List__SWIG_0(long jarg1, MajorObject jarg1_, String jarg2);
public final static native java.util.Vector MajorObject_GetMetadata_List__SWIG_1(long jarg1, MajorObject jarg1_);
public final static native int MajorObject_SetMetadata__SWIG_0(long jarg1, MajorObject jarg1_, java.util.Vector jarg2, String jarg3);
public final static native int MajorObject_SetMetadata__SWIG_1(long jarg1, MajorObject jarg1_, java.util.Vector jarg2);
public final static native int MajorObject_SetMetadata__SWIG_2(long jarg1, MajorObject jarg1_, String jarg2, String jarg3);
public final static native int MajorObject_SetMetadata__SWIG_3(long jarg1, MajorObject jarg1_, String jarg2);
public final static native String MajorObject_GetMetadataItem__SWIG_0(long jarg1, MajorObject jarg1_, String jarg2, String jarg3);
public final static native String MajorObject_GetMetadataItem__SWIG_1(long jarg1, MajorObject jarg1_, String jarg2);
public final static native int MajorObject_SetMetadataItem__SWIG_0(long jarg1, MajorObject jarg1_, String jarg2, String jarg3, String jarg4);
public final static native int MajorObject_SetMetadataItem__SWIG_1(long jarg1, MajorObject jarg1_, String jarg2, String jarg3);
public final static native String Driver_ShortName_get(long jarg1, Driver jarg1_);
public final static native String Driver_LongName_get(long jarg1, Driver jarg1_);
public final static native String Driver_HelpTopic_get(long jarg1, Driver jarg1_);
public final static native long Driver_Create__SWIG_0(long jarg1, Driver jarg1_, String jarg2, int jarg3, int jarg4, int jarg5, int jarg6, java.util.Vector jarg7);
public final static native long Driver_Create__SWIG_1(long jarg1, Driver jarg1_, String jarg2, int jarg3, int jarg4, int jarg5, int jarg6);
public final static native long Driver_Create__SWIG_2(long jarg1, Driver jarg1_, String jarg2, int jarg3, int jarg4, int jarg5);
public final