protected static String getRDHLib() throws ApplicationException
{
AbstractPlugin p = Application.getPluginLoader().getPlugin(HBCI.class);
PluginResources res = p.getResources();
Settings settings = res.getSettings();
Manifest mf = p.getManifest();
String file = null;
switch (Application.getPlatform().getOS())
{
case Platform.OS_LINUX:
file = settings.getString("sizrdh.nativelib","libhbci4java-sizrdh-linux-gcc3.so");
break;
case Platform.OS_WINDOWS:
file = settings.getString("sizrdh.nativelib","hbci4java-sizrdh-win32.dll");;
break;
}
if (file == null)
throw new ApplicationException(res.getI18N().tr("SizRDH-Schl�sseldisketten werden f�r Ihr Betriebssystem nicht von Hibiscus unterst�tzt"));
file = mf.getPluginDir() + File.separator + "lib" + File.separator + file;
Logger.info("using sizrdh native lib " + file);
return file;
}