FortranLineReader is = new FortranLineReader(
new StringReader(sampleTxt));
String aLine;
while ((aLine = is.readLine()) != null) {
if (is.hasStatementNumber())
System.out.println("\tStatement number: " +
is.getStatementNumber());
System.out.println(is.getLineNumber() + ": " + aLine);
}
is.close();