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