1 21 22 package com.izforge.izpack.event; 23 24 import com.izforge.izpack.LocaleDatabase; 25 import com.izforge.izpack.util.os.WrappedNativeLibException; 26 27 34 public class NativeUninstallerListener extends SimpleUninstallerListener 35 { 36 37 38 protected static LocaleDatabase langpack = null; 39 40 43 public NativeUninstallerListener() 44 { 45 super(); 46 if (langpack == null) 48 { 49 try 51 { 52 NativeUninstallerListener.langpack = new LocaleDatabase( 53 NativeUninstallerListener.class.getResourceAsStream("/langpack.xml")); 54 WrappedNativeLibException.setLangpack(NativeUninstallerListener.langpack); 55 } 56 catch (Throwable exception) 57 {} 58 } 59 } 60 61 66 public static LocaleDatabase getLangpack() 67 { 68 return langpack; 69 } 70 } 71 | Popular Tags |