public static List<String> readLines(InputStream in, Charset charset)
		throws IOException {
    """
	Reads all the lines from the given source {@code InputStream} using
	the specified charset. Note that the returned {@code List} is immutable.
	
	@param in the stream to read.
	@param charset the charset to use.
	
	@return the stream's lines.
	
	@throws NullPointerException if one of the arguments is {@code null}.
	@throws IOException if the stream cannot be read.
    """
		return readLines(new InputStreamReader(in, charset));
	}
public static List<String> readLines(InputStream in, Charset charset)
		throws IOException
	{
		return readLines(new InputStreamReader(in, charset));
	}
public static List < String > readLines ( InputStream in , Charset charset ) throws IOException { return readLines ( new InputStreamReader ( in , charset ) ) ; }
Reads all the lines from the given source {@code InputStream} using
the specified charset. Note that the returned {@code List} is immutable.

@param in the stream to read.
@param charset the charset to use.

@return the stream's lines.

@throws NullPointerException if one of the arguments is {@code null}.
@throws IOException if the stream cannot be read.
Reads all the lines from the given source { @code InputStream } using the specified charset . Note that the returned { @code List } is immutable .