Checking in patch from Stefan Matthias Aust for including getName() function in File object

This commit is contained in:
hns 2003-07-28 09:56:39 +00:00
parent e55c0e05c2
commit 5045727f11

View file

@ -84,6 +84,7 @@ public class FileObject extends ScriptableObject {
FunctionObject ctor = new FunctionObject("File", ctorMember, scope); FunctionObject ctor = new FunctionObject("File", ctorMember, scope);
ctor.addAsConstructor(scope, proto); ctor.addAsConstructor(scope, proto);
String[] fileFuncs = { String[] fileFuncs = {
"getName",
"getParent", "getParent",
"isAbsolute", "isAbsolute",
"write", "write",