Global.helma.File.list (pattern)
Sourcecode in /home/hannes/helma/modules/helma/File.js:
182:   this.list = function(pattern) {
183:         if (self.isOpened())
184:            return null;
185:         if (!file.isDirectory())
186:            return null;
187:         if (pattern) {
188:            var fileList = file.list();
189:            var result = [];
190:            for (var i in fileList) {
191:              if (pattern.test(fileList[i]))
192:                 result.push(fileList[i]);
193:           }
194:           return result;
195:        }
196:        return file.list();   
197:     }