Support 'folder' / 'name' kind of expressions
This commit is contained in:
parent
5ff7c98e04
commit
8c00c21008
|
@ -48,6 +48,10 @@ public class ScriptShellMethods {
|
|||
return new File(self, name);
|
||||
}
|
||||
|
||||
public static File div(String self, String name) {
|
||||
return new File(self, name);
|
||||
}
|
||||
|
||||
public static String getAt(File self, int index) {
|
||||
return FileUtilities.listPath(self).get(index).getName();
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue