Global.helma.File.eof ()
Sourcecode in /home/hannes/helma/modules/helma/File.js:
306:   this.eof = function() {
307:         if (!self.isOpened()) {
308:            setError(new IllegalStateException("File not opened"));
309:            return true;
310:         }
311:         if (!(readerWriter instanceof BufferedReader)) {
312:            setError(new IllegalStateException("File not opened for read"));
313:            return true;
314:         }
315:        if (atEOF)
316:           return true;
317:        if (lastLine != null)
318:           return false;
319:        try {
320:           lastLine = readerWriter.readLine();
321:           if (lastLine == null)
322:              atEOF = true;
323:           return atEOF;
324:        } catch (e) {
325:           setError(e);
326:           return true;
327:        }
328:     }