bw-javaxpath-maven-plugin/src/main/java/fr/fastconnect/factory/tibco/bw/javaxpath/XPathResourceBuilderMojo.java
protected String extractFileContent(final String filename)
			throws IOException {
		final StringBuilder sb = new StringBuilder();
		String temp = "";
		final BufferedReader bufferedReader = new BufferedReader(
				new FileReader(filename));
		try {
			while (temp != null) {
				temp = bufferedReader.readLine();
				if (temp != null) {
					sb.append(temp);
				}
			}
			return sb.toString();
		} finally {
			bufferedReader.close();
		}
	}
protected String extractFileContent(final String filename)
			throws IOException {
		final StringBuilder sb = new StringBuilder();
		String temp = "";
		final BufferedReader bufferedReader = new BufferedReader(
				new FileReader(filename));
		try {
			while (temp != null) {
				temp = bufferedReader.readLine();
				if (temp != null) {
					sb.append(temp);
				}
			}
			return sb.toString();
		} finally {
			bufferedReader.close();
		}
	}
protected String extractFileContent ( final String filename ) throws IOException { final StringBuilder sb = new StringBuilder ( ) ; String temp = "" ; final BufferedReader bufferedReader = new BufferedReader ( new FileReader ( filename ) ) ; try { while ( temp != null ) { temp = bufferedReader . readLine ( ) ; if ( temp != null ) { sb . append ( temp ) ; } } return sb . toString ( ) ; } finally { bufferedReader . close ( ) ; } }
Reads the complete content of the javaxpath file.

@param filename
@return
@throws IOException
Reads the complete content of the javaxpath file .