public virtual List readAllLines() { try { List list = new List(Sys.StrType); string line; while ((line = readLine()) != null) list.add(line); return list; } finally { try { close(); } catch (System.Exception e) { Err.dumpStack(e); } } }