public static ZipUtils getZipUtils ( ) { if ( zipUtils == null ) { try { Class clazz = Class . forName ( ZIP_UTILS ) ; zipUtils = ( ZipUtils ) clazz . newInstance ( ) ; } catch ( ClassNotFoundException | InstantiationException | IllegalAccessException e ) { LOGGER . warn ( "Cannot instanciate util: {}" , e . getMessage ( ) ) ; throw new IllegalStateException ( e ) ; } } return zipUtils ; }
Retrieve ZipUtils implementation