readAndConvert(File sourceFile) Invoke the converter on the specified file and return the converted contents.
Parameters: sourceFile - The file to be converted a String containing the converted result throws: IOException - when there is an io error reading the file.
protected byte[]
readFile(File file) Read the contents from the specified file name.
Converts the source file to the targetfile using the specified converter
Parameters: sourceFile - Parameters: targetFile - the target file to write the output to or null if the convertershall determine an appropriate name for the output file itself.
Invoke the converter on the specified file and return the converted contents.
Parameters: sourceFile - The file to be converted a String containing the converted result throws: IOException - when there is an io error reading the file.