Code example for Logger

Methods: finerisLoggable

        if (!isDir && !file.isFile()) {
            //may it be some sort of OS special file (e.g. /dev/tty1) 
            throw new FileNotFoundException("File exists but is not a regular file:" + file);
        if (LOGGER.isLoggable(Level.FINER)) {
            LOGGER.finer(new StringBuffer("File is valid: ").append(file).toString());
        return file;
     * getChildElements purpose. 
     * <p> 
     * Used to help with XML manipulations. Returns *all* child elements of 
     * the specified name. 
     * </p> 
Experience pair programming with AI  Get Codota for Java