package ch.wlkl.shell;

public interface Read<T> extends OpenClose {
	/**
	 * return the next line or null iff at end.
	 * Fail it not open for reading. How to fail is unspecified, a null pointer exception or a {@link Top#fail(String)} are common possibilities. 
	 * @return the next line 
	 */
	public T read();
}

