<!DOCTYPE html><html><head><title></title><style type="text/css">p.MsoNormal,p.MsoNoSpacing{margin:0}</style></head><body><div style="font-family:Arial;">Hi,<br></div><div style="font-family:Arial;"><br></div><div style="font-family:Arial;"><span class="font" style="font-family:menlo, consolas, monospace, sans-serif;">VSIUnlink</span> is <a href="https://gdal.org/java/org/gdal/gdal/gdal.html#Unlink(java.lang.String)">https://gdal.org/java/org/gdal/gdal/gdal.html#Unlink(java.lang.String)</a>, but I can't find VSIGetMemFileBuffer or <span class="sig-name descname"><span class="n"><span class="pre"><span class="font" style="font-family:menlo, consolas, monospace, sans-serif;">VSIFOpenEx2L</span> and </span></span></span><span class="sig-name descname"><span class="n"><span class="pre"><span class="font" style="font-family:menlo, consolas, monospace, sans-serif;">VSIFReadL</span>, which you could use instead. </span></span></span><span class="element-name"><span class="font" style="font-family:menlo, consolas, monospace, sans-serif;">FileFromMemBuffer</span> is there, but it goes in the wrong direction.</span><br></div><div style="font-family:Arial;"><br></div><div style="font-family:Arial;"><span class="element-name">So sorry, I have no idea. I've never used the Java bindings.</span><br></div><div style="font-family:Arial;"><br></div><div style="font-family:Arial;"><span class="element-name">Laurentiu</span><span class="sig-name descname"><span class="n"><span class="pre"></span></span></span><br></div><div style="font-family:Arial;"><br></div><div>On Thu, Apr 13, 2023, at 18:11, George Ma wrote:<br></div><blockquote type="cite" id="qt" style=""><div dir="ltr"><div>Hi Nicola,<br></div><div><br></div><div>Thank you very much for your reply.<br></div><div><br></div><div>I understand your point but I dont know how to expose the two API in Java bindings.<br></div><div><br></div><div>I previously compiled the related GDAL Java bindings myself,generating file for example "gdal.jar","libgdalalljni.so",etc.<br></div><div><br></div><div>I dont use the gdal-java Docker image.<br></div><div><br></div><div><img src="cid:ii_lgf97o4c0" alt="微信截图_20230413230636.png" width="536" height="92"><br></div><div><br></div><div>I have checked some file content in swig/java directory.But I am not familiar with swig configuration.So can you tell me how I can expose the two API in Java bindings.<br></div><div><br></div><div>Best regards.<br></div><div><br></div><div>Thank you very much.<br></div></div></blockquote><div style="font-family:Arial;"><br></div></body></html>