JVM Languages
enerjy.txt
Associated article: Examining Enerjy's Java Toolkit
Tags: JVM Languages
Published source code accompanying the article by Ryan Barr in which he examines Enerjy Software's Java toolsuite, which includes a code analyzer, performance management/profiling tool, memory profiler, and thread analyzer.
Examining Enerjy's Java Toolkit
by Ryan Barr
Listing One
protected List readRecordsFromFile(String fileName) throws IOException {
FileInputStream fis = new FileInputStream(fileName);
List records = new ArrayList();
...
int ch = 0;
int colNum = 0;
while (-1 != (ch = fis.read())) {
if (ch == 't') {
...
}
}
return records;
}
Listing ...


