code: public static List<String> readLinesInList(final InputStream input, final boolean trim)
  		throws IOException
  	{
  		// return the list with all lines from the file.
  		return readLinesInList(input, Charset.forName("UTF-8"), trim);
  	}
docs: Reads every line from the given InputStream and puts them to the List.
  
  @param input
  The InputStream from where the input comes.
  @param trim
  the flag trim if the lines shell be trimed.
  @return The List with all lines from the file.
  @throws IOException
  When a io-problem occurs.