com/smartg/java/vfs/VfsUtil.java
public static void readFile(BufferedReader reader, StringBuffer sb) throws IOException {
	String line = null;
	do {
	    line = reader.readLine();
	    if (line != null) {
		sb.append(line);
		sb.append("\n");
	    }
	} while (line != null);
    }
/**
     * Load contents of file in supplied StringBuffer
     * 
     * @param reader
     * @param sb
     *            StringBuffer
     * @throws IOException
     */
Load contents of file in supplied StringBuffer

@param reader
@param sb
StringBuffer
@throws IOException
Load contents of file in supplied StringBuffer @param reader @param sb StringBuffer @throws IOException
public static void readFile(BufferedReader reader, StringBuffer sb) throws IOException {
	String line = null;
	do {
	    line = reader.readLine();
	    if (line != null) {
		sb.append(line);
		sb.append("\n");
	    }
	} while (line != null);
    }
public static void readFile ( BufferedReader reader , StringBuffer sb ) throws IOException { String line = null ; do { line = reader . readLine ( ) ; if ( line != null ) { sb . append ( line ) ; sb . append ( "\n" ) ; } } while ( line != null ) ; }
Load contents of file in supplied StringBuffer
Load contents of file in supplied StringBuffer