Code example for Logger

Methods: finer, isLoggable

        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> 
     * @param root The root element to look for children in.