context:    this.readAll = function() {      // Open the file for readAll      if (self.isOpened()) {         setError(new IllegalStateException("File already open"));         return null;      }      try {          if (file.exists()) {            readerWriter = new BufferedReader(new FileReader(file));         } else {            setError(new IllegalStateException("File does not exist"));            return null;         }         if (!file.isFile()) {            setError(new IllegalStateException("File is not a regular file"));            return null;         }               // read content line by line to setup properl eol         var buffer = new java.lang.StringBuffer(file.length() * 1.10);         while (true) {            var line = readerWriter.readLine();            if (line == null)               break;            buffer.append(line);            buffer.append("\n");  // EcmaScript EOL         }              // Close the file         readerWriter.close();         readerWriter = null;         return buffer.toString();      } catch (e) {         readerWriter = null;         setError(e);         return null;      }   };
meta: 993	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/993/b40b4cbaa8ebdb7f6a5a6ea6580ae51fede6eacf/Helma.js/clean/code/Global/Helma.js