package com.alexrnl.commons.io;

import java.io.BufferedReader;
import java.io.EOFException;
import java.io.IOException;
import java.util.Objects;
import java.util.logging.Level;
import java.util.logging.Logger;

/**
 * Utility methods for IO stuff.<br />
 * @author Alex
 */
public final class IOUtils {
	/** Logger */
	private static Logger	lg	= Logger.getLogger(IOUtils.class.getName());
	
	/**
	 * Read the next line on the buffered reader provided.<br />
	 * @param reader
	 *        the stream to read.
	 * @return the next line in the stream.
	 * @throws IOException
	 *         if there was an issue when reading the stream.
	 * @throws EOFException
	 *         if the line returned is <code>null</code>.
	 */
	public static String readLine (final BufferedReader reader) throws IOException, EOFException {
		Objects.requireNonNull(reader);
		final String line = reader.readLine();
		if (lg.isLoggable(Level.FINE)) {
			lg.fine("Read line: " + line);
		}
		if (line == null) {
			throw new EOFException("End of stream reached");
		}
		return line;
	}
}

@@ -391,16 +391,123 @@
 %0A%09%0A%09/**%0A
+%09 * Constructor #1.%3Cbr /%3E%0A%09 * Default private constructor.%0A%09 */%0A%09private IOUtils () %7B%0A%09%09super();%0A%09%7D%0A%09%0A%09/**%0A
 %09 * Read

Add default private constructor to IOUtils