public static Enumeration readConfigFile(String filename, ConfigFinder finder) { Vector readLines = new Vector(); try { InputStreamReader isr = new InputStreamReader(finder.open(filename)); LineNumberReader lnr = new LineNumberReader(isr); String line; while((line = lnr.readLine()) != null) { readLines.add(line);  } isr.close(); } catch (IOException ioe) {   GLMDebug.DEBUG("readConfigFile()", " IOEXception for "+filename+": " + ioe); return  null; } return readLines.elements(); }
public static Enumeration readConfigFile(String filename) { return readConfigFile(filename, ConfigFinder.getInstance()); }
    public static Enumeration readConfigFile(String filename, ConfigFinder finder) {	Vector readLines = new Vector();	try {	    InputStreamReader isr = new InputStreamReader(finder.open(filename));    	    LineNumberReader lnr = new LineNumberReader(isr);	    String line;	    while((line = lnr.readLine()) != null) {		readLines.add(line);// 		GLMDebug.DEBUG("readConfigFile()", line);			    }	    isr.close();	} catch (IOException ioe) {	    // The file may not exist in normal operation (Inventory files).	    // Print a debug message and return null so calling module can handle it	    GLMDebug.DEBUG("readConfigFile()", " IOEXception for "+filename+": " + ioe);	    return  null;	}		return readLines.elements();    }