In general:
FileInputStream
for the file.InputStreamReader
wrapping the input stream, specifying the correct encodingBufferedReader
around the InputStreamReader
, which makes it simpler to read a line at a time.readLine
returns null)If you need more help than that, please be more specific in your question.