com/smartg/java/vfs/VfsUtil.java
public static StringBuffer readFileSB(VFile f) throws IOException {
	BufferedReader reader = new BufferedReader(new InputStreamReader(f.getInputStream()));
	StringBuffer sb = new StringBuffer();
	try {
	    readFile(reader, sb);
	} finally {
	    reader.close();
	}
	return sb;
    }
/**
     * Load contents of file in StringBuffer
     * 
     * @param f
     *            VFile
     * @return StringBuffer
     * @throws IOException
     */
Load contents of file in StringBuffer


Load contents of file in StringBuffer
public static StringBuffer readFileSB(VFile f) throws IOException {
	BufferedReader reader = new BufferedReader(new InputStreamReader(f.getInputStream()));
	StringBuffer sb = new StringBuffer();
	try {
	    readFile(reader, sb);
	} finally {
	    reader.close();
	}
	return sb;
    }
public static StringBuffer readFileSB ( VFile f ) throws IOException { BufferedReader reader = new BufferedReader ( new InputStreamReader ( f . getInputStream ( ) ) ) ; StringBuffer sb = new StringBuffer ( ) ; try { readFile ( reader , sb ) ; } finally { reader . close ( ) ; } return sb ; }
Load contents of file in StringBuffer
Load contents of file in StringBuffer