src/main/java/edu/ucla/library/bucketeer/converters/ConverterFactory.java
public static boolean checkSystemKakadu() {
        try {
            if (Runtime.getRuntime().exec(KDU_VERSION_EXEC).waitFor() == 0) {
                hasKakadu = true;
                return hasKakadu;
            }
        } catch (final IOException | InterruptedException details) {
            if (details instanceof InterruptedException) {
                LOGGER.error(details, details.getMessage());
            }

            // We don't expect to be able to find it so a debug instead of warning or error is okay
            LOGGER.debug(MessageCodes.BUCKETEER_016);
        }

        hasKakadu = false;
        return false;
    }
/**
     * Tries to determine whether there is a system installed Kakadu available.
     *
     * @return <code>True</code> is the system has Kakadu installed; else, <code>False</code>.
     */
Tries to determine whether there is a system installed Kakadu available.
@return True is the system has Kakadu installed; else, False.
Tries to determine whether there is a system installed Kakadu available . @return True is the system has Kakadu installed ; else False .
public static boolean checkSystemKakadu() {
        try {
            if (Runtime.getRuntime().exec(KDU_VERSION_EXEC).waitFor() == 0) {
                hasKakadu = true;
                return hasKakadu;
            }
        } catch (final IOException | InterruptedException details) {
            if (details instanceof InterruptedException) {
                LOGGER.error(details, details.getMessage());
            }
            LOGGER.debug(MessageCodes.BUCKETEER_016);
        }
        hasKakadu = false;
        return false;
    }
public static boolean checkSystemKakadu ( ) { try { if ( Runtime . getRuntime ( ) . exec ( KDU_VERSION_EXEC ) . waitFor ( ) == 0 ) { hasKakadu = true ; return hasKakadu ; } } catch ( final IOException | InterruptedException details ) { if ( details instanceof InterruptedException ) { LOGGER . error ( details , details . getMessage ( ) ) ; } LOGGER . debug ( MessageCodes . BUCKETEER_016 ) ; } hasKakadu = false ; return false ; }
Tries to determine whether there is a system installed Kakadu available.
Tries to determine whether there is a system installed Kakadu available .
// We don't expect to be able to find it so a debug instead of warning or error is okay