Global.helma.File.flush ()
Sourcecode in /home/hannes/helma/modules/helma/File.js:
199:   this.flush = function() {
200:         if (!self.isOpened()) {
201:            setError(new IllegalStateException("File not opened"));
202:            return false;
203:         }
204:         if (readerWriter instanceof Writer) {
205:            try {
206:               readerWriter.flush();
207:            } catch (e) {
208:             setError(e);
209:             return false;
210:           }
211:        } else {
212:           setError(new IllegalStateException("File not opened for write"));
213:           return false; // not supported by reader
214:        }
215:        return true;
216:     }