Android Utililty Methods LineNumberReader Read

List of utility methods to do LineNumberReader Read

Description

The list of methods to do LineNumberReader Read are organized into topic(s).

Method

ListreadLineFromFile(File file)
Read file to list of string.
List<String> result = new ArrayList<String>();
LineNumberReader lnr = null;
try {
    lnr = new LineNumberReader(new BufferedReader(
            new InputStreamReader(new FileInputStream(file),
                    Charset.defaultCharset().name())));
    for (String line = lnr.readLine(); line != null; line = lnr
            .readLine()) {
...