java.io.InputStreamReader isr = null;
try {
if (source instanceof File) {
try {
fis = new FileInputStream(((File) source).getCanonicalPath());
prc.regResource(fis);
isr = new java.io.InputStreamReader(fis, "utf-8");
prc.regResource(isr);
} catch (FileNotFoundException e) {
throw new TaskException(State.DONE_ERR, e);
} catch (UnsupportedEncodingException e) {