Example #1
0
 private void getFileContent() throws KettleException {
   try {
     data.filecontent = getTextFileContent(data.file.toString(), meta.getEncoding());
   } catch (java.lang.OutOfMemoryError o) {
     logError(
         "There is no enaugh memory to load the content of the file ["
             + data.file.getName()
             + "]");
     throw new KettleException(o);
   } catch (Exception e) {
     throw new KettleException(e);
   }
 }