title: Convert InputStream to BufferedReader
body: <p>I'm trying to read a text file line by line using InputStream from the assets directory in Android.</p>
  
  <p>I want to convert the InputStream to a BufferedReader to be able to use the readLine().</p>
  
  <p>I have the following code:</p>
  
  <pre><code>InputStream is;
  is = myContext.getAssets().open ("file.txt");
  BufferedReader br = new BufferedReader (is);
  </code></pre>
  
  <p>The third line drops the following error:</p>
  
  <pre>Multiple markers at this line
  The constructor BufferedReader (InputStream) is undefinded.</pre>
  
  <p>What I'm trying to do in C++ would be something like:</p>
  
  <pre><code>StreamReader file;
  file = File.OpenText ("file.txt");
  
  line = file.ReadLine();
  line = file.ReadLine();
  ...
  </code></pre>
  
  <p>What am I doing wrong or how should I do that? Thanks!</p>